﻿/* ══════════════════════════════════════════════════════════════════
   QTTH.NET — Landing Page Styles
   Prefix: lp-  (tránh conflict với global styles)
   Palette: Navy #152e4e | Blue #2563eb | Orange #f97316 | White
   ══════════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────────── */
.lp-header, .lp-hero, .lp-section, .lp-section--alt,
.lp-cta, .lp-footer, .lp-dash {
    --lp-navy:    #001025;
    --lp-navy2:   #012a5f;
    --lp-blue:    #033297;
    --lp-blue-dk: #043bd1;
    --lp-orange:  #f97316;
    --lp-success: #10b981;
    --lp-white:   #ffffff;
    --lp-light:   #f8fafc;
    --lp-border:  #e2e8f0;
    --lp-text:    #010a16;
    --lp-muted:   #1e2830;
    --lp-dark:    #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--lp-text);
}

/* ── RESET (scoped) ──────────────────────────────────────────────── */
.lp-header *, .lp-hero *, .lp-section *,
.lp-cta *, .lp-footer *, .lp-dash * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── LAYOUT HELPERS ──────────────────────────────────────────────── */
.lp-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: .95rem;
    font-weight: 750;
    border-radius: 8px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
}
.lp-btn--lg { padding: 14px 28px; font-size: 1.05rem; }

.lp-btn--primary {
    background: var(--lp-blue);
    color: #fff;
    border-color: var(--lp-blue);
}
.lp-btn--primary:hover {
    background: var(--lp-blue-dk);
    border-color: var(--lp-blue-dk);
    transform: translateY(-1px);
}

.lp-btn--ghost {
    background: transparent;
    color: var(--lp-text);
}
.lp-btn--ghost:hover { background: var(--lp-light); }

.lp-btn--ghost-light {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.25);
}
.lp-btn--ghost-light:hover { background: rgba(255,255,255,.22); }

.lp-btn--outline {
    background: transparent;
    color: var(--lp-text);
    border-color: var(--lp-border);
}
.lp-btn--outline:hover { background: var(--lp-light); border-color: var(--lp-muted); }

.lp-btn--shine {
    position: relative;
    overflow: hidden;
}
.lp-btn--shine::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 30%; height: 200%;
    background: rgba(255,255,255,.25);
    transform: rotate(30deg);
    transition: none;
}
.lp-btn--shine:hover::after {
    left: 140%;
    transition: left .55s ease-in-out;
}

/* ══════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════ */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226,232,240,.9);
}
.lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* Logo */
.lp-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lp-navy);
    text-decoration: none;
    letter-spacing: -.5px;
}
.lp-logo span { color: var(--lp-blue); }

/* Nav */
.lp-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}
.lp-nav a:hover { color: var(--lp-navy); }

.lp-header__actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.lp-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.lp-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--lp-dark);
    border-radius: 2px;
    transition: all .3s ease;
}
.lp-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-hamburger--open span:nth-child(2) { opacity: 0; }
.lp-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.lp-hero {
    padding: 88px 0 72px;
    background:
        radial-gradient(ellipse 70% 60% at 90% -10%, rgba(37,99,235,.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 100%, rgba(249,115,22,.05) 0%, transparent 50%);
}
.lp-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Eyebrow */
.lp-eyebrow {
    display: inline-block;
    background: rgba(37,99,235,.07);
    color: var(--lp-blue);
    border: 1px solid rgba(37,99,235,.15);
    padding: 5px 14px;
    border-radius: 99px;
    font-size: .8rem;
    font-weight: 650;
    margin-bottom: 20px;
}

.lp-hero__copy h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.18;
    color: var(--lp-navy);
    letter-spacing: -1.2px;
    margin-bottom: 18px;
}
.lp-accent { color: var(--lp-blue); }

