/*
 * Copyright (c) 2025 VDS Framework
 * Part of the Virtual Desktop Site Framework
 * Help/About Window Styles
 */

#help-window .window-content {
  padding: 0;
  overflow-y: auto;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #e4e4e4;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header section */
.help-header {
  background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
  padding: 40px 30px;
  text-align: center;
  border-bottom: 2px solid #58a6ff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.help-header h1 {
  margin: 0 0 10px 0;
  font-size: 32px;
  color: #58a6ff;
  text-shadow: 0 0 20px rgba(88, 166, 255, 0.5);
  font-weight: 600;
}

.help-header .version {
  display: inline-block;
  background: #58a6ff;
  color: #000;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 15px;
}

.help-header p {
  margin: 10px 0 0 0;
  font-size: 16px;
  color: #b8b8b8;
  line-height: 1.6;
}

/* Content section */
.help-content {
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.help-section {
  margin-bottom: 35px;
}

.help-section h2 {
  margin: 0 0 15px 0;
  font-size: 22px;
  color: #58a6ff;
  border-bottom: 2px solid #58a6ff;
  padding-bottom: 8px;
  display: inline-block;
}

.help-section p {
  margin: 0 0 15px 0;
  line-height: 1.7;
  font-size: 15px;
  color: #d0d0d0;
}

.help-section ul {
  margin: 15px 0;
  padding-left: 25px;
  line-height: 1.9;
}

.help-section li {
  margin: 8px 0;
  color: #d0d0d0;
  font-size: 15px;
}

.help-section li strong {
  color: #58a6ff;
  font-weight: 600;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(88, 166, 255, 0.3);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
}

.feature-card:hover {
  background: rgba(88, 166, 255, 0.1);
  border-color: #58a6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(88, 166, 255, 0.2);
}

.feature-card h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #58a6ff;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: #b8b8b8;
  line-height: 1.6;
}

/* Credits section */
.help-credits {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 25px;
  margin-top: 20px;
  text-align: center;
  border: 1px solid rgba(88, 166, 255, 0.2);
}

.help-credits h3 {
  margin: 0 0 15px 0;
  font-size: 20px;
  color: #58a6ff;
}

.help-credits p {
  margin: 8px 0;
  font-size: 15px;
  color: #d0d0d0;
}

.help-credits .author {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 15px 0 5px 0;
}

.help-credits .degree {
  color: #58a6ff;
  font-style: italic;
}

.help-credits .links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.help-credits .links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid #58a6ff;
  border-radius: 6px;
  color: #58a6ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.help-credits .links a:hover {
  background: #58a6ff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.4);
}

/* Copyright footer */
.help-footer {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(88, 166, 255, 0.2);
  font-size: 13px;
  color: #888;
}

.help-footer a {
  color: #58a6ff;
  text-decoration: none;
}

.help-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .help-header {
    padding: 25px 20px;
  }

  .help-header h1 {
    font-size: 24px;
  }

  .help-content {
    padding: 20px;
  }

  .help-section h2 {
    font-size: 18px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .help-credits .links {
    flex-direction: column;
  }
}

/* Scrollbar styling */
#help-window .window-content::-webkit-scrollbar {
  width: 10px;
}

#help-window .window-content::-webkit-scrollbar-track {
  background: #1a1a2e;
}

#help-window .window-content::-webkit-scrollbar-thumb {
  background: #58a6ff;
  border-radius: 5px;
}

#help-window .window-content::-webkit-scrollbar-thumb:hover {
  background: #0969da;
}
