/* ============================================
   ver_tb3.css - Gradient Modern Design (Style 03)
   Prefix: mqh_tbthr_
   ============================================ */
html{ font-size: 100% !important; }
.mqh_tbthr_wrapper {
  --mqh-tbthr-primary: #667eea;
  --mqh-tbthr-secondary: #764ba2;
  --mqh-tbthr-accent: #f093fb;
  --mqh-tbthr-accent2: #4facfe;
  --mqh-tbthr-bg: #ffffff;
  --mqh-tbthr-bg-light: #f8f9ff;
  --mqh-tbthr-border: #e8eaf6;
  --mqh-tbthr-text: #4a4a6a;
  --mqh-tbthr-text-bright: #2d2d4e;
  --mqh-tbthr-shadow: rgba(102, 126, 234, 0.15);
  --mqh-tbthr-radius: 16px;
  --mqh-tbthr-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  font-family: var(--mqh-tbthr-font);
  color: var(--mqh-tbthr-text);
  background: var(--mqh-tbthr-bg);
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px;
  line-height: 1.8;
  font-size: 16px;
}

/* Gradient animation */
@keyframes mqh_tbthr_gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes mqh_tbthr_fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.mqh_tbthr_wrapper {
  opacity: 0;
  animation: mqh_tbthr_fadeUp 0.6s ease forwards;
}

/* H1 Title */
.mqh_tbthr_h1 {
  font-size: 2.4em;
  font-weight: 800;
  text-align: center;
  margin-bottom: 44px;
  padding: 36px 20px;
  background: linear-gradient(135deg, var(--mqh-tbthr-primary), var(--mqh-tbthr-accent), var(--mqh-tbthr-accent2));
  background-size: 200% 200%;
  animation: mqh_tbthr_gradientShift 6s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

/* Intro area */
.mqh_tbthr_intro {
  margin-bottom: 44px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.04), rgba(240, 147, 251, 0.04));
  border-radius: var(--mqh-tbthr-radius);
  box-shadow: 0 4px 24px var(--mqh-tbthr-shadow);
  animation: mqh_tbthr_fadeUp 0.8s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.mqh_tbthr_intro p {
  margin-bottom: 16px;
  color: var(--mqh-tbthr-text);
  font-size: 1.03em;
}

.mqh_tbthr_intro p:last-of-type { margin-bottom: 0; }

.mqh_tbthr_intro-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--mqh-tbthr-shadow);
}

/* Table of Contents */
.mqh_tbthr_toc {
  background: var(--mqh-tbthr-bg-light);
  border-radius: var(--mqh-tbthr-radius);
  padding: 32px 36px;
  margin-bottom: 52px;
  box-shadow: 0 4px 20px var(--mqh-tbthr-shadow);
  position: relative;
  overflow: hidden;
  animation: mqh_tbthr_fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.mqh_tbthr_toc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--mqh-tbthr-primary), var(--mqh-tbthr-accent), var(--mqh-tbthr-accent2));
}

.mqh_tbthr_toc-title {
  font-size: 0.9em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--mqh-tbthr-primary), var(--mqh-tbthr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
}

.mqh_tbthr_toc ol {
  list-style: none;
  counter-reset: toc-counter;
  padding: 0;
  margin: 0;
}

.mqh_tbthr_toc li {
  counter-increment: toc-counter;
  padding: 11px 0;
  border-bottom: 1px solid var(--mqh-tbthr-border);
}

.mqh_tbthr_toc li:last-child { border-bottom: none; }

.mqh_tbthr_toc li::before {
  content: counter(toc-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 0.78em;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--mqh-tbthr-primary), var(--mqh-tbthr-secondary));
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}

.mqh_tbthr_toc a {
  color: var(--mqh-tbthr-text);
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mqh_tbthr_toc a:hover {
  color: var(--mqh-tbthr-primary);
}

/* Section heading */
.mqh_tbthr_h2 {
  font-size: 1.7em;
  font-weight: 700;
  margin-top: 60px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--mqh-tbthr-primary), var(--mqh-tbthr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}

/* Content section */
.mqh_tbthr_section {
  margin-bottom: 44px;
  scroll-margin-top: 24px;
}

.mqh_tbthr_section p {
  margin-bottom: 16px;
}

.mqh_tbthr_float-img {
  float: right;
  width: 42%;
  max-width: 340px;
  height: auto;
  margin: 0 0 16px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--mqh-tbthr-shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mqh_tbthr_float-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
}

/* Chart container */
.mqh_tbthr_chart-wrap {
  background: var(--mqh-tbthr-bg-light);
  border-radius: var(--mqh-tbthr-radius);
  padding: 28px;
  margin: 32px 0;
  box-shadow: 0 4px 24px var(--mqh-tbthr-shadow);
  position: relative;
  overflow: hidden;
}

.mqh_tbthr_chart-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--mqh-tbthr-primary), var(--mqh-tbthr-accent), var(--mqh-tbthr-accent2));
}

