/* Halaman depan: tampilan modern, sama dengan dashboard.
   Plus Jakarta Sans, kartu bulat berbayangan lembut tanpa garis tebal, tombol pil, gradasi hangat.
   Dimuat setelah app.css & landing.css; hanya berlaku di body.landing. */

body.landing {
  --brand: #d4500a;
  --brand-tint: #fdeadd;
  --bg: #f5f4f1;
  --well: #f1efeb;
  --line: rgba(23, 25, 28, 0.08);
  --line-strong: rgba(23, 25, 28, 0.16);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(23, 25, 28, 0.04), 0 12px 32px -16px rgba(23, 25, 28, 0.18);
  --shadow-lift: 0 2px 4px rgba(23, 25, 28, 0.05), 0 24px 48px -20px rgba(23, 25, 28, 0.28);
  letter-spacing: -0.005em;
}

.landing .hazard { display: none; }
.landing .plate { font-family: "JetBrains Mono", ui-monospace, monospace; border: 0; border-radius: 8px; }
.landing .pill { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 12px; }
.landing .mono { font-family: var(--font); font-variant-numeric: tabular-nums; }

/* Tombol */
.landing .btn { border-radius: 999px; font-family: var(--font); font-weight: 700; font-size: 15px; letter-spacing: -0.005em; min-height: 46px; padding: 0 22px; background: var(--brand); box-shadow: 0 10px 22px -12px rgba(212, 80, 10, 0.8); }
.landing .btn.big { min-height: 58px; font-size: 17px; padding: 0 30px; border-radius: 999px; }
.landing .btn.small { min-height: 40px; font-size: 14px; padding: 0 18px; }
.landing .btn.ghost { background: rgba(255, 255, 255, 0.08); box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.22); }
.landing .btn.outline { background: var(--surface); box-shadow: none; border: 1px solid var(--line-strong); color: var(--ink); }

