/* Help Page Styles */
.help-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.help-container h1 {
  color: #bb86fc;
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.help-section h2 {
  color: #bb86fc;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-card {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: #1e1e2e;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.step-number {
  width: 40px;
  height: 40px;
  background: #bb86fc;
  color: #121212;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #e0e0e0;
}

.help-gif {
  max-width: 100%;
  border-radius: 6px;
  margin-top: 1rem;
  border: 1px solid #2a2a3a;
}

.feature-card {
  background: #1e1e2e;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.timeframe-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.tf-card {
  background: #252538;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
}

.tf-card h4 {
  margin-top: 0;
  color: #bb86fc;
}

.system-info {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #2a2a3a;
}

.system-info:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.system-info h4 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.system-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  font-weight: bold;
}

.system-tag.wickoff {
  background: #2196f3;
  color: white;
}

.system-tag.confluence {
  background: #ff9800;
  color: #121212;
}

.system-tag.mean-reversion {
  background: #9c27b0;
  color: white;
}

.system-tag.breakout {
  background: #4caf50;
  color: white;
}

.tip {
  padding: 0.8rem;
  border-radius: 6px;
  margin: 1rem 0;
  background: rgba(76, 175, 80, 0.1);
  border-left: 4px solid #4caf50;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.tip i {
  color: #4caf50;
  margin-top: 0.2rem;
}

.accordion {
  border-radius: 8px;
  overflow: hidden;
  background: #1e1e2e;
}

.accordion-item {
  border-bottom: 1px solid #2a2a3a;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  width: 100%;
  padding: 1.2rem 1.5rem;
  text-align: left;
  background: #252538;
  color: #e0e0e0;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-button:hover {
  background: #2d2d42;
}

.accordion-button i {
  transition: transform 0.3s;
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.accordion-button.active + .accordion-content {
  padding: 1.5rem;
  max-height: 1000px;
}

.buy-signal {
  color: #4caf50;
  font-weight: bold;
}

.sell-signal {
  color: #f44336;
  font-weight: bold;
}

.browsers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.browser-card {
  background: #252538;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.browser-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.browser-card h4 {
  margin: 0.5rem 0;
}

.recommended {
  color: #4caf50;
  font-weight: bold;
  margin-top: 0.5rem;
}

.partial {
  color: #ff9800;
  font-weight: bold;
  margin-top: 0.5rem;
}

.warning {
  color: #f44336;
  font-weight: bold;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-card {
  background: #1e1e2e;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-card i {
  font-size: 2.5rem;
  color: #bb86fc;
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin: 0.5rem 0;
}

.contact-card .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #bb86fc;
  color: #121212;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.contact-card .btn:hover {
  background: #a370d8;
}

/* Light mode styles */
body.light-mode .help-container h1,
body.light-mode .help-section h2 {
  color: #6200ee;
}

body.light-mode .step-card,
body.light-mode .feature-card,
body.light-mode .accordion,
body.light-mode .contact-card {
  background: #f5f5f5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.light-mode .step-content h3 {
  color: #333;
}

body.light-mode .help-gif {
  border-color: #e0e0e0;
}

body.light-mode .tf-card,
body.light-mode .browser-card {
  background: #e0e0e0;
}

body.light-mode .accordion-button {
  background: #e0e0e0;
  color: #333;
}

body.light-mode .accordion-button:hover {
  background: #d5d5d5;
}

body.light-mode .accordion-item {
  border-bottom-color: #e0e0e0;
}

body.light-mode .contact-card i {
  color: #6200ee;
}
