/* ============================================================
   لایو ترید — /live-trade/ و تک‌ویدیوها
   وابسته به توکن‌های main.css (:root) و کارت‌های blog.css
   ============================================================ */

.lt-wrap { padding: 28px 0 64px; }

/* ---------- هیرو ---------- */
.lt-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; margin-bottom: 60px; }
.lt-hero__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.5; margin: 0 0 14px; }
.lt-hero__desc { color: var(--muted); font-size: 16px; line-height: 2.1; }
.lt-hero__desc p { margin: 0 0 .7em; }
.lt-hero__cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- ترمینال زنده ---------- */
.lt-term {
	background: var(--surface); border: 2px solid var(--dark-2); border-radius: var(--radius);
	overflow: hidden; box-shadow: 10px 10px 0 rgba(0, 0, 0, .06);
}
.lt-term__head {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	background: var(--surface-2); border-bottom: 2px solid var(--dark-2); padding: 16px 22px;
}
.lt-term__pair { display: flex; flex-direction: column; gap: 2px; }
.lt-term__pair strong { font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.lt-term__pair span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.lt-term__quote { text-align: left; }
.lt-term__price { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--accent); line-height: 1.3; }
.lt-term__pnl {
	display: inline-block; margin-top: 5px; padding: 3px 10px; border-radius: 6px;
	font-size: 13px; font-weight: 800; background: rgba(22, 163, 74, .1); color: var(--accent);
}
.lt-term__chart {
	position: relative; height: clamp(240px, 34vw, 360px); padding: 22px;
	display: flex; align-items: flex-end; gap: 10px; overflow: hidden;
}
.lt-term__level { position: absolute; inset-inline: 0; display: flex; align-items: center; padding-inline: 22px; pointer-events: none; z-index: 5; }
.lt-term__level i { flex: 1; border-top: 2px dashed currentColor; }
.lt-term__level b {
	flex-shrink: 0; margin-inline-end: 14px; padding: 3px 10px; border-radius: 5px;
	font-size: 12px; font-weight: 800; white-space: nowrap;
}
.lt-term__level--tp { top: 25%; color: var(--accent); }
.lt-term__level--tp b { background: var(--accent); color: #fff; }
.lt-term__level--entry { bottom: 35%; color: var(--primary); }
.lt-term__level--entry b { background: var(--primary); color: #1a1a1a; }
.lt-term__line { position: absolute; inset-inline: 0; border-top: 1px solid var(--dark-2); z-index: 1; transition: bottom .2s linear; pointer-events: none; }
.lt-term__candles { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 10px; width: 100%; height: 100%; min-height: 0; }

/* ---------- کارت‌های ویژگی ---------- */
.lt-section { margin-bottom: 60px; }
.lt-section__title { font-size: clamp(21px, 2.6vw, 30px); font-weight: 800; text-align: center; margin: 0 0 12px; }
.lt-section__sub { color: var(--muted); font-size: 15.5px; line-height: 2; text-align: center; max-width: 68ch; margin: 0 auto 30px; }
.lt-section__sub p { margin: 0 0 .6em; }

.lt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lt-card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; transition: .25s;
}
.lt-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.lt-card__icon {
	width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
	font-size: 26px; color: var(--primary); background: rgba(247, 160, 29, .1); border: 1px solid rgba(247, 160, 29, .35);
}
.lt-card h3 { font-size: 18px; margin: 0; }
.lt-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 2; }

/* ---------- مقایسه ---------- */
.lt-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.lt-plan {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 26px 24px; display: flex; flex-direction: column;
}
.lt-plan--hero { background: var(--dark-2); color: #fff; border-color: var(--primary); }
.lt-plan h3 { font-size: 20px; margin: 0 0 12px; }
.lt-plan__desc { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); font-size: 14.5px; line-height: 2; color: var(--muted); }
.lt-plan--hero .lt-plan__desc { border-color: rgba(255, 255, 255, .18); color: var(--dark-muted); }
.lt-plan__list { display: flex; flex-direction: column; gap: 10px; }
.lt-plan__row { display: flex; align-items: center; gap: 9px; font-size: 14.5px; }
.lt-plan__row i {
	flex: 0 0 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.lt-plan__row .is-yes { background: rgba(22, 163, 74, .12); color: var(--accent); }
.lt-plan__row .is-no { background: rgba(220, 38, 38, .12); color: var(--danger); }
.lt-plan--hero .lt-plan__row .is-yes { background: var(--primary); color: #1a1a1a; }

/* ---------- فهرست شماره‌دار ---------- */
.lt-split { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; align-items: start; }
.lt-split__head h2 { font-size: clamp(21px, 2.6vw, 30px); font-weight: 800; margin: 0 0 12px; }
.lt-split__head div { color: var(--muted); font-size: 15.5px; line-height: 2.1; }
.lt-steps { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.lt-step { display: flex; align-items: center; gap: 16px; padding: 20px 22px; transition: .2s; }
.lt-step + .lt-step { border-top: 1px solid var(--border); }
.lt-step:hover { background: var(--surface-2); }
.lt-step__no { font-size: 18px; font-weight: 800; color: var(--muted); flex-shrink: 0; }
.lt-step__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.lt-step__body h3 { font-size: 17px; margin: 0; transition: .2s; }
.lt-step:hover .lt-step__body h3 { color: var(--primary-d); }
.lt-step__body div { color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.lt-step__icon {
	flex: 0 0 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
	display: flex; align-items: center; justify-content: center; color: var(--muted); transition: .25s;
}
.lt-step:hover .lt-step__icon { background: var(--primary); border-color: var(--primary); color: #fff; }
.lt-note {
	margin-top: 22px; background: var(--surface); border: 1px solid var(--border);
	border-inline-start: 5px solid var(--primary); border-radius: var(--radius-sm); padding: 18px 22px;
	font-size: 16px; font-weight: 700;
}

/* ---------- باندهای CTA ---------- */
.lt-band {
	background: var(--dark-2); color: #fff; border-radius: var(--radius-lg);
	padding: 30px 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 60px;
}
.lt-band__icon {
	flex: 0 0 52px; height: 52px; border-radius: 14px; background: var(--primary); color: #1a1a1a;
	display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.lt-band__body { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.lt-band__body h2 { font-size: 21px; margin: 0; }
.lt-band__body div { color: var(--dark-muted); font-size: 14.5px; line-height: 1.9; }
.lt-band--split { align-items: center; }
.lt-band--split img { width: min(320px, 100%); height: auto; object-fit: contain; }

/* ---------- کارت ویدیو ---------- */
.lt-vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lt-vid {
	position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1;
	background: var(--surface-2); display: block;
}
.lt-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.lt-vid:hover img { transform: scale(1.05); }
.lt-vid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent 60%); }
.lt-vid__play {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
	width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--dark-2);
	display: flex; align-items: center; justify-content: center; font-size: 20px; transition: .25s;
}
.lt-vid:hover .lt-vid__play { background: var(--primary); }
.lt-vid__title { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 22px; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.8; margin: 0; }

/* ---------- ریسپانسیو ---------- */
@media (max-width: 1024px) {
	.lt-hero, .lt-split { grid-template-columns: 1fr; gap: 28px; }
	.lt-cards, .lt-compare, .lt-vids { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.lt-cards, .lt-compare, .lt-vids { grid-template-columns: 1fr; }
	.lt-band { padding: 24px 20px; }
	.lt-term__chart { padding: 14px; gap: 6px; }
	.lt-term__candles { gap: 6px; }
	.lt-term__level { padding-inline: 14px; }
}
