/* =====================================================================
   Halaman depan (landing satu halaman) — memakai token & komponen app.css
   ===================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.lp { background: var(--bg); overflow-x: hidden; }
.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Tombol ekstra */
.btn-gold { background: linear-gradient(135deg, #e3c285, var(--gold)); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(193, 154, 85, .9); }
.btn-gold:hover { filter: brightness(1.05); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.lp-ghost { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13.5px; padding: 9px 12px; border-radius: 10px; color: inherit; opacity: .85; }
.lp-ghost:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Navigasi */
.lp-nav { position: fixed; inset: 0 0 auto 0; z-index: 60; color: #fff; transition: background .25s, box-shadow .25s, color .25s; }
.lp-nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.lp-nav .brand { padding: 0; }
.lp-nav .brand-text small { color: rgba(255, 255, 255, .6); }
.lp-links { display: flex; gap: 4px; margin-left: auto; }
.lp-links a { padding: 8px 12px; border-radius: 9px; font-weight: 500; font-size: 14px; opacity: .82; transition: opacity .15s, background .15s; }
.lp-links a:hover { opacity: 1; background: rgba(127, 127, 127, .14); }
.lp-nav-cta { display: flex; align-items: center; gap: 8px; }
.lp-nav-cta .btn { padding: 9px 16px; }
.lp-burger { display: none; color: inherit; }
.lp-nav.scrolled { background: rgba(250, 248, 243, .88); backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, .25); }
.lp-nav.scrolled .brand-text strong { color: var(--ink); }
.lp-nav.scrolled .brand-text small { color: var(--muted); }

/* Hero */
.lp-hero { position: relative; color: #dfe5ea; padding: 148px 0 132px; overflow: hidden;
  background:
    radial-gradient(60% 70% at 12% 8%, rgba(193, 154, 85, .26), transparent 60%),
    radial-gradient(55% 65% at 95% 85%, rgba(31, 111, 100, .45), transparent 60%),
    linear-gradient(160deg, #111a23 0%, var(--navy) 55%, #14262b 100%); }
.lp-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%); }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 99px; border: 1px solid rgba(193, 154, 85, .4); background: rgba(193, 154, 85, .1); color: #ecd6a8; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.lp-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(193, 154, 85, .25); }
.lp-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.025em; color: #fbf6ec; margin: 22px 0 20px; }
.lp-hero h1 em { font-style: italic; color: #e3c285; }
.lp-lead { font-size: 17px; line-height: 1.65; color: #a9b5c1; max-width: 540px; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-kpis { display: flex; gap: 0; margin: 44px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; max-width: 520px; }
.lp-kpis > div { flex: 1; padding-right: 18px; }
.lp-kpis > div + div { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .1); }
.lp-kpis dt { font-size: 12px; color: #8795a3; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.lp-kpis dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 38px; color: #fff; line-height: 1.1; }
.lp-kpis dd span { font-size: 18px; color: #7d8a97; }
.lp-hero-copy, .lp-board { animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.lp-board { animation-delay: .15s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } }

.lp-board { background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 20px; backdrop-filter: blur(14px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.lp-board-head { display: flex; align-items: center; gap: 10px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: #cbd4dc; padding: 2px 4px 14px; }
.lp-board-head time { margin-left: auto; font-family: var(--font-display); font-size: 22px; letter-spacing: 0; text-transform: none; color: #fff; font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd49a; box-shadow: 0 0 0 0 rgba(95, 212, 154, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(95, 212, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 212, 154, 0); } }
.lp-board-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lp-board-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.lp-board-list li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.lp-board-list strong { color: #fff; font-size: 14px; }
.lp-board-list small { color: #8795a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.bp-free { background: rgba(95, 212, 154, .14); color: #8be3b6; }
.bp-busy { background: rgba(240, 128, 108, .16); color: #f4a797; }
.bp-muted { background: rgba(255, 255, 255, .08); color: #aab4be; }
.lp-board-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 6px 2px; border-top: 1px dashed rgba(255, 255, 255, .12); font-size: 13px; color: #b9c3cc; }
.lp-board-foot strong { color: #fff; }
.lp-board-foot a { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: #e3c285; font-weight: 600; }
.lp-hero-fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); }

/* Section umum */
.lp-section { padding: 96px 0; position: relative; }
.lp-alt { background: #fbfaf6; border-block: 1px solid var(--line-2); }
.lp-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.lp-head.left { text-align: left; margin: 0; }
.lp-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a37f3c; }
.lp-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.02em; line-height: 1.1; margin: 10px 0 14px; }
.lp-head p { color: var(--ink-2); font-size: 16px; line-height: 1.65; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-hero-copy, .lp-board { animation: none; } .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Jadwal */
.lp-schedule { padding: 20px; }
.lp-sched-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.lp-sched-bar h3 { flex: 1; font-size: 22px; min-width: 220px; }
.lp-sched-bar input[type=date] { width: auto; min-height: 38px; padding: 7px 10px; }

/* Ruang & armada */
.lp-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; }
.lp-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .2s; }
.lp-tabs a b { font-size: 11px; padding: 1px 8px; border-radius: 99px; background: var(--line-2); }
.lp-tabs a.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.lp-tabs a.active b { background: rgba(255, 255, 255, .15); }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.lp-room, .lp-car { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.lp-room:hover, .lp-car:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(22, 33, 44, .45); }
.lp-room-art { position: relative; height: 128px; display: grid; place-items: center;
  background: radial-gradient(120% 100% at 0% 0%, rgba(255, 255, 255, .25), transparent 55%), linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #0e151c)); }
.lp-room-art svg { width: 70%; max-width: 200px; }
.lp-room-cap, .lp-room-code { position: absolute; top: 12px; font-size: 12px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 5px; background: rgba(0, 0, 0, .2); padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(4px); }
.lp-room-cap { left: 12px; }
.lp-room-code { right: 12px; font-family: ui-monospace, Menlo, monospace; letter-spacing: .04em; }
.lp-room-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lp-room h3, .lp-car h3 { font-family: var(--font-display); font-weight: 500; font-size: 23px; }
.lp-room-body .muted { display: flex; align-items: center; gap: 5px; }
.lp-room-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lp-car { padding: 20px; gap: 12px; }
.lp-car-top { display: flex; justify-content: space-between; align-items: center; }
.lp-specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-specs li { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; font-weight: 600; font-size: 13.5px; display: flex; flex-direction: column; }
.lp-specs small { font-weight: 500; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* Pemesanan */
.lp-book-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; margin: 0 auto 24px; }
.lp-book-switch button { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: all .2s; }
.lp-book-switch button > .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--line-2); color: var(--ink-2); }
.lp-book-switch button span { display: flex; flex-direction: column; }
.lp-book-switch small { color: var(--muted); }
.lp-book-switch button.active { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(22, 33, 44, .08); }
.lp-book-switch button[data-mode=room].active > .i { background: var(--room-soft); color: var(--room); }
.lp-book-switch button[data-mode=vehicle].active > .i { background: var(--vehicle-soft); color: var(--vehicle); }
.lp-book-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 20px; align-items: start; }
.lp-book-grid fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lp-book-left { position: sticky; top: 92px; }
.lp-book-right .step { margin-top: 4px; }
.lp-book-right fieldset > .step:not(:first-child) { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.lp-book-left fieldset .step { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.lp-book-left > .step:first-child { margin-top: 0; }
.lp-rgrid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 4px; }
.lp-vlist .resource-option { margin-top: 10px; }
.lp-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.lp-submit #bookSummary { display: flex; align-items: center; gap: 6px; }
.lp-me { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--gold-soft); }
.lp-me > div { display: flex; flex-direction: column; }
.lp-me small { color: #7c6331; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.lp-success { max-width: 620px; margin: 0 auto; text-align: center; padding: 40px 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lp-success-icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3f9a6a, var(--success)); box-shadow: 0 14px 30px -12px rgba(46, 122, 78, .7); }
.lp-success h3 { font-size: 28px; }
.lp-code { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 20px; border-radius: 16px; background: var(--navy); color: #fff; margin: 6px 0; flex-wrap: wrap; justify-content: center; }
.lp-code small { color: #8795a3; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.lp-code strong { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 22px; letter-spacing: .06em; color: #e3c285; }
.lp-code .btn { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); }
.lp-success #okMeta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.lp-note { display: flex; gap: 8px; align-items: flex-start; text-align: left; background: var(--gold-soft); color: #6f5423; padding: 10px 14px; border-radius: 12px; max-width: 480px; }
.lp-note a { text-decoration: underline; }
.btn-row.center { justify-content: center; margin-top: 6px; }

/* Lacak */
.lp-track-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.lp-track-form { margin-top: 26px; display: flex; flex-direction: column; gap: 2px; max-width: 420px; }
.lp-track-form .btn { align-self: flex-start; margin-top: 4px; }
.lp-track-empty { text-align: center; padding: 48px 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; border-style: dashed; box-shadow: none; background: transparent; }
.lp-track-empty h3 { font-size: 22px; }
.lp-ticket { position: relative; display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--room); padding: 24px; }
.lp-ticket.vehicle { border-top-color: var(--vehicle); }
.lp-ticket header { display: flex; justify-content: space-between; align-items: center; }
.lp-ticket h3 { font-size: 26px; }
.lp-ticket > .mono { margin-top: -8px; }
.lp-progress { list-style: none; margin: 4px 0; padding: 0; display: flex; }
.lp-progress li { flex: 1; position: relative; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding-top: 26px; }
.lp-progress li::before { content: ''; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); z-index: 1; }
.lp-progress li::after { content: ''; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.lp-progress li:first-child::after { display: none; }
.lp-progress li.done { color: var(--success); }
.lp-progress li.done::before { background: var(--success); border-color: var(--success); box-shadow: inset 0 0 0 3px #fff; }
.lp-progress li.done::after { background: var(--success); }
.lp-progress li.bad { color: var(--danger); }
.lp-progress li.bad::before { background: var(--danger); border-color: var(--danger); }
.lp-progress li.bad::after { background: var(--danger); }

/* Panduan */
.lp-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: relative; overflow: hidden; }
.lp-steps li span { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--gold-soft); position: absolute; right: 18px; top: 10px; font-style: italic; -webkit-text-stroke: 1px #d9c190; }
.lp-steps h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.lp-steps p { color: var(--ink-2); line-height: 1.6; }
.lp-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.lp-rules > div { background: var(--surface-2); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.lp-rules .i { color: #a37f3c; margin-bottom: 4px; }
.lp-rules span { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }

/* Footer */
.lp-footer { background: var(--navy); color: #9aa6b2; padding: 40px 0; }
.lp-footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-footer .brand { padding: 0; }
.lp-footer p { margin-left: auto; font-size: 13.5px; }
.lp-footer .lp-ghost { color: #e3c285; }

/* Responsif */
@media (max-width: 1080px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-board { max-width: 560px; }
  .lp-book-grid, .lp-track-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-book-left { position: static; }
  .lp-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .lp-links { display: none; position: absolute; top: 72px; left: 12px; right: 12px; flex-direction: column; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px; box-shadow: var(--shadow-lg); }
  body.lp-menu-open .lp-links { display: flex; }
  .lp-links a { padding: 12px 14px; }
  .lp-burger { display: inline-grid; }
  .lp-nav-cta .btn-gold { display: none; }
  .lp-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .lp-wrap { padding: 0 16px; }
  .lp-hero { padding: 116px 0 100px; }
  .lp-lead { font-size: 15.5px; }
  .lp-hero-actions .btn { flex: 1; }
  .lp-kpis dd { font-size: 30px; }
  .lp-kpis > div + div { padding-left: 14px; }
  .lp-section { padding: 68px 0; }
  .lp-book-switch { grid-template-columns: minmax(0, 1fr); }
  .lp-rules { grid-template-columns: minmax(0, 1fr); }
  .lp-nav-cta .lp-ghost span, .lp-nav .brand-text small { display: none; }
  .lp-footer p { margin-left: 0; }
  .lp-sched-bar h3 { font-size: 19px; min-width: 0; flex-basis: 100%; order: -1; }
}
button.lp-ghost { border: 0; background: transparent; font-family: inherit; cursor: pointer; }
