/* ─────────────────────────────────────────────────────────────────────
   Landing page — tối giản, dùng chung CSS variables với app chính
   (--bg, --text, --accent, --border...). Dark mode auto theo
   prefers-color-scheme HOẶC data-theme="dark" từ localStorage.
   ───────────────────────────────────────────────────────────────────── */

.lp-body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── Nav ──────────────────────────────────────────────────────────── */
/* Sticky bar full-width (bg + border trải ngang), nội dung bên trong
   co lại theo max-width 1200px khớp các .lp-section phía dưới → brand
   trái và CTA phải thẳng hàng với content, không dính sát mép màn hình. */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
}
.lp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Brand nav dùng nguyên .page-icon + .page-title + .page-subtitle gốc
   từ style.css (giống share_not_found.html, profile.html) — không fork
   style brand riêng cho landing. */
.lp-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    margin-right: auto;
}

.lp-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}

.lp-nav-links a:hover {
    color: var(--text);
    text-decoration: none;
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.lp-btn-primary,
.lp-btn-ghost,
.lp-btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.lp-btn-lg { padding: 13px 26px; font-size: 15px; }

.lp-btn-primary {
    background: var(--accent, #10b981);
    color: #fff;
    border-color: var(--accent, #10b981);
}
.lp-btn-primary:hover {
    background: var(--accent-hover, #059669);
    border-color: var(--accent-hover, #059669);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}
:root[data-theme="dark"] .lp-btn-primary { color: #0a0a0a; }
:root[data-theme="dark"] .lp-btn-primary:hover { color: #0a0a0a; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .lp-btn-primary { color: #0a0a0a; }
    :root:not([data-theme="light"]) .lp-btn-primary:hover { color: #0a0a0a; }
}

/* Google button theo chuẩn material: nền trắng, border nhẹ, G 4-màu dễ nhìn
   trên nền sáng (trước đây đặt trên nền xanh accent nên 4 màu Google chìm) */
.lp-btn-google {
    background: #fff;
    color: #0f172a;
    border-color: var(--border-strong, #d1d5db);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.lp-btn-google:hover {
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    border-color: var(--border-strong, #d1d5db);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
:root[data-theme="dark"] .lp-btn-google {
    background: #fff;
    color: #0f172a;
    border-color: #e2e8f0;
}
:root[data-theme="dark"] .lp-btn-google:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .lp-btn-google {
        background: #fff; color: #0f172a; border-color: #e2e8f0;
    }
    :root:not([data-theme="light"]) .lp-btn-google:hover {
        background: #f1f5f9; color: #0f172a; border-color: #cbd5e1;
    }
}

.lp-btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.lp-btn-ghost:hover {
    background: var(--surface-2, rgba(0,0,0,0.03));
    color: var(--text);
    text-decoration: none;
    border-color: var(--border-strong);
}

/* ─── Hero ─────────────────────────────────────────────────────────── */
.lp-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px 60px;
}

.lp-hero-eyebrow {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--accent-soft, #ecfdf5);
    color: var(--accent-text, #065f46);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.lp-hero-title {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-heading);
    margin: 0 0 20px;
}

.lp-hero-accent {
    color: var(--accent, #10b981);
    position: relative;
    white-space: nowrap;
}

.lp-hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    margin: 0 0 32px;
    max-width: 540px;
    line-height: 1.6;
}

.lp-hero-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.lp-hero-trust {
    font-size: 13px;
    color: var(--text-faint);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent, #10b981);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
    animation: lp-pulse 2.5s infinite;
}

@keyframes lp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ─── Hero visual / screenshot frame ──────────────────────────────── */
.lp-hero-visual { position: relative; }

/* Khung bao screenshot — giống trình duyệt nhẹ nhàng, không viền chrome
   đầy đủ. Shadow sâu để tách khỏi background section. Ảnh fill 100% khung,
   object-fit: contain tránh crop phần chữ. */
.lp-screen-frame {
    background: var(--surface, #fff);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.18),
                0 8px 24px -8px rgba(16, 185, 129, 0.08);
    line-height: 0;
}

.lp-screen-frame img {
    width: 100%;
    height: auto;
    display: block;
}

:root[data-theme="dark"] .lp-screen-frame {
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
    background: #0f0f0f;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .lp-screen-frame {
        box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
        background: #0f0f0f;
    }
}

/* Share mockup chrome dots (giữ nguyên vì share section vẫn cần mock) */
.lp-mock-dots { display: flex; gap: 6px; }
.lp-mock-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border-strong);
}
.lp-mock-dots span:nth-child(1) { background: #ef4444; }
.lp-mock-dots span:nth-child(2) { background: #f59e0b; }
.lp-mock-dots span:nth-child(3) { background: #10b981; }

.lp-mock-url {
    font-size: 12px;
    color: var(--text-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ─── Sections ─────────────────────────────────────────────────────── */
.lp-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
}

.lp-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.lp-section-eyebrow {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--accent-soft, #ecfdf5);
    color: var(--accent-text, #065f46);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.lp-section-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-heading);
    margin: 0 0 16px;
    line-height: 1.15;
}

.lp-section-sub {
    font-size: 17px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ─── Pillars: Khám phá / Phân tích / Chia sẻ ─────────────────────── */
.lp-pillars { padding-top: 40px; padding-bottom: 20px; }

.lp-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lp-pillar {
    position: relative;
    padding: 28px 24px;
    border-radius: 16px;
    background: var(--surface, #fff);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.lp-pillar:hover {
    border-color: var(--accent-tint, #a7f3d0);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -12px rgba(16, 185, 129, 0.2);
}

.lp-pillar-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.lp-pillar-ico-discover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}
.lp-pillar-ico-analyze {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}
.lp-pillar-ico-share {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.lp-pillar-step {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-faint);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.lp-pillar-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.lp-pillar-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 14px;
    line-height: 1.6;
}

.lp-pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}
.lp-pillar-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}
.lp-pillar-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 2px;
    background: var(--accent, #10b981);
    border-radius: 2px;
}

/* ─── Live widget: dùng .index-bar + .idx-card gốc từ style.css app ─ */
.lp-live {
    padding-top: 40px;
    padding-bottom: 60px;
}

.lp-live-foot {
    text-align: center;
    margin-top: 24px;
}

/* ─── Why SonarSignal ─────────────────────────────────────────────── */
.lp-why { padding-top: 60px; padding-bottom: 60px; }

.lp-why-quote {
    max-width: 820px;
    margin: 0 auto 48px;
    padding: 28px 40px;
    border-left: 4px solid var(--accent, #10b981);
    background: var(--accent-soft, #ecfdf5);
    border-radius: 0 12px 12px 0;
}
.lp-why-quote p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-heading);
    margin: 0;
    font-style: italic;
}
.lp-why-quote strong {
    color: var(--accent-text, #065f46);
    font-weight: 700;
    font-style: normal;
}
:root[data-theme="dark"] .lp-why-quote strong { color: #4ade80; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .lp-why-quote strong { color: #4ade80; }
}

.lp-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lp-why-card {
    padding: 24px;
    border-radius: 14px;
    background: var(--surface, #fff);
    border: 1px solid var(--border);
    text-align: center;
}
.lp-why-ico {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft, #ecfdf5);
    color: var(--accent, #10b981);
    margin-bottom: 14px;
}
.lp-why-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 8px;
}
.lp-why-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ─── Stats strip ─────────────────────────────────────────────────── */
.lp-stats-strip {
    padding-top: 20px;
    padding-bottom: 20px;
    max-width: 1200px;
}

.lp-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 28px 32px;
    border-radius: 16px;
    background: var(--surface-2, #f8fafc);
    border: 1px solid var(--border-subtle);
}

.lp-stat { text-align: center; }
.lp-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent, #10b981);
    letter-spacing: -0.02em;
    line-height: 1;
}
.lp-stat-lbl {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ─── Feature cards ───────────────────────────────────────────────── */
.lp-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lp-feat-card {
    background: var(--surface, #fff);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: all 0.2s;
}

.lp-feat-card:hover {
    border-color: var(--accent-tint, #a7f3d0);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -12px rgba(16, 185, 129, 0.18);
}

.lp-feat-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: var(--accent-soft, #ecfdf5);
    color: var(--accent, #10b981);
}

.lp-feat-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 10px;
}

.lp-feat-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 14px;
    line-height: 1.6;
}

.lp-feat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.lp-feat-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.lp-feat-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 2px;
    background: var(--accent, #10b981);
    border-radius: 2px;
}

/* ─── Showcase (xen kẽ text + screenshot) ─────────────────────────── */
.lp-showcase { padding-top: 80px; padding-bottom: 80px; }

.lp-show-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    align-items: center;
    padding: 32px 0;
}

.lp-show-reverse {
    grid-template-columns: 1.3fr 1fr;
}
.lp-show-reverse .lp-show-copy  { order: 2; }
.lp-show-reverse .lp-show-visual { order: 1; }

.lp-show-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.015em;
    margin: 0 0 12px;
    line-height: 1.2;
}

.lp-show-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    max-width: 440px;
}

/* ─── Pack mini grid (showcase) — ẩn composition tech của mỗi pack ──
   Chỉ hiện icon + tên. KHÔNG kèm mô tả như "Giá trên MA50 + MACD dương"
   vì đó là bí mật sản phẩm, lộ ra là bị clone. */
.lp-packs-mock {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 18px;
    background: var(--surface, #fff);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.14);
}
.lp-pack-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--surface-2, #f8fafc);
    border: 1px solid var(--border-subtle);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
}
.lp-pack-mini span {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
.lp-pack-bull span { background: rgba(16, 185, 129, 0.1); }
.lp-pack-bear span { background: rgba(239, 68, 68, 0.1); }
.lp-pack-div  span { background: rgba(99, 102, 241, 0.1); }

:root[data-theme="dark"] .lp-packs-mock { background: #141414; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .lp-packs-mock { background: #141414; }
}

/* ─── Share section ───────────────────────────────────────────────── */
.lp-share-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.lp-share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.lp-share-copy .lp-section-eyebrow { margin-bottom: 14px; }
.lp-share-copy .lp-section-title {
    font-size: 36px;
    text-align: left;
    margin-bottom: 16px;
}

.lp-share-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.lp-share-feats {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 10px;
}

.lp-share-feats li {
    font-size: 14px;
    color: var(--text);
    padding-left: 26px;
    position: relative;
    line-height: 1.5;
}

.lp-share-feats li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 10px;
    background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.lp-share-feats code {
    font-size: 12.5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--surface-2, #f1f5f9);
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.lp-share-mock-card {
    background: var(--surface, #fff);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.18);
}

.lp-share-mock-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: var(--surface-2, #f8fafc);
    border-bottom: 1px solid var(--border-subtle);
}

.lp-share-mock-body {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 24px;
    align-items: center;
}

.lp-share-mock-qr {
    width: 140px;
    height: 140px;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border);
}

/* QR giả — grid 7x7 ô vuông đen/trắng tạo pattern giống QR */
.lp-qr-pattern {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    width: 100%;
    height: 100%;
}
.lp-qr-pattern span {
    background: #0a0a0a;
    border-radius: 2px;
}
.lp-qr-pattern span:nth-child(odd) { background: #0a0a0a; }
.lp-qr-pattern span:nth-child(3n) { background: transparent; }
.lp-qr-pattern span:nth-child(5n) { background: transparent; }
.lp-qr-pattern span:nth-child(7n+2) { background: #0a0a0a; }
.lp-qr-pattern span:nth-child(11n+1) { background: transparent; }

.lp-share-mock-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lp-share-stat {
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--surface-2, #f8fafc);
    border: 1px solid var(--border-subtle);
}

.lp-share-stat-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent, #10b981);
    line-height: 1;
    letter-spacing: -0.01em;
}

.lp-share-stat-lbl {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* ─── How steps ───────────────────────────────────────────────────── */
.lp-how-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.lp-how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.lp-how-step {
    padding: 28px 24px;
    background: var(--surface, #fff);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: center;
}

.lp-how-num {
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--accent, #10b981);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
}

.lp-how-step h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 8px;
}

.lp-how-step p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ─── Voucher banner — kiểu CTA tối "100 điểm" ─────────────────── */
.lp-voucher { padding-top: 40px; padding-bottom: 40px; }

.lp-voucher-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 36px 44px;
    border-radius: 20px;
    background: #0f1d14;
    color: #fff;
    box-shadow: 0 24px 60px -16px rgba(16, 185, 129, 0.3);
}
:root[data-theme="dark"] .lp-voucher-card { background: #050b07; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .lp-voucher-card { background: #050b07; }
}

.lp-voucher-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #86efac;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.lp-voucher-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #fff;
}

.lp-voucher-hi { color: #86efac; }

.lp-voucher-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.5;
    max-width: 420px;
}

.lp-voucher-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    align-items: stretch;
    min-width: 220px;
}

.lp-voucher-btn,
.lp-voucher-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
    border: 1px solid transparent;
}

/* Primary — nền trắng, chữ xanh đậm, tương phản mạnh trên nền dark */
.lp-voucher-btn {
    background: #fff;
    color: #052e16;
}
.lp-voucher-btn:hover {
    background: #f0fdf4;
    color: #052e16;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* Ghost — chữ xanh mint, border xanh mờ */
.lp-voucher-ghost {
    background: transparent;
    color: #86efac;
    border-color: rgba(134, 239, 172, 0.3);
}
.lp-voucher-ghost:hover {
    background: rgba(134, 239, 172, 0.1);
    color: #bbf7d0;
    border-color: rgba(134, 239, 172, 0.5);
    text-decoration: none;
}

/* ─── Final CTA ───────────────────────────────────────────────────── */
.lp-cta-end {
    padding: 60px 32px 100px;
}

.lp-cta-end-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--accent) 10%, var(--surface, #fff)),
        var(--surface, #fff));
    border: 1px solid var(--accent-tint, #a7f3d0);
}

.lp-cta-end-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-heading);
    margin: 0 0 12px;
}

.lp-cta-end-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 28px;
}

.lp-cta-end-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Footer ──────────────────────────────────────────────────────── */
.lp-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 56px 32px 32px;
    background: var(--surface-2, #f8fafc);
}

.lp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-subtle);
}

/* 3 cột dàn đều toàn bề rộng, kiểu DNSE — Sản phẩm | Tài khoản | Theo dõi.
   Cột cuối (social) đứng ngang hàng, không tách khối riêng ở dưới. */
.lp-footer-cols {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    text-align: left;
}
.lp-footer-social-col .lp-footer-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lp-footer-col h5 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 14px;
}

.lp-footer-col a,
.lp-footer-col span {
    display: block;
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 3px 0;
    transition: color 0.15s;
}

.lp-footer-col a:hover {
    color: var(--text);
    text-decoration: none;
}

/* Social icon: icon brand (SVG blue circle + F) tự chứa hình tròn —
   bỏ background/border container để tránh chồng 2 lớp tròn lệch nhau. */
.lp-social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    transition: transform 0.15s, box-shadow 0.15s;
}
.lp-social-link svg,
.lp-social-link img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}
.lp-social-link:hover {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(24, 119, 242, 0.3);
}

.lp-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
}

/* Khớp pattern .text-muted + .small của Bootstrap trong profile.html /
   share_not_found.html — font 87.5%, màu text-muted, margin nhẹ. */
.lp-footer-copy,
.lp-footer-disclaimer {
    font-size: 87.5%;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}
.lp-footer-copy       { margin-bottom: 4px; }

/* ─── Dark mode fine-tuning ───────────────────────────────────────── */
:root[data-theme="dark"] .lp-nav {
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    border-bottom-color: var(--border);
}
:root[data-theme="dark"] .lp-feat-card,
:root[data-theme="dark"] .lp-pack-card,
:root[data-theme="dark"] .lp-how-step,
:root[data-theme="dark"] .lp-mock,
:root[data-theme="dark"] .lp-share-mock-card {
    background: var(--surface, #141414);
}
:root[data-theme="dark"] .lp-mock-header,
:root[data-theme="dark"] .lp-share-mock-head,
:root[data-theme="dark"] .lp-mock-result,
:root[data-theme="dark"] .lp-stats-row,
:root[data-theme="dark"] .lp-share-stat,
:root[data-theme="dark"] .lp-footer {
    background: var(--surface-2, rgba(255,255,255,0.03));
}
/* Dark mode: QR vẫn giữ nền trắng + ô đen (chuẩn QR real) — nếu đảo
   màu thì ô trắng chìm vào nền trắng của khung, QR vô hình như user báo. */
:root[data-theme="dark"] .lp-cta-end-inner {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--accent) 15%, var(--surface, #141414)),
        var(--surface, #141414));
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .lp-nav {
        background: color-mix(in srgb, var(--bg) 80%, transparent);
        border-bottom-color: var(--border);
    }
    :root:not([data-theme="light"]) .lp-feat-card,
    :root:not([data-theme="light"]) .lp-pack-card,
    :root:not([data-theme="light"]) .lp-how-step,
    :root:not([data-theme="light"]) .lp-mock,
    :root:not([data-theme="light"]) .lp-share-mock-card {
        background: var(--surface, #141414);
    }
    :root:not([data-theme="light"]) .lp-mock-header,
    :root:not([data-theme="light"]) .lp-share-mock-head,
    :root:not([data-theme="light"]) .lp-mock-result,
    :root:not([data-theme="light"]) .lp-stats-row,
    :root:not([data-theme="light"]) .lp-share-stat,
    :root:not([data-theme="light"]) .lp-footer {
        background: var(--surface-2, rgba(255,255,255,0.03));
    }
    /* Dark mode: giữ nguyên QR đen/trắng chuẩn (xem comment ở block light) */
    :root:not([data-theme="light"]) .lp-cta-end-inner {
        background: linear-gradient(135deg,
            color-mix(in srgb, var(--accent) 15%, var(--surface, #141414)),
            var(--surface, #141414));
    }
}

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .lp-hero {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 64px 24px 48px;
    }
    .lp-hero-title { font-size: 44px; }
    .lp-section-title { font-size: 32px; }
    .lp-feat-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-pillars-grid { grid-template-columns: 1fr; gap: 14px; }
    .lp-why-grid { grid-template-columns: 1fr; gap: 14px; }
    .lp-stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .lp-how-steps { grid-template-columns: 1fr; }
    .lp-share-grid { grid-template-columns: 1fr; gap: 40px; }
    /* Showcase xếp dọc trên tablet, visual lên trên để trực quan hơn */
    .lp-show-row,
    .lp-show-reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 0;
    }
    .lp-show-reverse .lp-show-copy  { order: 2; }
    .lp-show-reverse .lp-show-visual { order: 1; }
    .lp-show-copy  { order: 2; }
    .lp-show-visual { order: 1; }
    .lp-show-title { font-size: 22px; }
    .lp-share-copy .lp-section-title { font-size: 28px; }
    .lp-footer-cols { gap: 32px; }
}

@media (max-width: 640px) {
    .lp-nav { padding: 12px 16px; gap: 12px; }
    .lp-nav-links { display: none; }
    .lp-hero { padding: 48px 16px 32px; }
    .lp-hero-title { font-size: 36px; }
    .lp-hero-sub { font-size: 16px; }
    .lp-section { padding: 56px 16px; }
    .lp-section-title { font-size: 26px; }
    .lp-section-sub { font-size: 15px; }
    .lp-feat-grid { grid-template-columns: 1fr; }
    .lp-packs-mock { grid-template-columns: 1fr; padding: 14px; }
    .lp-voucher-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        gap: 24px;
    }
    .lp-voucher-title { font-size: 24px; }
    .lp-voucher-btn { width: 100%; justify-content: center; }
    .lp-why-quote { padding: 20px 24px; }
    .lp-why-quote p { font-size: 15px; }
    .lp-footer-cols {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: flex-start;
    }
    .lp-footer-col { min-width: 140px; }
    .lp-stats-row {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }
    .lp-stat-num { font-size: 22px; }
    .lp-share-mock-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .lp-share-mock-qr { width: 120px; height: 120px; justify-self: center; }
    .lp-cta-end { padding: 32px 16px 56px; }
    .lp-cta-end-inner { padding: 36px 20px; }
    .lp-cta-end-title { font-size: 24px; }
    .lp-hero-cta { flex-direction: column; align-items: stretch; }
    .lp-hero-cta .lp-btn-primary,
    .lp-hero-cta .lp-btn-ghost { justify-content: center; }
    .lp-cta-end-btns { flex-direction: column; }
}

/* Trang pháp lý (chính sách bảo mật, điều khoản) — dùng chung nav/footer
   landing, phần thân là 1 cột chữ dễ đọc. */
/* Cùng khung 1200px + lề 32px với .lp-nav-inner và chân trang để thân bài
   thẳng hàng hai mép trái/phải với logo và nút "Bắt đầu". */
.legal-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px 64px;
}
.legal-doc {
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
}
.legal-doc h1 { font-size: 28px; margin: 0 0 4px; color: var(--text-heading); }
.legal-doc h2 { font-size: 19px; margin: 32px 0 8px; }
.legal-doc h3 { font-size: 16px; margin: 20px 0 6px; }
.legal-doc p, .legal-doc ul { margin: 0 0 12px; }
.legal-doc ul { padding-left: 22px; }
.legal-doc li { margin-bottom: 4px; }
.legal-doc a { color: var(--accent); text-decoration: none; }
.legal-doc a:hover { text-decoration: underline; }
.legal-updated { color: var(--text-muted); font-size: 14px; }
@media (max-width: 640px) {
    .legal-main { padding: 24px 16px 48px; }
    .legal-doc h1 { font-size: 24px; }
}
/* Link fanpage: chữ thường như thân bài, riêng "Facebook" màu xanh thương hiệu FB. */
.legal-doc a.legal-fb { color: inherit; }
.legal-doc a.legal-fb span { color: #1877F2; font-weight: 600; }