.mqh_tbthr_chart-wrap canvas {
  max-width: 100%;
  position: relative;
  z-index: 1;
}

/* Table */
.mqh_tbthr_table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--mqh-tbthr-radius);
  box-shadow: 0 4px 24px var(--mqh-tbthr-shadow);
}

.mqh_tbthr_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
}

.mqh_tbthr_table thead th {
  background: linear-gradient(135deg, var(--mqh-tbthr-primary), var(--mqh-tbthr-secondary));
  color: #ffffff;
  padding: 15px 16px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.mqh_tbthr_table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--mqh-tbthr-border);
  vertical-align: top;
  color: var(--mqh-tbthr-text);
}

.mqh_tbthr_table tbody tr {
  background: #fff;
  transition: background 0.3s ease, transform 0.2s ease;
}

.mqh_tbthr_table tbody tr:nth-child(even) {
  background: var(--mqh-tbthr-bg-light);
}

.mqh_tbthr_table tbody tr:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.06), rgba(240, 147, 251, 0.06));
}

/* FAQ */
.mqh_tbthr_faq {
  margin-top: 60px;
}

.mqh_tbthr_faq-title {
  font-size: 1.7em;
  font-weight: 700;
  background: linear-gradient(135deg, var(--mqh-tbthr-primary), var(--mqh-tbthr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.mqh_tbthr_faq-item {
  border: 1px solid var(--mqh-tbthr-border);
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.06);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.mqh_tbthr_faq-item:hover {
  box-shadow: 0 4px 16px var(--mqh-tbthr-shadow);
}

.mqh_tbthr_faq-item.active {
  border-color: var(--mqh-tbthr-primary);
  box-shadow: 0 4px 20px var(--mqh-tbthr-shadow);
}

.mqh_tbthr_faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  background: #ffffff;
  font-weight: 600;
  font-size: 0.98em;
  color: var(--mqh-tbthr-text-bright);
  transition: background 0.3s ease, color 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--mqh-tbthr-font);
}

.mqh_tbthr_faq-q:hover {
  background: var(--mqh-tbthr-bg-light);
  color: var(--mqh-tbthr-primary);
}

.mqh_tbthr_faq-q .mqh_tbthr_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.2em;
  font-weight: 400;
  color: #fff;
  background: linear-gradient(135deg, var(--mqh-tbthr-primary), var(--mqh-tbthr-secondary));
  border-radius: 50%;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.mqh_tbthr_faq-item.active .mqh_tbthr_faq-q .mqh_tbthr_icon {
  transform: rotate(45deg);
}

.mqh_tbthr_faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 22px;
  background: var(--mqh-tbthr-bg-light);
}

.mqh_tbthr_faq-item.active .mqh_tbthr_faq-a {
  max-height: 500px;
  padding: 18px 22px;
}

.mqh_tbthr_faq-a p {
  color: var(--mqh-tbthr-text);
  margin: 0;
}

/* Conclusion */
.mqh_tbthr_conclusion {
  margin-top: 60px;
  padding: 36px 32px;
  border-radius: var(--mqh-tbthr-radius);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.06), rgba(240, 147, 251, 0.06));
  box-shadow: 0 4px 24px var(--mqh-tbthr-shadow);
  position: relative;
  overflow: hidden;
}

.mqh_tbthr_conclusion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--mqh-tbthr-primary), var(--mqh-tbthr-accent), var(--mqh-tbthr-accent2));
}

.mqh_tbthr_conclusion h2 {
  font-size: 1.7em;
  font-weight: 700;
  background: linear-gradient(135deg, var(--mqh-tbthr-primary), var(--mqh-tbthr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.mqh_tbthr_conclusion p {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* Scroll reveal */
.mqh_tbthr_reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mqh_tbthr_reveal.mqh_tbthr_visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .mqh_tbthr_wrapper { padding: 28px 16px; }
  .mqh_tbthr_h1 { font-size: 1.7em; padding: 24px 16px; }
  .mqh_tbthr_h2, .mqh_tbthr_faq-title { font-size: 1.3em; }
  .mqh_tbthr_toc { padding: 24px 20px; }
  .mqh_tbthr_float-img { float: none; width: 100%; max-width: 100%; margin: 16px 0; }
  .mqh_tbthr_table thead th,
  .mqh_tbthr_table tbody td { padding: 10px 12px; font-size: 0.85em; }
  .mqh_tbthr_intro { padding: 24px 20px; }
}
