/* Landing "Tải Shopee Live Studio" — nền tối, mockup app vẽ bằng CSS (không dùng ảnh/logo của Shopee). */
.sls {
    --sls-bg: #121214;
    --sls-bg2: #1b1b1f;
    --sls-card: #222228;
    --sls-line: rgba(255, 255, 255, .08);
    --sls-text: #f4f4f5;
    --sls-muted: #a1a1aa;
    --sls-accent: #ee4d2d;
    --sls-accent2: #ff7a45;
    background: var(--sls-bg);
    color: var(--sls-text);
    overflow: hidden;
}
.sls a { color: var(--sls-accent2); }
.sls-container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sls-section { padding: 72px 0; border-top: 1px solid var(--sls-line); }
.sls-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .8rem; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase; color: var(--sls-accent2);
    background: rgba(238, 77, 45, .12); border: 1px solid rgba(238, 77, 45, .3);
    padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.sls h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.1; margin: 0 0 18px; color: #fff; }
.sls h1 span, .sls h2 span { background: linear-gradient(90deg, var(--sls-accent), var(--sls-accent2));
    -webkit-background-clip: text; background-clip: text; color: transparent; }
.sls h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; line-height: 1.2; margin: 0 0 14px; color: #fff; }
.sls h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; color: #fff; }
.sls p { color: var(--sls-muted); line-height: 1.65; }
.sls-lead { font-size: 1.1rem; max-width: 520px; }

/* Nút */
.sls-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.sls-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 12px;
    font-weight: 700; font-size: 1.02rem; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.sls-btn-primary { background: linear-gradient(135deg, var(--sls-accent), var(--sls-accent2)); color: #fff !important;
    box-shadow: 0 10px 30px rgba(238, 77, 45, .35); }
.sls-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(238, 77, 45, .45); }
.sls-btn-ghost { border: 1px solid var(--sls-line); color: var(--sls-text) !important; background: rgba(255, 255, 255, .03); }
.sls-btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.sls-trust { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; color: var(--sls-muted); }
.sls-trust i { color: #4ade80; margin-right: 6px; }

/* Hero */
.sls-hero { position: relative; padding: 64px 0 80px; }
.sls-hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px;
    background: radial-gradient(circle, rgba(238, 77, 45, .28), transparent 65%); pointer-events: none; }
.sls-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }

/* Mockup cửa sổ app */
.sls-app { position: relative; background: var(--sls-bg2); border: 1px solid var(--sls-line); border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55); overflow: hidden; }
.sls-app-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--sls-line); }
.sls-app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3f3f46; }
.sls-app-body { display: grid; grid-template-columns: 1fr 150px; gap: 10px; padding: 12px; }
.sls-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 10px;
    background: radial-gradient(circle at 35% 40%, #3b3b44, #17171b 70%); overflow: hidden; }
.sls-stage-person { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 38%; aspect-ratio: 1 / 1.1;
    background: linear-gradient(#5b5b66, #3a3a42); border-radius: 50% 50% 18% 18% / 42% 42% 18% 18%; }
.sls-stage-person::before { content: ""; position: absolute; left: 50%; top: -46%; transform: translateX(-50%);
    width: 52%; aspect-ratio: 1; border-radius: 50%; background: #6b6b76; }
.sls-live { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; font-size: .7rem; font-weight: 700; }
.sls-live b { background: #e11d48; color: #fff; padding: 3px 8px; border-radius: 5px; }
.sls-live span { background: rgba(0, 0, 0, .55); color: #fff; padding: 3px 8px; border-radius: 5px; }
.sls-pip { position: absolute; right: 10px; bottom: 10px; width: 28%; aspect-ratio: 16 / 10; border-radius: 6px;
    background: linear-gradient(135deg, #fb923c, #ee4d2d); border: 2px solid rgba(255, 255, 255, .7); }
.sls-side { display: flex; flex-direction: column; gap: 8px; }
.sls-prod { display: flex; gap: 8px; align-items: center; background: var(--sls-card); border-radius: 8px; padding: 6px; }
.sls-prod i { flex: 0 0 30px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #fdba74, #f97316); }
.sls-prod:nth-child(2) i { background: linear-gradient(135deg, #a5b4fc, #6366f1); }
.sls-prod:nth-child(3) i { background: linear-gradient(135deg, #86efac, #22c55e); }
.sls-prod div { flex: 1; }
.sls-prod u, .sls-prod s { display: block; height: 6px; border-radius: 3px; background: #3f3f46; text-decoration: none; }
.sls-prod s { width: 55%; margin-top: 5px; background: var(--sls-accent); }
.sls-prod.is-pinned { outline: 1px solid var(--sls-accent); }
.sls-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sls-metric { background: var(--sls-card); border-radius: 8px; padding: 8px 10px; }
.sls-metric small { display: block; font-size: .65rem; color: var(--sls-muted); }
.sls-metric b { font-size: .95rem; color: #fff; }
.sls-chip { position: absolute; display: flex; gap: 6px; align-items: center; font-size: .78rem; font-weight: 600;
    background: rgba(34, 34, 40, .92); border: 1px solid var(--sls-line); color: #fff; padding: 8px 12px;
    border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); backdrop-filter: blur(6px); }
.sls-chip i { color: var(--sls-accent2); }
.sls-chip-1 { top: -16px; right: 24px; }
.sls-chip-2 { bottom: -16px; left: 24px; }
.sls-app { overflow: visible; }
.sls-app-body { border-radius: 0 0 16px 16px; overflow: hidden; }
.sls-hero-grid > *, .sls-feature > * { min-width: 0; }

/* Khối tính năng xen kẽ */
.sls-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sls-feature + .sls-feature { margin-top: 80px; }
.sls-feature.is-reverse .sls-feature-copy { order: 2; }
.sls-feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.sls-feature li { color: var(--sls-muted); padding: 6px 0 6px 28px; position: relative; }
.sls-feature li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; left: 0; color: var(--sls-accent2); }
.sls-visual { background: linear-gradient(160deg, var(--sls-bg2), #18181c); border: 1px solid var(--sls-line);
    border-radius: 18px; padding: 24px; }
.sls-sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sls-source { background: var(--sls-card); border-radius: 12px; padding: 18px 10px; text-align: center; font-size: .85rem; color: var(--sls-text); }
.sls-source i { display: block; font-size: 1.5rem; margin-bottom: 8px; color: var(--sls-accent2); }
.sls-bag .sls-prod { padding: 10px; margin-bottom: 10px; }
.sls-bag .sls-prod i { flex-basis: 44px; height: 44px; }
.sls-bag em { font-style: normal; font-size: .72rem; font-weight: 700; color: #fff; background: var(--sls-accent);
    padding: 3px 8px; border-radius: 5px; }
.sls-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sls-dash .sls-metric { padding: 16px; border-radius: 12px; }
.sls-dash .sls-metric b { font-size: 1.5rem; }
.sls-dash .sls-metric em { font-style: normal; font-size: .75rem; color: #4ade80; }
.sls-bars { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 8px; height: 90px; background: var(--sls-card);
    border-radius: 12px; padding: 14px; }
.sls-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--sls-accent2), var(--sls-accent)); }

/* Các bước */
.sls-center { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sls-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.sls-step { background: var(--sls-bg2); border: 1px solid var(--sls-line); border-radius: 16px; padding: 24px 20px; }
.sls-step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: 12px; margin-bottom: 16px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--sls-accent), var(--sls-accent2)); }
.sls-step p { margin: 0; font-size: .92rem; }
.sls-steps-img { display: block; max-width: 100%; height: auto; border-radius: 16px; margin: 28px auto 0; border: 1px solid var(--sls-line); }

/* Cấu hình */
.sls-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.sls-spec { background: var(--sls-bg2); border: 1px solid var(--sls-line); border-radius: 16px; padding: 24px; }
.sls-spec.is-best { border-color: rgba(238, 77, 45, .55); box-shadow: 0 0 0 1px rgba(238, 77, 45, .25) inset; }
.sls-spec h3 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sls-spec h3 small { font-size: .72rem; color: #fff; background: var(--sls-accent); padding: 3px 9px; border-radius: 999px; }
.sls-spec dl { margin: 0; }
.sls-spec div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--sls-line); }
.sls-spec dt { color: var(--sls-muted); font-weight: 500; }
.sls-spec dd { margin: 0; text-align: right; color: #fff; font-weight: 600; }

/* Mẹo + FAQ */
.sls-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sls-tip { display: block; background: var(--sls-bg2); border: 1px solid var(--sls-line); border-radius: 16px; padding: 22px;
    text-decoration: none; transition: border-color .15s, transform .15s; }
.sls-tip:hover { border-color: rgba(238, 77, 45, .5); transform: translateY(-2px); }
.sls-tip i { font-size: 1.4rem; color: var(--sls-accent2); margin-bottom: 12px; }
.sls-tip p { margin: 0; font-size: .9rem; }
.sls-faq { max-width: 820px; margin: 0 auto; }
.sls-faq details { background: var(--sls-bg2); border: 1px solid var(--sls-line); border-radius: 14px; padding: 0 20px; margin-bottom: 12px; }
.sls-faq summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; color: #fff; position: relative; }
.sls-faq summary::-webkit-details-marker { display: none; }
.sls-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--sls-accent2); }
.sls-faq details[open] summary::after { content: "−"; }
.sls-faq details p { margin: 0 0 18px; }

/* CTA cuối */
.sls-cta { text-align: center; background: radial-gradient(circle at 50% 0, rgba(238, 77, 45, .25), transparent 70%); }
.sls-cta .sls-actions { justify-content: center; }
.sls-disclaimer { font-size: .8rem; opacity: .7; max-width: 720px; margin: 24px auto 0; }

@media (max-width: 900px) {
    .sls-hero-grid, .sls-feature { grid-template-columns: 1fr; gap: 36px; }
    .sls-feature.is-reverse .sls-feature-copy { order: 0; }
    .sls-steps { grid-template-columns: 1fr 1fr; }
    .sls-tips { grid-template-columns: 1fr; }
    .sls-section { padding: 52px 0; }
}
@media (max-width: 560px) {
    .sls-steps, .sls-specs { grid-template-columns: 1fr; }
    .sls-app-body { grid-template-columns: 1fr; }
    .sls-side { flex-direction: row; } .sls-side .sls-prod { flex: 1; }
    .sls-metrics { grid-template-columns: repeat(2, 1fr); }
    .sls-sources { grid-template-columns: repeat(2, 1fr); }
    .sls-chip { font-size: .7rem; padding: 6px 10px; }
    .sls-steps-img { display: none; }
    .sls-btn { width: 100%; justify-content: center; }
}

/* Hộp "Công cụ liên quan" dùng chung mặc định nền trắng — chỉ đổi sang tối trên trang này (file CSS chỉ nạp ở đây) */
body .related-tools-card { background: #1b1b1f; border: 1px solid rgba(255, 255, 255, .08); color: #f4f4f5; }
body .related-tools-card h2 { color: #f4f4f5; }
body .related-tool-item { background: #222228; border-color: rgba(255, 255, 255, .08); }
body .related-tool-item:hover { border-color: rgba(238, 77, 45, .5); }
body .related-tool-item .rt-title { color: #f4f4f5; }
body .related-tool-item .rt-desc { color: #a1a1aa; }

/* Bài hướng dẫn dài (include/shopee-live-studio-guide-article.php) */
.sls-article { max-width: 860px; }
.sls-article h3 { font-size: 1.35rem; margin: 44px 0 12px; scroll-margin-top: 80px; }
.sls-article p, .sls-article li, .sls-article dd { color: #c4c4cc; line-height: 1.75; }
.sls-article ul, .sls-article ol { padding-left: 22px; }
.sls-article li { margin-bottom: 8px; }
.sls-article b { color: #fff; }
.sls-toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 8px; }
.sls-toc a { font-size: .88rem; color: var(--sls-text) !important; text-decoration: none; padding: 8px 14px;
    border: 1px solid var(--sls-line); border-radius: 999px; background: var(--sls-bg2); }
.sls-toc a:hover { border-color: rgba(238, 77, 45, .5); }
.sls-table-wrap { overflow-x: auto; border: 1px solid var(--sls-line); border-radius: 14px; }
.sls-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
.sls-table th, .sls-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--sls-line); color: #c4c4cc; }
.sls-table th { background: var(--sls-bg2); color: #fff; font-weight: 700; }
.sls-table td:first-child { color: #fff; font-weight: 600; }
.sls-table tr:last-child td { border-bottom: 0; }
.sls-issues { margin: 0; display: grid; gap: 10px; }
.sls-issues div { background: var(--sls-bg2); border: 1px solid var(--sls-line); border-radius: 12px; padding: 14px 18px; }
.sls-issues dt { color: #fff; font-weight: 700; margin-bottom: 4px; }
.sls-issues dd { margin: 0; }
