/* =============================================================
   tools-trendlinetrader.css
   Scoped to #tlt-page — mirrors ep-page structure exactly
   ============================================================= */

/* ── PAGE WRAPPER ── */
.tlt-page { color: var(--text); background: var(--bg); }

/* ── SHARED LAYOUT ── */
.tlt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.tlt-section { padding: 100px 0; }
.tlt-section--alt { background: var(--bg-alt, var(--surface, #111)); }
.tlt-section--disclaimer { padding: 60px 0; }

/* ── TYPOGRAPHY UTILITIES ── */
.tlt-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.tlt-section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}
.tlt-section__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 68ch;
  line-height: 1.65;
  margin: 0 0 48px;
}

/* ── EYEBROW ── */
.tlt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 20px;
}
.tlt-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ── BADGES ── */
.tlt-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.tlt-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line, var(--border));
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,.04);
}

/* ── BUTTONS ── */
.tlt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.tlt-btn--primary {
  background: var(--accent);
  color: #081018;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.tlt-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.tlt-btn--secondary {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line, var(--border));
  color: #fff;
}
.tlt-btn--secondary:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.tlt-btn--ghost {
  background: transparent;
  border: 1px solid var(--line, var(--border));
  color: var(--muted);
}
.tlt-btn--ghost:hover { background: rgba(255,255,255,.06); color: #fff; }
.tlt-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── HERO ── */
.tlt-hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.tlt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%);
  filter: blur(120px);
  opacity: .5;
  pointer-events: none;
}
.tlt-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.tlt-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
}
.tlt-hero__title em { color: var(--accent); font-style: normal; }
.tlt-hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
  margin: 0 0 8px;
}
.tlt-hero__sub code {
  background: rgba(77,163,255,.15);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .9em;
}
.tlt-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 16px; }
.tlt-hero__note { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* ── MOCK PANEL ── */
.tlt-hero__panel { display: flex; justify-content: center; }
.tlt-mock {
  background: var(--panel, var(--bg-alt, #111));
  border: 1px solid var(--line, var(--border));
  border-radius: 18px;
  padding: 20px 22px;
  width: 100%;
  max-width: 340px;
  font-size: 0.85rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.35), 0 0 40px color-mix(in srgb, var(--accent) 20%, transparent);
}
.tlt-mock__hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.tlt-mock__ver { color: var(--accent); font-size: 0.8rem; font-weight: 400; }
.tlt-mock__lic { font-size: 0.8rem; margin-bottom: 10px; color: var(--muted); }
.tlt-mock__lic--ok { color: #4caf72; }
.tlt-mock__divider { border-top: 1px solid var(--line, var(--border)); margin: 10px 0; }
.tlt-mock__line-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: var(--text);
  font-size: 0.85rem;
}
.tlt-mock__line-row code {
  background: rgba(77,163,255,.12);
  color: var(--accent);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: .85em;
}
.tlt-mock__dot { font-size: 0.7rem; }
.tlt-mock__dot--armed { color: #4caf72; }
.tlt-mock__armed { color: #4caf72; }
.tlt-mock__row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.tlt-mock__row span:last-child { color: var(--text); text-align: right; }
.tlt-mock__ok { color: #4caf72 !important; }
.tlt-mock__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.tlt-mock__close {
  background: rgba(77,163,255,.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 8px;
  padding: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: default;
}
.tlt-mock__ca {
  background: rgba(255,90,90,.12);
  border: 1px solid #ff5a5a;
  color: #ff5a5a;
  border-radius: 8px;
  padding: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: default;
}

/* ── FEATURES GRID ── */
.tlt-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tlt-feat {
  background: var(--panel, var(--bg-alt, #111));
  border: 1px solid var(--line, var(--border));
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tlt-feat:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.28); }
.tlt-feat__icon { width: 48px; height: 48px; margin-bottom: 16px; color: var(--accent); }
.tlt-feat h3 { margin: 0 0 10px; font-size: 1.1rem; color: #fff; }
.tlt-feat p { color: var(--muted); line-height: 1.65; margin: 0; font-size: 0.95rem; }
.tlt-feat code {
  background: rgba(77,163,255,.15);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .9em;
}

/* ── STEPS ── */
.tlt-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.tlt-step { display: flex; gap: 18px; align-items: flex-start; }
.tlt-step__num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #081018;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tlt-step h3 { margin: 0 0 8px; color: #fff; font-size: 1.05rem; }
.tlt-step p { color: var(--muted); margin: 0; line-height: 1.6; font-size: 0.95rem; }
.tlt-step code {
  background: rgba(77,163,255,.15);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .9em;
}

/* ── PRICING ── */
.tlt-pricing-wrap { text-align: center; }
.tlt-pricing-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tlt-price-card {
  background: var(--panel, var(--bg-alt, #111));
  border: 1px solid var(--line, var(--border));
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 340px;
  position: relative;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .25s ease;
}
.tlt-price-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 12px 32px rgba(0,0,0,.35);
}
.tlt-price-card--trial { opacity: .85; }
.tlt-price-card__popular {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--accent);
  color: #081018;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.tlt-price-card__name { font-size: 1.2rem; font-weight: 700; color: #fff; }
.tlt-price-card__amount { font-size: 3rem; font-weight: 700; color: #fff; margin: 12px 0; line-height: 1; }
.tlt-price-card__amount sup { font-size: 1.4rem; vertical-align: super; }
.tlt-price-card__period { color: var(--muted); font-size: 0.9rem; }
.tlt-price-card__promo { font-size: 0.82rem; color: var(--accent); margin-top: 8px; }
.tlt-price-card__divider { border-top: 1px solid var(--line, var(--border)); margin: 20px 0; }
.tlt-price-card__feats { list-style: none; padding: 0; margin: 0 0 24px; }
.tlt-price-card__feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.tlt-chk { color: var(--accent); flex-shrink: 0; }
.tlt-nope { color: var(--danger, #ff5a5a); flex-shrink: 0; }
.tlt-price-card__btn { width: 100%; justify-content: center; }
.tlt-price-card__note { font-size: 0.78rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

.tlt-pricing-note {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid var(--line, var(--border));
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(255,255,255,.03);
  text-align: center;
  line-height: 1.6;
}
.tlt-pricing-note strong { color: var(--text); }

/* ── FAQ ── */
.tlt-faq-wrap { max-width: 760px; }
.tlt-faq-list { margin-top: 40px; }
.tlt-faq-item { border-bottom: 1px solid var(--line, var(--border)); }
.tlt-faq-q {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  transition: color .2s;
}
.tlt-faq-q:hover { color: var(--accent); }
.tlt-faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s ease; }
.tlt-faq-item.open .tlt-faq-icon { transform: rotate(180deg); }
.tlt-faq-a {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-bottom: 20px;
}

/* ── CTA BANNER ── */
.tlt-cta-banner {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%);
  border-top: 1px solid var(--line, var(--border));
}
.tlt-cta-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 70px 24px;
}
.tlt-cta-banner__inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}
.tlt-cta-banner__inner p { color: var(--muted); margin: 0; font-size: 1rem; }
.tlt-cta-banner__actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ── DISCLAIMER ── */
.tlt-disclaimer {
  max-width: 860px;
  padding-top: 0;
}
.tlt-disclaimer h3 { font-size: 0.95rem; color: var(--muted); font-weight: 600; margin: 0 0 10px; }
.tlt-disclaimer p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin: 0; opacity: .75; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .tlt-hero__inner { grid-template-columns: 1fr; }
  .tlt-hero__panel { display: none; }
  .tlt-features-grid { grid-template-columns: 1fr 1fr; }
  .tlt-steps { grid-template-columns: 1fr; }
  .tlt-cta-banner__inner { flex-direction: column; text-align: center; }
  .tlt-cta-banner__actions { justify-content: center; }
}
@media (max-width: 600px) {
  .tlt-features-grid { grid-template-columns: 1fr; }
  .tlt-hero__actions { flex-direction: column; }
  .tlt-pricing-grid { flex-direction: column; align-items: center; }
}