/* Strategy Page Layout */
.strategy-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 100px;
}

/* Header Styling */
.strategy-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 1rem;
  background: linear-gradient(
    145deg,
    var(--card-background),
    var(--background-color)
  );
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Example Steps Enhancement */
.example-steps,
.implementation-steps,
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 2rem 0;
  background: var(--surface-alt);
  border-radius: 16px;
}

/* Wheel Example Styling */
.wheel-example {
  background: var(--surface-alt);
  border-radius: 16px;
  margin: 2rem 0;
}

.scenario-intro {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.phase-content {
  margin-top: 1.5rem;
}

.phase-steps {
  margin: 1.5rem 0;
}

.phase-note {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 8px;
  font-size: 0.95rem;
}

.phase-note strong {
  color: white;
  display: block;
  margin-bottom: 0.5rem;
}

.profit-breakdown {
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.profit-breakdown h5 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.profit-breakdown ul {
  margin-left: 1rem;
}

.profit-breakdown li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.total-profit {
  color: white !important;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Related Content Enhancement */
.related-content {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--background-color);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.related-content h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.related-content ul {
  display: grid;
  gap: 1rem;
}

.related-content ul li {
  margin: 0;
  padding-left: 0;
}

.related-content a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.8rem 1rem;
  background: var(--background-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.related-content a:hover {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.outcomes {
  display: grid;
  gap: 2.5rem;
  background: var(--surface-alt);
  border-radius: 16px;
}

@media (min-width: 768px) {
  .outcomes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.outcome {
  background: var(--background-color);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease;
}

.outcome h5 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.outcome ul li {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
}

.outcome ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.step {
  background: var(--background-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease;
}

.step h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Real World Examples Enhancement */
.detailed-example {
  background: var(--background-color);
  padding: 3rem;
  border-radius: 16px;
  margin: 3rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.scenario {
  margin-bottom: 3rem;
}

.trade-setup {
  background: var(--background-color);
  padding: 2.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pro Tips Enhancement */
.pro-tip {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pro-tip strong {
  color: #fff;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 1rem;
}

/* List Enhancements */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul li {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
}

.nav-links li {
  padding: 0;
  margin: 0;
}

ul:not(.nav-links):not(.related-content ul):not(.strategy-cards) li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Phase Enhancements */
.phase {
  padding: 2.5rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 16px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phase h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.strategy-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* Strategy Sections */
.strategy-section {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--card-background);
  border-radius: 12px;
}

.strategy-section h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

/* Key Points Grid */
.key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.point {
  padding: 1.5rem;
  background: var(--background-color);
  border-radius: 8px;
}

/* Risk Meter */
.risk-meter {
  margin: 1rem 0;
}

.risk-bar {
  height: 8px;
  background: var(--primary-color);
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* Wheel Phases */
.wheel-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.phase {
  padding: 2rem;
  background: var(--background-color);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

/* Example Styling */
.detailed-example {
  background: var(--background-color);
  padding: 2rem;
  border-radius: 12px;
}

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

.cycle-step {
  padding: 1.5rem;
  background: var(--background-color);
  border-radius: 8px;
}

/* Advanced Tips Grid */
.advanced-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tip {
  padding: 1.5rem;
  background: var(--background-color);
  border-radius: 8px;
}

/* Mistakes Grid */
.mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.mistake {
  padding: 1.5rem;
  background: var(--background-color);
  border-radius: 8px;
}

.mistake h3 {
  color: #ff4444;
  margin-bottom: 1rem;
}

/* Getting Started */
.getting-started {
  padding: 2rem;
  background: var(--background-color);
  border-radius: 12px;
}

.getting-started ol {
  padding-left: 2rem;
}

.getting-started li {
  margin: 1rem 0;
  padding-left: 0.5rem;
}

/* Pro Tips */
.pro-tip {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(33, 150, 243, 0.1);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 8px 8px 0;
}

/* Visual Elements */
.diagram {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--background-color);
  border-radius: 8px;
}

.arrow {
  text-align: center;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .strategy-header h1 {
    font-size: 2rem;
  }

  .strategy-section {
    padding: 0.25rem;
  }

  .strategy-header {
    padding: 0.75rem;
  }

  .point,
  .detailed-example,
  .phase,
  .profit-breakdown,
  .tip,
  .getting-started {
    padding: 1rem;
  }

  .phase-note {
    padding: 0px;
  }

  .related-content ul li {
    padding-left: 0%;
  }

  .trade-setup,
  .outcome {
    padding: 0.75rem;
  }

  .outcome h5 {
    font-size: 1.2rem;
  }

  .wheel-phases,
  .cycle-steps,
  .advanced-tips,
  .mistakes-grid {
    grid-template-columns: 1fr;
  }
}

.strategy-detail {
  display: block;
  opacity: 1;
  padding: 2rem;
}

.related-strategies {
  padding: 4rem 2rem;
  background: var(--card-background);
  margin: 2rem auto;
  border-radius: 12px;
}

.related-strategies h3 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.strategy-navigation {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
  padding: 1rem;
  background: var(--card-background);
  border-radius: 8px;
}

.nav-button {
  padding: 0.5rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-button:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .strategy-page {
    padding: 0rem;
  }

  .breadcrumbs {
    padding: 1rem;
  }

  .strategy-detail {
    padding: 1rem;
  }
}