/* Navigasi: kaca gelap */
.landing .nav { background: rgba(21, 23, 26, 0.72); }
.landing .nav.scrolled { background: rgba(21, 23, 26, 0.92); border-bottom-color: rgba(255, 255, 255, 0.08); }
.landing .nav-inner { padding: 12px 20px; }
.landing .brand-text { font-family: var(--font); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.landing .nav-links a { font-size: 14px; border-radius: 999px; padding: 8px 14px; }
.landing .menu-btn { border-radius: 999px; }

/* Hero */
.landing .hero {
  background:
    radial-gradient(700px 420px at 88% 8%, rgba(255, 138, 61, 0.30), transparent 65%),
    radial-gradient(520px 360px at 0% 100%, rgba(255, 196, 0, 0.09), transparent 70%),
    linear-gradient(160deg, #24282d, #121417);
  border-radius: 0 0 40px 40px;
}
.landing .hero-grid { padding: 64px 20px 88px; }
.landing .kicker { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #fff; }
.landing .kicker.dark { background: var(--brand-tint); color: var(--brand); }
.landing .hero h1 { font-family: var(--font); font-weight: 800; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.04em; }
.landing .hl { color: #ff8a3d; }
.landing .hl::after { background: linear-gradient(90deg, #ff8a3d, #ffc400); height: 0.1em; border-radius: 999px; bottom: -0.02em; }
.landing .lead { font-size: 18px; line-height: 1.6; color: #b4b9c1; }
.landing .trust { color: #b4b9c1; font-size: 14px; }

.landing .device { border: 0; border-radius: 34px; padding: 14px; background: #f5f4f1; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 8px rgba(255, 255, 255, 0.06); }
.landing .device-bar { font-family: var(--font); border-radius: 20px; letter-spacing: 0.08em; font-size: 13px; background: linear-gradient(145deg, #2a2e34, #17191c); }
.landing .counters div { border: 0; border-radius: 18px; box-shadow: var(--shadow); }
.landing .counters b { font-family: var(--font); font-weight: 800; }
.landing .ticket { border: 0; border-radius: 18px; box-shadow: var(--shadow); }
.landing .float { border-radius: 20px; box-shadow: var(--shadow-lift); }
.landing .float b { font-family: var(--font); font-weight: 800; }

/* Bagian */
.landing .section { padding: 96px 20px; }
.landing .section.alt { background: var(--surface); border: 0; border-radius: 40px; max-width: 1240px; margin: 0 auto; }
.landing .section-head h2 { font-family: var(--font); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }

.landing .feature { border: 0; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.landing .feature:hover { box-shadow: var(--shadow-lift); }
.landing .feature .ic { border-radius: 18px; background: linear-gradient(145deg, #2a2e34, #15171a); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.6); }
.landing .feature h3 { font-family: var(--font); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.landing .feature p { font-size: 15px; }

.landing .step { border: 0; border-radius: 24px; background: var(--bg); padding: 26px; }
.landing .step .num { font-family: var(--font); background: linear-gradient(145deg, #ff8a3d, #d4500a); box-shadow: 0 10px 20px -10px rgba(212, 80, 10, 0.8); }
.landing .step h3 { font-family: var(--font); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.landing .step.optional { background: linear-gradient(160deg, #24282d, #121417); }
.landing .step:not(:last-child)::after { display: none; }

/* Paket */
.landing .cycle-toggle { background: rgba(23, 25, 28, 0.06); border: 0; padding: 4px; }
.landing .cycle-toggle button { padding: 10px 20px; }
.landing .cycle-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(23, 25, 28, 0.14); }
.landing .save { background: #d7f0e1; color: #16733f; font-weight: 800; }
.landing .price { border: 0; border-radius: 28px; padding: 30px; box-shadow: var(--shadow); }
.landing .price:hover { box-shadow: var(--shadow-lift); }
.landing .price h3 { font-family: var(--font); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.landing .amount .big { font-family: var(--font); font-weight: 800; font-size: 40px; letter-spacing: -0.04em; }
.landing .price.featured { background: radial-gradient(420px 220px at 100% 0%, rgba(255, 138, 61, 0.28), transparent 70%), linear-gradient(160deg, #24282d, #121417); box-shadow: var(--shadow-lift); }
.landing .badge { font-family: var(--font); background: var(--brand); color: #fff; text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 800; padding: 5px 14px; }
.landing .skeleton { border-radius: 28px; }

/* Tanya jawab */
.landing .faq details { border: 0; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); padding: 0 24px; }
.landing .faq details[open] { box-shadow: var(--shadow-lift); }
.landing .faq summary { font-size: 16px; font-weight: 700; }

/* Ajakan terakhir & kaki */
.landing .final { background: radial-gradient(600px 300px at 50% 0%, rgba(255, 138, 61, 0.26), transparent 70%), linear-gradient(160deg, #24282d, #121417); border-radius: 40px 40px 0 0; margin-top: 32px; }
.landing .final h2 { font-family: var(--font); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; }
.landing .foot { background: #0f1113; }

@media (max-width: 760px) {
  .landing .hero { border-radius: 0 0 28px 28px; }
  .landing .section { padding: 64px 16px; }
  .landing .section.alt { border-radius: 28px; }
  .landing .final { border-radius: 28px 28px 0 0; }
  .landing .hero-grid { padding: 40px 16px 64px; }
}


/* Mockup aplikasi di hero: tema Bengkel yang sama dengan aplikasinya (Barlow, kartu karcis, hitungan berwarna, menu bawah). */
.landing .device {
  --d-bg: #f2f1ed; --d-ink: #17191c; --d-muted: #5f646c; --d-line: #e0ded8;
  width: min(372px, 100%);
  background: var(--d-bg);
  color: var(--d-ink);
  border: 0;
  border-radius: 36px;
  padding: 16px 14px 0;
  overflow: hidden;
  gap: 10px;
  font-family: "Barlow", system-ui, sans-serif;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 8px #2a2e34, 0 0 0 9px #3a3f47;
}
.device b, .device small, .device span { font-family: inherit; }
.ap-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 0; }
.ap-logo { width: 40px; height: 40px; border-radius: 11px; background: #c2410c; color: #fff; display: grid; place-items: center; font-size: 22px; flex: none; }
.ap-head small { display: block; color: var(--d-muted); font-size: 12px; font-weight: 500; }
.ap-head b { font-family: "Barlow Condensed", "Barlow", sans-serif; font-size: 23px; font-weight: 700; line-height: 1.05; letter-spacing: 0; }

.ap-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ap-counts > div { background: #fff; border-radius: 14px; border-top: 4px solid var(--c); padding: 8px 12px 6px; box-shadow: 0 1px 2px rgba(23, 25, 28, 0.06); }
.ap-counts small { display: block; font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 700; letter-spacing: 1.2px; font-size: 12px; color: var(--d-muted); }
.ap-counts b { display: block; font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 700; font-size: 34px; line-height: 1; color: var(--c); }
.c-antre { --c: #9a5b00; }
.c-kerja { --c: #1c5fc7; }
.c-siap { --c: #16733f; }

/* Karcis: bagian nomor di kiri, garis putus, takik atas-bawah */
.ap-ticket { --c: #9a5b00; position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); background: #fff; border: 0; border-radius: 14px; padding: 0; box-shadow: 0 1px 2px rgba(23, 25, 28, 0.06); animation: slidein 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.ap-ticket.s-kerja { --c: #1c5fc7; }
.ap-ticket.s-siap { --c: #16733f; }
.ap-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--d-bg); border-radius: 14px 0 0 14px; border-right: 2px dashed #cfcdc5; }
.ap-stub::before, .ap-stub::after { content: ""; position: absolute; right: -9px; width: 16px; height: 16px; border-radius: 50%; background: #f2f1ed; }
.ap-stub::before { top: -9px; }
.ap-stub::after { bottom: -9px; }
.ap-stub b { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 700; font-size: 26px; line-height: 1; color: var(--c); }
.ap-stub small { font-size: 12px; color: var(--d-muted); }
.ap-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-width: 0; }
.ap-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ap-line .plate { background: #111317; color: #fff; border: 0; border-radius: 8px; padding: 2px 9px; font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1px; flex: none; }
.ap-veh { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-who, .ap-job { display: flex; align-items: center; gap: 4px; color: var(--d-muted); font-size: 13px; }
.ap-who i { font-size: 14px; }
.ap-who i + i { margin-left: 6px; }
.ap-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.ap-foot b { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 700; font-size: 19px; }
.ap-act { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 10px; font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 700; font-size: 15px; }
.ap-act.soft { background: #fce9dd; color: #7a2c00; }
.ap-act.pay { background: #16733f; color: #fff; }
.ap-cycle { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.3px; padding: 5px 12px; border-radius: 10px; }
.ap-cycle .cycle-text { font-family: inherit; }

.ap-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 4px -14px 0; padding: 8px 4px 10px; background: #fff; border-top: 1px solid var(--d-line); }
.ap-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--d-muted); }
.ap-nav i { font-size: 21px; }
.ap-nav .on { color: #c2410c; }
@media (max-width: 560px) { .landing .device { width: min(340px, 100%); } }

.landing .price li i { font-size: 20px; margin-top: 1px; flex: none; }
.landing .trial-note { margin: -4px 0 0; text-align: center; font-size: 13px; color: var(--on-asphalt-muted); }

/* Nomor urut karcis: garis putus tegas, latar bagian nomor sedikit lebih gelap, takik jelas */
.ap-ticket { grid-template-columns: 74px minmax(0, 1fr); overflow: visible; }
.ap-stub { background: #efede7; border-right: 0; background-image: repeating-linear-gradient(to bottom, #9c988c 0 6px, transparent 6px 11px); background-repeat: no-repeat; background-position: right top; background-size: 2px 100%; }
.ap-stub::before, .ap-stub::after { right: -10px; width: 20px; height: 20px; background: #f2f1ed; box-shadow: inset 0 0 0 1px rgba(23, 25, 28, 0.05); }
.ap-stub::before { top: -11px; }
.ap-stub::after { bottom: -11px; }
.ap-stub b { font-size: 30px; letter-spacing: 0.5px; }
.ap-stub small { font-weight: 600; }

/* Nomor urut dibingkai sendiri, warna sesuai status */
.ap-stub { background-color: #f6f5f1; gap: 5px; }
.ap-stub b { font-size: 24px; padding: 3px 9px 2px; border: 2px solid var(--c); border-radius: 10px; background: #fff; line-height: 1.05; letter-spacing: 0.5px; box-shadow: 0 2px 0 -1px var(--c); }
.ap-stub small { font-size: 12px; font-weight: 600; color: var(--d-muted); }

/* Potongan karcis (ap-stub): potongan terpisah berlatar warna status, takik bersih, perforasi tegas. Nomor kembali polos. */
.ap-ticket { grid-template-columns: 78px minmax(0, 1fr); }
.ap-stub {
  background-color: color-mix(in srgb, var(--c) 11%, #fff);
  background-image: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--c) 55%, #6b675c) 0 5px, transparent 5px 10px);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 2px 100%;
  box-shadow: inset -10px 0 12px -12px rgba(23, 25, 28, 0.35);
}
.ap-stub b { border: 0; background: transparent; box-shadow: none; padding: 0; font-size: 32px; letter-spacing: 0.5px; }
.ap-stub small { font-size: 12px; font-weight: 700; color: color-mix(in srgb, var(--c) 70%, #17191c); }
.ap-stub::before, .ap-stub::after { right: -11px; width: 22px; height: 22px; background: #f2f1ed; box-shadow: none; z-index: 1; }
.ap-stub::before { top: -12px; }
.ap-stub::after { bottom: -12px; }

/* Kotak ikon fitur: peach + ikon oranye, sama dengan aplikasi tema Bengkel */
.landing .feature .ic { background: #fce9dd; color: #c2410c; box-shadow: none; }
