/* ==========================================================
   TRADEPULSE - TECHNICAL INDICATORS GUIDE PAGE CSS
   File: /static/css/technical_indicators_guide.css
   ========================================================== */

.tp-guide-hero {
  min-height: auto !important;
  padding-bottom: 4rem !important;
}

.tp-guide {
  padding: 5rem 0;
}

.tp-guide .tp-section-header__desc {
  max-width: 980px;
}

/* Jump Navigation */
.tp-indicator-nav {
  margin-bottom: 2.8rem;
  padding: 1.6rem 1.6rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.65);
}

.tp-indicator-nav__title {
  font-family: var(--tp-font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.2rem;
}

.tp-indicator-nav__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.tp-indicator-nav__grid a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s ease;
}

.tp-indicator-nav__grid a:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(255, 107, 0, 0.22);
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.10);
}

/* Cards */
.tp-indicator-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 2.1rem 2rem;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
  margin-bottom: 1.6rem;
}

.tp-indicator-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 107, 0, 0.65), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tp-indicator-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, 0.22);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 70px rgba(255, 107, 0, 0.10), 0 18px 55px rgba(0, 0, 0, 0.78);
}

.tp-indicator-card:hover::before {
  opacity: 1;
}

.tp-indicator-card__title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tp-indicator-card__title i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.22);
  color: var(--tp-accent);
  font-size: 1.05rem;
}

.tp-indicator-card__desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.tp-indicator-card__desc strong {
  color: #fff;
}

/* Reading Box */
.tp-reading-box {
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.16);
  border-radius: 16px;
  padding: 1.25rem 1.25rem;
}

.tp-reading-box__title {
  font-family: var(--tp-font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
}

.tp-reading-box p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
  line-height: 1.75;
}

.tp-reading-box ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.tp-reading-box ul li {
  margin-bottom: 0.55rem;
  line-height: 1.6;
}

.tp-reading-box ul li:last-child {
  margin-bottom: 0;
}

/* Disclaimer */
.tp-disclaimer-card {
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.75rem 1.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

.tp-disclaimer-card a {
  color: var(--tp-accent);
  font-weight: 700;
  text-decoration: none;
}

.tp-disclaimer-card a:hover {
  opacity: 0.9;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .tp-guide {
    padding: 4rem 0;
  }

  .tp-indicator-card {
    padding: 1.8rem 1.6rem;
  }

  .tp-indicator-nav {
    padding: 1.4rem 1.4rem;
  }

  .tp-indicator-nav__grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
