/* Landing marketing thePOS — desain port dari index.php statis + form kontak CMS. */
:root {
  --navy: #0f1f38;
  --navy-2: #16294a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --ink: #0f1a2b;
  --sub: #5b6676;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  /* alias lama (contact / legacy) */
  --lp-navy: var(--navy);
  --lp-accent: var(--blue);
  --lp-muted: var(--sub);
  --lp-bg: var(--bg-soft);
  --lp-border: var(--line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

.lp-body {
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-width: 320px;
  line-height: 1.55;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.lp-body a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px; color: #fff;
  font-weight: 700; font-size: 17px; letter-spacing: .2px;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 7px; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #cbd5e8; font-size: 14px; font-weight: 500; }
.nav-cta {
  display: inline-block; background: var(--blue); color: #fff; border: none;
  border-radius: 8px; padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
}
@media (max-width: 720px) { .nav-links { display: none; } }

/* ===== Hero ===== */
.hero { background: var(--navy); color: #fff; padding: 72px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; color: #9fb3d9;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 48px); line-height: 1.12; margin: 0 0 18px;
  font-weight: 800; letter-spacing: -.01em;
}
.hero p.lead {
  font-size: 18px; line-height: 1.6; color: #c3cfe3; margin: 0 0 32px; max-width: 52ch;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-primary {
  display: inline-block; background: var(--blue); color: #fff; border: none;
  border-radius: 9px; padding: 14px 26px; font-size: 15px; font-weight: 700; cursor: pointer;
}
.btn-ghost {
  display: inline-block; background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 9px;
  padding: 14px 26px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.hero-note { margin-top: 14px; font-size: 13px; color: #8fa0bd; }

.hero-card {
  background: #fff; border-radius: 14px; padding: 22px; color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.hero-card-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}
.hero-card-head .title { font-weight: 700; font-size: 15px; }
.hero-card-head .badge {
  font-size: 11px; font-weight: 700; color: #166534; background: #dcfce7;
  padding: 3px 9px; border-radius: 999px;
}
.row-item {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.row-item:last-child { border-bottom: none; }
.row-item .n { color: var(--sub); }
.row-item .v { font-weight: 600; }
.card-total {
  display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px;
  border-top: 2px solid var(--ink); font-weight: 800; font-size: 16px;
}

/* ===== Proof / stats ===== */
.proof { padding: 40px 0; border-bottom: 1px solid var(--line); }
.proof-inner {
  display: flex; flex-wrap: wrap; gap: 20px 40px;
  align-items: center; justify-content: space-between;
}
.proof-label { font-size: 13px; color: var(--sub); font-weight: 600; }
.proof-stats { display: flex; flex-wrap: wrap; gap: 36px; }
.stat { text-align: left; }
.stat .num { font-size: 24px; font-weight: 800; color: var(--navy); }
.stat .lbl { font-size: 12.5px; color: var(--sub); margin-top: 2px; }

/* ===== Sections ===== */
section.block { padding: 84px 0; }
.block-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 0 48px; }
.kicker {
  font-size: 13px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin: 0 0 14px;
  font-weight: 800; color: var(--navy);
}
.section-head p { font-size: 16px; color: var(--sub); line-height: 1.6; margin: 0; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}
.benefit-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px;
}
.benefit-icon {
  width: 40px; height: 40px; border-radius: 9px; background: #e9eefb; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; margin-bottom: 16px;
}
.benefit-card h3 { font-size: 16.5px; margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.benefit-card p { font-size: 14.5px; color: var(--sub); line-height: 1.6; margin: 0; }

.case-panel {
  background: var(--navy); color: #fff; border-radius: 16px; padding: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 40px; align-items: center;
}
.case-panel h3 { font-size: 22px; margin: 0 0 12px; font-weight: 800; }
.case-panel p { color: #c3cfe3; font-size: 15px; line-height: 1.65; margin: 0 0 20px; }
.case-quote {
  font-size: 16px; line-height: 1.6; font-style: italic; color: #fff;
  border-left: 3px solid var(--blue); padding-left: 16px; margin: 0 0 16px;
}
.case-attr { font-size: 13px; color: #9fb3d9; }
.case-metrics { display: flex; flex-direction: column; gap: 18px; }
.metric-row {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px; padding: 16px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.metric-row .m-lbl { font-size: 13.5px; color: #cbd5e8; }
.metric-row .m-val { font-size: 18px; font-weight: 800; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 28px;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; margin-bottom: 14px;
}
.step h4 { font-size: 15.5px; margin: 0 0 6px; font-weight: 700; }
.step p { font-size: 14px; color: var(--sub); line-height: 1.6; margin: 0; }

.pricing-note {
  background: #fff; border: 1px dashed #c6cedd; border-radius: 14px;
  padding: 36px; text-align: center; max-width: 640px; margin: 0 auto;
}
.pricing-note h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: var(--navy); }
.pricing-note p { margin: 0 0 22px; color: var(--sub); font-size: 15px; line-height: 1.6; }
.pricing-placeholder {
  display: inline-block; font-size: 13px; font-weight: 700; color: #92400e;
  background: #fef3c7; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.pricing-note .btn-primary { background: var(--navy); }

.final-cta { background: var(--navy); color: #fff; text-align: center; padding: 84px 0; }
.final-cta h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 0 0 14px; }
.final-cta p { color: #c3cfe3; font-size: 16px; margin: 0 0 30px; }

.site-footer { background: #0b1626; color: #8095b3; padding: 40px 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 20px; align-items: center; font-size: 13px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }

/* ===== Showcase carousel ===== */
.carousel-head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 16px; margin-bottom: 32px;
}
.carousel-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 16px; margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-thumb { background: #d4dbe6; border-radius: 999px; }
.screen-card {
  scroll-snap-align: start; flex: 0 0 auto; width: min(360px, 82vw);
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 31, 56, .08);
}
.screen-chrome {
  background: var(--navy); padding: 10px 14px; display: flex; align-items: center; gap: 6px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.screen-body { padding: 18px; }
.screen-tag {
  font-size: 11px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px;
}
.screen-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.mini-row {
  display: flex; justify-content: space-between; font-size: 12.5px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.mini-row:last-child { border-bottom: none; }
.mini-row .v { font-weight: 600; }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding-top: 10px; }
.bar {
  flex: 1; background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  border-radius: 4px 4px 0 0;
}
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi-box { background: var(--bg-soft); border-radius: 8px; padding: 10px 12px; }
.kpi-box .k-lbl { font-size: 11px; color: var(--sub); }
.kpi-box .k-val { font-size: 16px; font-weight: 800; color: var(--navy); margin-top: 2px; }

/* ===== Pricing plans (multi-paket, legacy CMS) ===== */
.pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
}
.pricing-plan {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 26px; display: flex; flex-direction: column; gap: .6rem;
}
.pricing-plan-hl {
  border: 2px solid var(--blue);
  box-shadow: 0 8px 24px rgba(37, 99, 235, .15);
}
.pricing-plan .lp-price { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.pricing-plan .lp-price small { font-size: .95rem; font-weight: 500; color: var(--sub); }
.pricing-plan ul { margin: 0; padding-left: 1.1rem; color: var(--sub); flex: 1; }
.pricing-plan .btn-primary { text-align: center; }

/* ===== Contact / legacy lp-* ===== */
.lp-wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.lp-center { text-align: center; }
.lp-block { padding: 3.5rem 0; }
.lp-title {
  text-align: center; font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 2rem; color: var(--navy);
}
.lp-lead { font-size: 1.15rem; color: var(--sub); max-width: 46rem; }
.lp-center .lp-lead, .lp-lead.lp-center { margin-left: auto; margin-right: auto; }
.lp-btn {
  display: inline-block; padding: .75rem 1.4rem; border-radius: 8px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; min-height: 44px;
}
.lp-btn-sm { padding: .45rem 1rem; min-height: auto; }
.lp-btn-primary { background: var(--blue); color: #fff; }
.lp-btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.lp-contact-list { list-style: none; padding: 0; margin: 1.25rem 0; text-align: center; color: var(--sub); }
.lp-contact-list li { margin: .3rem 0; }
.lp-form { display: grid; gap: .9rem; max-width: 34rem; margin: 1.5rem auto 0; }
.lp-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.lp-form input, .lp-form textarea {
  font: inherit; padding: .7rem .8rem; border: 1px solid var(--line);
  border-radius: 8px; min-height: 44px;
}
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-alert { max-width: 34rem; margin: 1rem auto 0; padding: .8rem 1rem; border-radius: 8px; }
.lp-alert-ok { background: #e8f7ee; color: #146c3a; }
.lp-alert-err { background: #fdecec; color: #9b1c1c; }

.lp-testimonial { background: var(--bg-soft); padding: 84px 0; }
.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.lp-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; }
.lp-quote { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.lp-quote blockquote { margin: 0; font-style: italic; color: #33445a; }
.lp-quote figcaption { display: flex; align-items: center; gap: .75rem; }
.lp-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

@media (max-width: 720px) {
  .hero { padding: 48px 0 56px; }
  section.block { padding: 56px 0; }
  .case-panel { padding: 28px; }
  .final-cta { padding: 56px 0; }
  .lp-testimonial { padding: 56px 0; }
}

/* ===== Register form ===== */
.register-wrap {
  min-height: calc(100vh - 64px - 120px);
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background: var(--bg-soft);
}
.register-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 12px 40px rgba(15, 31, 56, .08);
}
.register-card h1 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
}
.register-lead {
  margin: 0 0 1.4rem;
  color: var(--sub);
  font-size: 14.5px;
  line-height: 1.55;
}
.register-label {
  display: grid;
  gap: .35rem;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .95rem;
  color: var(--ink);
}
.register-input {
  font: inherit;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  width: 100%;
}
.register-input:focus {
  outline: 2px solid rgba(37, 99, 235, .35);
  border-color: var(--blue);
}
.register-turnstile {
  margin: .35rem 0 .15rem;
  min-height: 65px;
}
.register-turnstile .cf-turnstile {
  width: 100%;
}
.register-submit {
  width: 100%;
  margin-top: .4rem;
  text-align: center;
  border: none;
}
.register-submit:disabled {
  opacity: .65;
  cursor: wait;
}
.register-back {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--sub);
}
.register-back a {
  color: var(--blue);
  font-weight: 600;
}
.site-footer a {
  color: #a8bdd8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.final-cta .cta-row { margin-top: 0; }
