/*
|--------------------------------------------------------------------------
| ThreadPress Landing Home V2
|--------------------------------------------------------------------------
*/
.tplp-wrap{--lp-primary:var(--tpp-accent,#2563eb);--lp-ink:#0f172a;--lp-muted:#64748b;--lp-border:#e5e7eb;--lp-soft:#f8fbff;max-width:1320px;margin:0 auto;padding:0 24px 28px;color:var(--lp-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.tplp-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0 18px;border-bottom:1px solid rgba(226,232,240,.75)}.tplp-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}.tplp-brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;background:linear-gradient(135deg,#4f46e5,var(--lp-primary));color:#fff;font-weight:900;box-shadow:0 16px 34px rgba(37,99,235,.22)}.tplp-brand strong{display:block;font-size:22px;line-height:1}.tplp-brand small{display:block;margin-top:3px;color:var(--lp-muted);font-size:11px}.tplp-menu{display:flex;gap:28px;font-weight:760;font-size:14px}.tplp-menu a{text-decoration:none;color:var(--lp-ink)}.tplp-menu a:hover{color:var(--lp-primary)}.tplp-head-actions,.tplp-hero-actions{display:flex;gap:12px;align-items:center}.tplp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 22px;border-radius:12px;font-weight:800;text-decoration:none;border:1px solid transparent;transition:.2s ease}.tplp-btn:hover{transform:translateY(-1px)}.tplp-btn-primary{background:linear-gradient(135deg,var(--lp-primary),#6d5dfc);color:#fff;box-shadow:0 18px 36px rgba(37,99,235,.24)}.tplp-btn-ghost,.tplp-btn-white{background:#fff;color:var(--lp-ink);border-color:#dbe4f0;box-shadow:0 12px 28px rgba(15,23,42,.05)}.tplp-btn-large{min-height:54px;padding:0 28px;border-radius:14px}.tplp-hero{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:center;min-height:610px;padding:55px 0}.tplp-hero-copy h1{max-width:650px;margin:22px 0 20px;font-size:clamp(42px,5vw,66px);line-height:1.14;letter-spacing:-.055em;font-weight:850}.tplp-hero-copy h1::first-letter{letter-spacing:-.08em}.tplp-hero-copy p{max-width:560px;margin:0;color:#475569;font-size:18px;line-height:1.8}.tplp-eyebrow{display:inline-flex;padding:10px 18px;border-radius:999px;background:rgba(99,102,241,.1);color:#4f46e5;font-weight:800;font-size:14px}.tplp-hero-actions{margin-top:34px}.tplp-mini-points{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:36px;max-width:620px}.tplp-mini-points div{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center}.tplp-mini-points span{grid-row:span 2;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;color:#4f46e5;box-shadow:0 12px 24px rgba(15,23,42,.08)}.tplp-mini-points strong{font-size:13px}.tplp-mini-points small{color:var(--lp-muted);font-size:12px}.tplp-hero-visual{position:relative}.tplp-app-card{display:grid;grid-template-columns:170px 1fr;min-height:500px;border:1px solid rgba(203,213,225,.9);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 30px 90px rgba(15,23,42,.14);overflow:hidden;backdrop-filter:blur(18px)}.tplp-app-sidebar{padding:24px 18px;background:linear-gradient(180deg,#fff,#f8fbff);border-right:1px solid #eaf0f7;display:flex;flex-direction:column;gap:17px;color:#475569;font-size:13px}.tplp-dot-logo{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,var(--lp-primary),#7c3aed);color:#fff}.tplp-app-sidebar b{padding:11px 13px;border-radius:10px;background:#eaf2ff;color:var(--lp-primary)}.tplp-app-sidebar button{margin-top:auto;border:0;border-radius:10px;min-height:40px;background:linear-gradient(135deg,var(--lp-primary),#4f46e5);color:#fff;font-weight:800}.tplp-app-feed{padding:22px}.tplp-app-tabs{display:flex;justify-content:space-around;border-bottom:1px solid #edf2f7;padding-bottom:18px;margin-bottom:20px;color:#64748b}.tplp-app-tabs b{color:var(--lp-primary)}.tplp-demo-post{padding:18px;border:1px solid #edf2f7;border-radius:18px;background:#fff;box-shadow:0 16px 32px rgba(15,23,42,.06);margin-bottom:18px}.tplp-demo-head{display:flex;align-items:center;gap:12px}.tplp-demo-head i{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#ec4899)}.tplp-demo-head b,.tplp-demo-head small{display:block}.tplp-demo-head small{color:#64748b}.tplp-demo-head em{margin-left:auto;font-style:normal;color:#64748b}.tplp-demo-post p{font-size:14px;line-height:1.6;color:#334155}.tplp-demo-tags{color:var(--lp-primary);font-weight:700;font-size:13px}.tplp-demo-image{height:150px;border-radius:12px;margin-top:14px;background:linear-gradient(135deg,rgba(37,99,235,.25),rgba(124,58,237,.18)),url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="600" height="320"><rect width="100%" height="100%" fill="%23e2e8f0"/><circle cx="120" cy="100" r="44" fill="%23cbd5e1"/><rect x="210" y="80" width="260" height="26" rx="12" fill="%2394a3b8"/><rect x="210" y="125" width="210" height="18" rx="9" fill="%23cbd5e1"/></svg>') center/cover}.tplp-demo-actions{display:flex;justify-content:space-between;color:#475569;margin-top:14px;font-weight:700}.tplp-small-post{opacity:.9}.tplp-floating{position:absolute;right:-36px;display:flex;align-items:center;justify-content:center;min-width:86px;height:58px;border-radius:999px;color:#fff;font-weight:900;box-shadow:0 20px 45px rgba(15,23,42,.18)}.tplp-like-float{top:150px;background:#f43f5e}.tplp-share-float{top:250px;background:#5b5ff0}.tplp-trending{display:flex;align-items:center;gap:22px;margin:8px 0 62px;padding:22px 26px;background:rgba(255,255,255,.9);border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 20px 60px rgba(15,23,42,.08)}.tplp-trending-title{font-weight:900;font-size:18px;white-space:nowrap}.tplp-tags{display:flex;flex-wrap:wrap;gap:14px}.tplp-tags a{padding:9px 18px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-weight:800;text-decoration:none;font-size:14px}.tplp-tags a:nth-child(2n){background:#ecfdf5;color:#16a34a}.tplp-tags a:nth-child(3n){background:#fff7ed;color:#ea580c}.tplp-tags a:nth-child(4n){background:#fdf2f8;color:#db2777}.tplp-section{padding:0 0 72px}.tplp-section-head{text-align:center;margin-bottom:34px}.tplp-section-head span,.tplp-preview-copy span{color:#4f46e5;font-weight:900;font-size:13px;letter-spacing:.08em}.tplp-section-head h2,.tplp-preview-copy h2{margin:10px 0 10px;font-size:clamp(28px,3vw,38px);line-height:1.2;letter-spacing:-.035em}.tplp-section-head p,.tplp-preview-copy p{color:#64748b;line-height:1.8}.tplp-features{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}.tplp-features div{padding:34px 26px;text-align:center;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 16px 38px rgba(15,23,42,.05)}.tplp-features span{font-size:36px}.tplp-features h3{font-size:18px;margin:18px 0 10px}.tplp-features p{color:#64748b;line-height:1.7;margin:0}.tplp-preview{display:grid;grid-template-columns:300px 1fr;gap:42px;align-items:center;margin:0 -24px;padding:70px 24px;background:linear-gradient(180deg,#f7faff,#fff)}.tplp-preview-copy{padding-left:44px}.tplp-preview-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.tplp-post-card{padding:18px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 20px 55px rgba(15,23,42,.08)}.tplp-post-author{display:flex;gap:10px;align-items:center;margin-bottom:14px}.tplp-post-author img{border-radius:50%}.tplp-post-author b,.tplp-post-author small{display:block}.tplp-post-author small{color:#64748b}.tplp-post-card h3{font-size:16px;line-height:1.4;margin:0 0 8px}.tplp-post-card p{font-size:14px;color:#475569;line-height:1.6}.tplp-post-thumb img{display:block;border-radius:14px;margin-top:12px;width:100%;height:150px;object-fit:cover}.tplp-post-actions{display:flex;justify-content:space-between;margin-top:14px;color:#475569;font-weight:800}.tplp-cta{display:grid;grid-template-columns:1.5fr repeat(3,.4fr) auto;gap:26px;align-items:center;margin-top:48px;padding:34px;border-radius:18px;background:linear-gradient(135deg,#4f46e5,var(--lp-primary));color:#fff;box-shadow:0 24px 70px rgba(37,99,235,.25)}.tplp-cta h2{font-size:32px;line-height:1.25;margin:0 0 10px}.tplp-cta p{margin:0;color:rgba(255,255,255,.78);line-height:1.7}.tplp-stats b{display:block;font-size:30px}.tplp-stats span{font-weight:700;color:rgba(255,255,255,.8)}@media(max-width:1100px){.tplp-hero{grid-template-columns:1fr;gap:34px}.tplp-hero-visual{max-width:760px}.tplp-features{grid-template-columns:repeat(2,1fr)}.tplp-preview{grid-template-columns:1fr}.tplp-preview-copy{padding-left:0}.tplp-preview-cards{grid-template-columns:repeat(2,1fr)}.tplp-cta{grid-template-columns:1fr 1fr 1fr}}@media(max-width:760px){.tplp-wrap{padding:0 14px 84px}.tplp-header{gap:12px}.tplp-menu{display:none}.tplp-brand strong{font-size:18px}.tplp-head-actions{gap:8px}.tplp-head-actions .tplp-btn{padding:0 14px}.tplp-hero{padding:34px 0;min-height:0}.tplp-hero-copy h1{font-size:38px}.tplp-hero-copy p{font-size:16px}.tplp-hero-actions{display:grid}.tplp-mini-points{grid-template-columns:1fr}.tplp-app-card{grid-template-columns:1fr}.tplp-app-sidebar{display:none}.tplp-floating{display:none}.tplp-trending{display:block;margin-bottom:42px}.tplp-trending-title{margin-bottom:14px}.tplp-features,.tplp-preview-cards{grid-template-columns:1fr}.tplp-preview{margin:0 -14px;padding:46px 14px}.tplp-cta{grid-template-columns:1fr;text-align:left}.tplp-cta h2{font-size:26px}}

/*
|--------------------------------------------------------------------------
| Landing Layout Fix
|--------------------------------------------------------------------------
| Guest / belum login: landing full-width tanpa sidebar.
| Logged-in / sudah login: kembali ke layout feed theme utama dengan sidebar.
*/
body[class*="home-landing"]:not(.logged-in) .tpp-sidebar-left,
body[class*="home-landing"]:not(.logged-in) .tpp-sidebar-right,
body[class*="home-landing"]:not(.logged-in) .tpp-mobile-nav {
    display: none !important;
}

body[class*="home-landing"]:not(.logged-in) .tpp-shell {
    display: block !important;
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
}

body[class*="home-landing"]:not(.logged-in) .tpp-main {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Override jika sebelumnya sidebar disembunyikan global untuk template landing */
body.logged-in[class*="home-landing"] .tpp-shell {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 680px) 320px !important;
    gap: 22px !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 18px !important;
}

body.logged-in[class*="home-landing"] .tpp-sidebar-left,
body.logged-in[class*="home-landing"] .tpp-sidebar-right {
    display: block !important;
}

body.logged-in[class*="home-landing"] .tpp-main {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

@media (max-width: 1100px) {
    body.logged-in[class*="home-landing"] .tpp-shell {
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }

    body.logged-in[class*="home-landing"] .tpp-sidebar-right {
        display: none !important;
    }
}

@media (max-width: 760px) {
    body.logged-in[class*="home-landing"] .tpp-shell {
        display: block !important;
        padding: 10px !important;
    }

    body.logged-in[class*="home-landing"] .tpp-sidebar-left,
    body.logged-in[class*="home-landing"] .tpp-sidebar-right {
        display: none !important;
    }

    body.logged-in[class*="home-landing"] .tpp-mobile-nav {
        display: grid !important;
    }
}