.lp-hero__copy p {
    font-size: 1.05rem;
    color: var(--lp-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}
.lp-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── MOCKUP ────────────────────────────────────────────────────────── */
.lp-mockup {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(15,23,42,.09), 0 0 0 1px var(--lp-border);
    overflow: hidden;
}
.lp-mockup__bar {
    background: #f1f5f9;
    border-bottom: 1px solid var(--lp-border);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.lp-mockup__dots { display: flex; gap: 5px; }
.lp-mockup__dots span {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}
.lp-mockup__title { font-size: .75rem; color: var(--lp-muted); font-weight: 500; }

.lp-mockup__body {
    display: grid;
    grid-template-columns: 65px 1fr;
    height: 262px;
}
.lp-mockup__sidebar {
    background: #f8fafc;
    border-right: 1px solid var(--lp-border);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-sb {
    height: 10px;
    border-radius: 4px;
    background: #e2e8f0;
}
.lp-sb--active { background: rgba(37,99,235,.2); }

.lp-mockup__content { padding: 14px; }

.lp-tkb-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.lp-tkb-col {
    font-size: .75rem;
    font-weight: 750;
    color: var(--lp-muted);
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--lp-border);
}
.lp-cell {
    border-radius: 10px;
    padding: 6px 7px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.5;
}
.lp-cell--blue   { background: rgba(37,99,235,.08);  color: #2563eb; border-left: 3px solid #2563eb; }
.lp-cell--purple { background: rgba(139,92,246,.08); color: #7c3aed; border-left: 3px solid #7c3aed; }
.lp-cell--orange { background: rgba(249,115,22,.08); color: #c2410c; border-left: 3px solid #f97316; }
.lp-cell--green  { background: rgba(16,185,129,.08); color: #059669; border-left: 3px solid #10b981; }

/* Stats strip */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 16px;
}
.lp-stat {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}
.lp-stat--highlight {
    border-color: rgba(16,185,129,.35);
    background: rgba(16,185,129,.02);
}
.lp-stat__num {
    font-size: 1.4rem;
    font-weight: 750;
    color: var(--lp-navy);
    line-height: 1;
}
.lp-stat--highlight .lp-stat__num { color: var(--lp-success); }
.lp-stat__lbl {
    font-size: .75rem;
    color: var(--lp-muted);
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════════ */
.lp-section     { padding: 80px 0; background: #fff; }
.lp-section--alt { padding: 80px 0; background: var(--lp-light); }

.lp-section__hd {
    text-align: center;
    margin-bottom: 52px;
}
.lp-section__hd h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lp-navy);
    letter-spacing: -.5px;
    line-height: 1.25;
    margin-bottom: 12px;
}
.lp-section__hd p {
    font-size: 1.25rem;
    color: var(--lp-muted);
}

/* ── QUY TRÌNH ────────────────────────────────────────────────────── */
.lp-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.lp-step {
    flex: 1;
    max-width: 320px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.lp-step:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,.04); }
.lp-step__num {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: .7rem;
    font-weight: 800;
    color: var(--lp-blue);
    letter-spacing: 1px;
    opacity: .6;
}
.lp-step__icon { font-size: 2rem; margin-bottom: 12px; }
.lp-step h4 { font-size: 1.05rem; color: var(--lp-navy); margin-bottom: 8px; }
.lp-step p  { font-size: .85rem; color: var(--lp-muted); line-height: 1.6; }
.lp-step__arrow { color: var(--lp-muted); flex-shrink: 0; }

/* ── DASHBOARD MOCKUP ────────────────────────────────────────────── */
.lp-dash {
    background: var(--lp-dark);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 30px 60px rgba(0,0,0,.22);
}
.lp-dash__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.lp-dcard {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    padding: 20px;
    color: #e2e8f0;
}
.lp-dcard--wide { grid-column: span 2; }

.lp-dcard__hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 8px;
}
.lp-dcard__hd h4 { font-size: .85rem; font-weight: 600; }
.lp-dcard__date { font-size: .75rem; color: #94a3b8; margin-left: 6px; }

.lp-badge { padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 600; }
.lp-badge--live { background: rgba(16,185,129,.15); color: var(--lp-success); }

.lp-dtable { display: flex; flex-direction: column; gap: 8px; }
.lp-drow {
    display: grid;
    grid-template-columns: .6fr 1.4fr 1.4fr 1.4fr .7fr;
    padding: 9px 10px;
    background: rgba(255,255,255,.03);
    border-radius: 6px;
    font-size: .77rem;
    gap: 4px;
    align-items: center;
}
.lp-drow--hd { background: rgba(255,255,255,.07); font-weight: 600; font-size: .72rem; }
.lp-drow div { color: #94a3b8; }
.lp-drow--hd div { color: #cbd5e1; }
.lp-dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: var(--lp-success);
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.lp-dcard__big {
    font-size: 2rem;
    font-weight: 750;
    line-height: 1;
    margin-bottom: 10px;
}
.lp-dcard__big span { font-size: .8rem; font-weight: 400; color: #94a3b8; margin-left: 6px; }
.lp-dcard__bar {
    height: 5px;
    background: rgba(255,255,255,.1);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 10px;
}
.lp-dcard__bar div { height: 100%; background: var(--lp-blue); border-radius: 99px; }
.lp-dcard p { font-size: .78rem; color: #94a3b8; }

.lp-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 56px;
    margin-bottom: 12px;
}
.lp-chart div {
    flex: 1;
    background: rgba(37,99,235,.55);
    border-radius: 4px 4px 0 0;
    transition: background .2s;
}
.lp-chart div:hover { background: var(--lp-blue); }

.lp-qs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}
.lp-qs h5 { font-size: .75rem; color: #94a3b8; margin-bottom: 4px; }
.lp-qs p  { font-size: 1.3rem; font-weight: 750; color: #fff; }

/* ── TÍNH NĂNG ────────────────────────────────────────────────────── */
.lp-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.lp-feat {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 36px 32px;
    transition: box-shadow .2s, transform .2s;
    font-size: .15rem;
}
.lp-feat:hover { box-shadow: 0 12px 28px rgba(15,23,42,.05); transform: translateY(-2px); }
.lp-feat__icon { font-size: 2rem; margin-bottom: 16px; }
.lp-feat h3 { font-size: 1.05rem; color: var(--lp-navy); font-weight: 700; margin-bottom: 10px; }
.lp-feat p  { font-size: .875rem; color: var(--lp-muted); line-height: 1.65; }

/* ── BẢNG GIÁ ────────────────────────────────────────────────────── */
.lp-pricing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}
.lp-plan {
    background: #fff;
    border: 1.5px solid var(--lp-border);
    border-radius: 16px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.lp-plan--featured {
    border-color: var(--lp-blue);
    box-shadow: 0 12px 32px rgba(37,99,235,.08);
}
.lp-plan__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-blue);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 99px;
    white-space: nowrap;
}
.lp-plan__badge--orange { background: var(--lp-orange); }

.lp-plan h3 { font-size: 1.1rem; color: var(--lp-navy); margin-bottom: 12px; }
.lp-plan__price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--lp-dark);
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.lp-plan__price span { font-size: .85rem; font-weight: 400; color: var(--lp-muted); }
.lp-plan > p {
    font-size: .82rem;
    color: var(--lp-muted);
    margin-bottom: 24px;
    min-height: 40px;
}
.lp-plan ul {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 28px;
}
.lp-plan li {
    font-size: .85rem;
    color: var(--lp-text);
    padding: 6px 0;
    border-bottom: 1px solid var(--lp-border);
}
.lp-plan li:last-child { border-bottom: none; }
.lp-plan .lp-btn { width: 100%; }

/* ── CTA ─────────────────────────────────────────────────────────── */
.lp-cta {
    background: linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-navy2) 100%);
    padding: 88px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.lp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37,99,235,.18) 0%, transparent 60%);
    pointer-events: none;
}
.lp-cta__inner { position: relative; }
.lp-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 14px;
}
.lp-cta p {
    font-size: .95rem;
    color: rgba(255,255,255,.72);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.lp-cta__btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.lp-footer {
    background: #fff;
    border-top: 1px solid var(--lp-border);
    padding: 48px 0 28px;
}
.lp-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}
.lp-footer__inner > div p {
    margin-top: 10px;
    font-size: .82rem;
    color: var(--lp-muted);
}
.lp-footer__nav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}
.lp-footer__nav a {
    font-size: 1rem;
    color: var(--lp-muted);
    text-decoration: none;
    transition: color .15s;
}
.lp-footer__nav a:hover { color: var(--lp-blue); }
.lp-footer__copy {
    grid-column: span 2;
    border-top: 1px solid var(--lp-border);
    padding-top: 20px;
    text-align: center;
    font-size: .78rem;
    color: var(--lp-muted);
}

