/* =============================================================================
 *  NuvaTag — landing page (/). Berdiri sendiri, tanpa Tabler.
 *  Token warna & font dari app.css (dimuat lebih dulu).
 * ========================================================================== */

.lp { margin: 0; background: #fff; color: var(--nv-ink); font-family: var(--tblr-font-sans-serif); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp a { color: var(--nv-brand); text-decoration: none; }
.lp a:hover { color: var(--nv-brand-dark); }
.lp h1, .lp h2, .lp h3 { margin: 0; color: inherit; }
.lp p { margin: 0; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.lp-check { width: 16px; height: 16px; flex-shrink: 0; }

/* Tombol */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: background-color .15s, border-color .15s; }
.lp-btn-lg { padding: 15px 24px; border-radius: 12px; font-size: 16px; font-weight: 700; }
.lp .lp-btn-primary { background: var(--nv-brand); color: #fff; }
.lp .lp-btn-primary:hover { background: var(--nv-brand-dark); color: #fff; }
.lp .lp-btn-outline { background: #fff; color: var(--nv-ink); border-color: #CBD5E1; }
.lp .lp-btn-outline:hover { border-color: #94A3B8; color: var(--nv-ink); }
.lp .lp-btn-ghost { color: var(--nv-ink); }
.lp .lp-btn-ghost:hover { background: var(--nv-soft); color: var(--nv-ink); }

/* Navigasi */
.lp-nav { border-bottom: 1px solid var(--nv-line); background: rgba(255, 255, 255, .96); position: sticky; top: 0; z-index: 10; }
.lp-nav .lp-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.lp .lp-brand { display: flex; align-items: center; gap: 10px; color: var(--nv-ink); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.lp-brand img { width: 32px; height: 32px; }
.lp-menu { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.lp .lp-menu a { color: var(--nv-muted); }
.lp .lp-menu a:hover { color: var(--nv-ink); }
.lp-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }

/* Hero */
.lp-hero { background: var(--nv-soft); border-bottom: 1px solid var(--nv-line); }
.lp-hero .lp-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.lp-hero-copy { min-width: 0; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #DCE3EC; font-size: 13px; font-weight: 600; color: var(--nv-brand); }
.lp-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nv-teal); }
.lp-hero h1 { margin-top: 22px; font-size: clamp(34px, 3.9vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
.lp-hero h1 em { font-style: normal; color: var(--nv-brand); }
.lp-hero .lede { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--nv-muted); max-width: 520px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--nv-muted); }
.lp-assure span { display: flex; align-items: center; gap: 6px; }
.lp-assure svg { stroke: var(--nv-teal); }

/* Mock dasbor */
.lp-mock { margin: 0; container-type: inline-size; min-width: 0; background: #fff; border: 1px solid #DCE3EC; border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .18); overflow: hidden; }
.lp-mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #EEF2F6; background: #FAFBFC; font-size: 12px; color: #64748B; font-weight: 600; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.lp-mock-bar span { margin-left: 12px; }
.lp-mock-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.lp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp-stat { border: 1px solid #EEF2F6; border-radius: 12px; padding: 14px; min-width: 0; }
.lp-stat small { display: block; font-size: 12px; color: #64748B; }
.lp-stat b { display: block; margin-top: 4px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-stat.warn { border-color: #F6D9D3; background: #FFF7F5; }
.lp-stat.warn small { color: #9A3412; }
.lp-stat.warn b { color: #B42318; }
.lp-stat.good b { color: #0B7A6E; }
.lp-table { border: 1px solid #EEF2F6; border-radius: 12px; overflow: hidden; }
.lp-row { display: grid; grid-template-columns: 1.45fr 1.5fr 1.25fr 1.1fr; gap: 6px; padding: 12px 14px; border-top: 1px solid #EEF2F6; font-size: 12.5px; align-items: center; }
.lp-row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-row.head { border-top: 0; background: #F8FAFC; font-size: 11px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: .05em; padding-top: 10px; padding-bottom: 10px; }
.lp-row .no { font-weight: 600; }
.lp-row .cust { color: var(--nv-muted); }
.lp-row .amt { text-align: right; font-weight: 700; }
.lp-row .amt.zero { color: #94A3B8; }
.lp-badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.lp-badge.late { background: #FDECEA; color: #B42318; }
.lp-badge.part { background: #E6F0FB; color: var(--nv-brand); }
.lp-badge.open { background: #FEF3C7; color: #8A5300; }
.lp-badge.paid { background: #E3F5EF; color: #0B7A6E; }

/* Strip pengguna */
.lp-strip { border-bottom: 1px solid var(--nv-line); }
.lp-strip .lp-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 36px; padding-top: 26px; padding-bottom: 26px; font-size: 15px; color: var(--nv-muted); }
.lp-strip strong { color: var(--nv-ink); }
.lp-strip .sep { color: #CBD5E1; }

/* Section umum */
.lp-section { padding-top: 96px; padding-bottom: 96px; }
.lp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nv-teal); }
.lp-h2 { margin-top: 12px; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; max-width: 660px; }
.lp-center { text-align: center; }
.lp-center .lp-h2 { margin-left: auto; margin-right: auto; }

/* Fitur */
.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.lp-card { border: 1px solid var(--nv-line); border-radius: 16px; padding: 28px; }
.lp-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.lp-icon.blue { background: #E6F0FB; color: var(--nv-brand); }
.lp-icon.teal { background: #E3F5EF; color: #0B7A6E; }
.lp-icon.amber { background: #FFF1E6; color: #B54708; }
.lp-icon svg { stroke: currentColor; }
.lp-card h3 { margin-top: 20px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.lp-card p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--nv-muted); }

/* Cara kerja */
.lp-dark { background: var(--nv-navy); color: #fff; }
.lp-dark .lp-eyebrow { color: var(--nv-accent); }
.lp-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 48px; }
.lp-step { border-top: 2px solid #3B6EA5; padding-top: 20px; }
.lp-step.first { border-top-color: var(--nv-accent); }
.lp-step .n { font-size: 14px; font-weight: 700; color: #8FB3DA; }
.lp-step.first .n { color: var(--nv-accent); }
.lp-step h3 { margin-top: 10px; font-size: 18px; font-weight: 700; }
.lp-step p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: #B6C4D6; }

/* Keamanan */
.lp-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.lp-split > .copy { flex: 1 1 360px; min-width: 0; }
.lp-split > .grid { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.lp-split .copy p { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--nv-muted); }
.lp-tile { background: var(--nv-soft); border-radius: 14px; padding: 22px; }
.lp-tile h3 { font-size: 16px; font-weight: 700; }
.lp-tile p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--nv-muted); }

/* Harga */
.lp-pricing { background: var(--nv-soft); border-top: 1px solid var(--nv-line); border-bottom: 1px solid var(--nv-line); }
.lp-plans { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 48px; }
.lp-plan { flex: 0 1 360px; min-width: 0; background: #fff; border: 1px solid #DCE3EC; border-radius: 18px; padding: 32px; display: flex; flex-direction: column; text-align: left; }
.lp-plan.featured { border: 2px solid var(--nv-brand); }
.lp-plan .name { font-size: 16px; font-weight: 700; }
.lp-plan.featured .name { color: var(--nv-brand); }
.lp-plan .price { margin-top: 12px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.lp-plan .price small { font-size: 16px; font-weight: 500; color: #64748B; letter-spacing: 0; }
.lp-plan .desc { font-size: 14px; color: #64748B; }
.lp-plan ul { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #334155; flex: 1; }
.lp-plan li { display: flex; gap: 10px; align-items: flex-start; }
.lp-plan li svg { stroke: var(--nv-teal); margin-top: 3px; }
.lp-plan .lp-btn { margin-top: 28px; width: 100%; }

/* CTA & footer */
.lp-final .lp-wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 88px; padding-bottom: 88px; }
.lp-final .copy { flex: 1 1 480px; min-width: 0; }
.lp-final h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 800; letter-spacing: -0.03em; }
.lp-final p { margin-top: 10px; font-size: 17px; color: var(--nv-muted); }
.lp-foot { border-top: 1px solid var(--nv-line); }
.lp-foot .lp-wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: #64748B; }
.lp-foot strong { color: var(--nv-ink); }
.lp-foot .links { margin-left: auto; display: flex; gap: 24px; }
.lp .lp-foot .links a { color: #64748B; }
.lp .lp-foot .links a:hover { color: var(--nv-ink); }

@media (max-width: 960px) {
  .lp-hero .lp-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lp-menu { display: none; }
  .lp-hero .lp-wrap { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .lp-section { padding-top: 64px; padding-bottom: 64px; }
  .lp-stats { grid-template-columns: minmax(0, 1fr); }
  .lp-row { grid-template-columns: 1.2fr 1fr 1fr; }
  .lp-row .cust { display: none; }
  .lp-foot .links { margin-left: 0; }
}

/* Header menempel di atas: beri ruang supaya judul bagian tidak tertutup saat lompat via menu. */
html { scroll-behavior: smooth; }
.lp section[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Mock dasbor menyesuaikan lebarnya sendiri (bukan lebar layar). */
@container (max-width: 470px) {
  .lp-row { grid-template-columns: 1.25fr 1.1fr 1fr; }
  .lp-row .cust { display: none; }
  .lp-stat { padding: 12px; }
  .lp-stat b { font-size: 15px; }
}