.lp-section__hd p,
.lp-step p,
.lp-feat p,
.lp-plan > p,
.lp-plan li,
.lp-cta p {
    font-size: 1.05rem;
    line-height: 1.8;
}
/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .lp-hero__inner   { grid-template-columns: 1fr; }
    .lp-hero__copy    { text-align: center; }
    .lp-hero__cta     { justify-content: center; }
    .lp-dash__grid    { grid-template-columns: 1fr; }
    .lp-dcard--wide   { grid-column: span 1; }
    .lp-pricing       { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 768px) {
        .lp-nav {
            display: none;
            position: fixed;
            top: 68px;
            left: 0;
            width: 100%;
            background: #fff;
            flex-direction: column;
            padding: 20px 24px;
            border-bottom: 1px solid var(--lp-border);
            box-shadow: 0 10px 20px rgba(0,0,0,.05);
            gap: 14px;
            z-index: 199;
        }

        .lp-nav--open {
            display: flex;
        }

        .lp-hamburger {
            display: flex;
        }

        /* ── HERO ─────────────────────────────────────────────────── */
        .lp-hero {
            padding: 60px 0 48px;
        }

        .lp-hero__copy h1 {
            font-size: 1.9rem;
            letter-spacing: -.5px;
        }

        /* Mockup: ẩn sidebar, thu gọn TKB grid còn 3 cột */
        .lp-mockup__body {
            grid-template-columns: 1fr;
        }

        .lp-mockup__sidebar {
            display: none;
        }

        .lp-tkb-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .lp-tkb-col:nth-child(n+4),
        .lp-cell:nth-child(5n+4),
        .lp-cell:nth-child(5n+5) {
            display: none;
        }

        /* Stats strip: 2 cột */
        .lp-stats {
            grid-template-columns: repeat(2, 1fr);
        }

        /* ── QUY TRÌNH ────────────────────────────────────────────── */
        .lp-steps {
            flex-direction: column;
            align-items: stretch;
        }

        .lp-step {
            max-width: 100%;
        }

        .lp-step__arrow {
            transform: rotate(90deg);
            align-self: center;
        }

        /* ── DASHBOARD ────────────────────────────────────────────── */
        .lp-dash {
            padding: 16px;
        }

        .lp-dash__grid {
            grid-template-columns: 1fr;
        }

        .lp-dcard--wide {
            grid-column: span 1;
        }

        .lp-drow {
            grid-template-columns: .5fr 1fr 1fr;
            font-size: .72rem;
        }

            .lp-drow div:nth-child(4),
            .lp-drow div:nth-child(5) {
                display: none;
            }

        .lp-qs {
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }

            .lp-qs p {
                font-size: 1rem;
            }

        /* ── TÍNH NĂNG ────────────────────────────────────────────── */
        .lp-features {
            grid-template-columns: 1fr;
        }

        /* ── BẢNG GIÁ ─────────────────────────────────────────────── */
        .lp-pricing {
            grid-template-columns: 1fr;
            max-width: 100%;
            margin: 0 auto;
        }

        .lp-plan {
            padding: 32px 20px;
        }

        /* ── CTA ──────────────────────────────────────────────────── */
        .lp-cta {
            padding: 64px 0;
        }

            .lp-cta h2 {
                font-size: 1.75rem;
            }

        .lp-cta__btns {
            flex-direction: column;
            align-items: center;
        }

        /* ── FOOTER ───────────────────────────────────────────────── */
        .lp-footer__inner {
            grid-template-columns: 1fr;
        }

        .lp-footer__nav {
            justify-content: flex-start;
        }

        .lp-footer__copy {
            grid-column: span 1;
        }

        /* ── OVERFLOW GUARD ───────────────────────────────────────── */
        .lp-container {
            padding: 0 16px;
        }

        .lp-hero__inner,
        .lp-dash__grid,
        .lp-features,
        .lp-pricing,
        .lp-steps {
            overflow-x: hidden;
        }
    }