/* LiveLah launch (assets/launch.js): the kicker, chips and countdowns, the ticket form and the digital ticket, the
   launch popup and the blurred pricing while sales are closed. Shared by the landing page, /promo, /tutorial and
   /tiket; uses the landing page's tokens and buttons (styles.css). Mobile first: most visitors come from an ad on a
   phone, so everything works from 320px. */

/* ── kicker pill with the red LIVE dot, and the "Percuma · Zoom · 60 minit" chips */
.ll-kicker { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 59, 48, .38); background: rgba(255, 59, 48, .08); font: 500 11.5px/1.25 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--fg); text-align: left; }
@media (max-width: 360px) {
  .ll-kicker { padding: 7px 11px; font-size: 10.5px; letter-spacing: .035em; }
  /* the long "Dapatkan Tiket Launching" buttons stay on one line down to 320px */
  .btn.btn-lg[data-launch-open], .btn.ll-submit { padding-left: 16px; padding-right: 16px; font-size: 13px; letter-spacing: .04em; }
}
.ll-dot { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 59, 48, .6); animation: ll-pulse 1.8s infinite; }
@keyframes ll-pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
.ll-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ll-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font: 500 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2); }
.ll-chips li:first-child { color: var(--green); border-color: rgba(49, 208, 124, .4); background: rgba(49, 208, 124, .08); }

/* ── countdown: four boxes (days, hours, minutes, seconds); a line of text once it has started */
.ll-cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.ll-cd-u { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 16px; background: linear-gradient(180deg, rgba(124, 92, 255, .16), rgba(124, 92, 255, .04)); border: 1px solid rgba(164, 140, 255, .32); }
.ll-cd-u b { font: 600 clamp(28px, 8.4vw, 40px)/1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--fg); }
.ll-cd-u small { font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.ll-cd-sm { gap: 6px; }
.ll-cd-sm .ll-cd-u { padding: 9px 2px 8px; border-radius: 12px; gap: 5px; }
.ll-cd-sm .ll-cd-u b { font-size: 24px; }
.ll-cd-sm .ll-cd-u small { font-size: 9px; }
.ll-cd[data-state='live'], .ll-cd[data-state='over'] { display: block; }
.ll-cd-now { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255, 59, 48, .38); background: rgba(255, 59, 48, .08); font-weight: 700; line-height: 1.35; }
.ll-cd[data-state='over'] .ll-cd-now { border-color: var(--line-2); background: rgba(255, 255, 255, .04); color: var(--fg-2); }

/* ── the mount: a card that holds the form, then the ticket */
.ll-ticket { position: relative; min-width: 0; min-height: 200px; padding: 24px 20px; border-radius: 24px; background: radial-gradient(120% 60% at 50% 0%, rgba(124, 92, 255, .2), transparent 70%), linear-gradient(180deg, var(--panel), #0B0B15); border: 1px solid rgba(164, 140, 255, .32); box-shadow: 0 40px 120px -50px rgba(124, 92, 255, .8); scroll-margin-top: calc(var(--nav-h) + 12px); text-align: left; }
@media (min-width: 560px) { .ll-ticket { padding: 30px 28px; } }
/* phones: the ticket view drops the outer card, so the ticket and the steps get the full width */
@media (max-width: 559px) { .ll-ticket[data-view='ticket'] { padding: 0; border: 0; background: none; box-shadow: none; } }
.ll-noscript { color: var(--fg-2); font-size: 15px; }
.ll-noscript a { font-weight: 600; }

/* ── the form */
.ll-form { display: grid; gap: 16px; }
.ll-form-head { display: grid; gap: 8px; margin-bottom: 2px; }
.ll-form-k { font-size: 11px; color: var(--green); }
.ll-form-t { font-size: clamp(24px, 6.6vw, 30px); font-weight: 700; }
.ll-form-s { color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.ll-field { display: grid; gap: 7px; min-width: 0; }
.ll-field label { font-size: 14px; font-weight: 600; line-height: 1.3; }
.ll-field input { scroll-margin: calc(var(--nav-h) + 56px) 0 120px; width: 100%; min-width: 0; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .045); color: var(--fg); font: 500 16px/1.3 var(--sans); transition: border-color .15s, box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none; }
.ll-field input::placeholder { color: var(--fg-3); opacity: 1; }
.ll-field input:hover { border-color: rgba(255, 255, 255, .3); }
.ll-field input:focus { outline: none; border-color: var(--violet-hi); background: rgba(124, 92, 255, .08); box-shadow: 0 0 0 3px rgba(124, 92, 255, .35); }
.ll-field input:focus-visible { outline: none; }
.ll-field input[aria-invalid='true'] { border-color: #FF6A5F; }
.ll-field input[aria-invalid='true']:focus { box-shadow: 0 0 0 3px rgba(255, 106, 95, .3); }
.ll-field input:-webkit-autofill { -webkit-text-fill-color: var(--fg); caret-color: var(--fg); box-shadow: 0 0 0 100px #1B1830 inset; }
.ll-err { color: #FF9B94; font-size: 13.5px; line-height: 1.45; }
.ll-hint { color: var(--fg-2); font-size: 13.5px; line-height: 1.45; }
.ll-hint b { color: var(--fg); font-weight: 600; overflow-wrap: anywhere; }
.ll-hint button { padding: 0; border: 0; background: none; color: var(--violet-hi); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.btn.ll-submit { width: 100%; margin-top: 4px; white-space: normal; text-align: center; font-size: 15px; }
.ll-spin { display: none; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: ll-spin .8s linear infinite; }
@keyframes ll-spin { to { transform: rotate(360deg); } }
.ll-form[aria-busy='true'] .ll-spin { display: inline-block; }
.ll-form[aria-busy='true'] .ll-submit svg { display: none; }
.ll-msg:empty { display: none; }
.ll-msg { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 106, 95, .4); background: rgba(255, 59, 48, .08); color: #FFC4BF; font-size: 14.5px; line-height: 1.5; }
.ll-fine { color: var(--fg-3); font-size: 12.5px; line-height: 1.5; }
.ll-fine a { color: var(--fg-2); text-decoration: underline; }

/* ── the ticket view */
.ll-done { display: grid; gap: 18px; }
.ll-done-head { display: grid; gap: 6px; }
.ll-done-t { font-size: clamp(24px, 6.6vw, 30px); font-weight: 700; }
.ll-done-t:focus { outline: none; }
.ll-done-s { color: var(--fg-2); font-size: 15px; }

/* the ticket: a violet top and a paper stub, with a notch on each side of the perforation (masks, so it works on any
   background) and a shadow that follows the shape */
.ll-tk { --notch: 13px; position: relative; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .45)) drop-shadow(0 10px 30px rgba(124, 92, 255, .3)); }
.ll-tk-main { position: relative; display: grid; gap: 14px; padding: 20px 20px 22px; border-radius: 20px 20px 0 0; color: #fff; background: radial-gradient(90% 80% at 100% 0%, rgba(255, 106, 95, .42), transparent 62%), linear-gradient(150deg, #8A6DFF 0%, #6B4BF7 45%, #4128B8 100%);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 100%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, transparent 96%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 100%, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, transparent 96%, #000) right / 51% 100% no-repeat; }
.ll-tk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ll-tk-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; letter-spacing: .05em; }
.ll-tk-type { padding: 5px 8px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .45); font-size: 10px; letter-spacing: .1em; white-space: nowrap; }
.ll-tk-title { font-size: clamp(26px, 7.4vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.ll-tk-meta { display: grid; gap: 10px; margin: 0; }
.ll-tk-meta dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, .9); }
.ll-tk-meta dd b { font-size: 17px; font-weight: 700; color: #fff; }
.ll-tk-meta div + div dd { flex-wrap: nowrap; align-items: flex-start; }
.ll-tk-meta dd svg { flex: none; margin-top: 1px; }
.ll-tk-stub { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; padding: 20px 20px 18px; border-radius: 0 0 20px 20px; color: #0A0A14; background: #F5F3FF;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 0, transparent 96%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 0, transparent 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 0, transparent 96%, #000) right / 51% 100% no-repeat; }
.ll-tk-stub::before { content: ''; position: absolute; top: 0; left: calc(var(--notch) + 8px); right: calc(var(--notch) + 8px); border-top: 2px dashed rgba(65, 40, 184, .3); }
.ll-tk-k { font-size: 10px; letter-spacing: .1em; color: rgba(10, 10, 20, .55); }
.ll-tk-who { min-width: 0; flex: 1 1 140px; }
.ll-tk-name { margin-top: 5px; font-size: 18px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.ll-tk-id { text-align: right; margin-left: auto; }
.ll-tk-code { margin-top: 4px; font: 600 clamp(24px, 7.2vw, 30px)/1 var(--mono); letter-spacing: .04em; color: #4128B8; white-space: nowrap; }
@media (max-width: 359px) { .ll-tk-id { text-align: left; margin-left: 0; } }

.btn.ll-zoom { width: 100%; }
.ll-cal { display: flex; flex-wrap: wrap; gap: 10px; }
.ll-cal .btn { flex: 1 1 250px; white-space: normal; text-align: center; letter-spacing: .04em; }

/* step 1 (WhatsApp group) and step 2 (email, with the spam guide) */
.ll-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ll-step { display: grid; gap: 8px; min-width: 0; padding: 18px 16px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
@media (min-width: 560px) { .ll-step { padding: 20px; } }
.ll-step.is-wa { border-color: rgba(37, 211, 102, .42); background: radial-gradient(100% 120% at 0% 0%, rgba(37, 211, 102, .14), transparent 70%), rgba(255, 255, 255, .02); }
.ll-step-k { font-size: 11px; color: var(--violet-hi); }
.ll-step.is-wa .ll-step-k { color: #4BE38A; }
.ll-step h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; line-height: 1.25; }
.ll-step h3 svg { flex: none; color: var(--violet-hi); }
.ll-step > p:not(.ll-step-k) { color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.ll-step > p b { color: var(--fg); font-weight: 600; overflow-wrap: anywhere; }
/* WhatsApp green with dark text (white on this green fails contrast) */
.btn-wa { background: #25D366; color: #04210F; border-color: rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 32px -12px rgba(37, 211, 102, .8); font: 700 17px/1.2 var(--sans); letter-spacing: -.005em; text-transform: none; }
.btn-wa:hover { background: #3BE07A; }
.ll-step .btn-wa { width: 100%; margin-top: 6px; padding: 14px 16px; white-space: normal; text-align: center; }

/* the spam guide: a <details> (the FAQ box style from styles.css, smaller) with Gmail / Yahoo / Outlook tabs */
.ll-spam { margin-top: 6px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, .025); }
.ll-spam summary { padding: 14px 30px 14px 0; font-size: 14.5px; line-height: 1.4; }
.ll-spam summary::after { font-size: 20px; }
.ll-spam p, .ll-spam li { font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.ll-spam b { color: var(--fg); font-weight: 600; }
.ll-spam .ll-spam-search { padding: 0 0 12px; }
.ll-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; max-width: 420px; padding: 4px; border-radius: 14px; border: 1px solid var(--line-2); }
.ll-tabs button { min-height: 40px; padding: 6px; border: 0; border-radius: 10px; background: none; color: var(--fg-3); font: 500 11px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.ll-tabs button:hover { color: var(--fg); }
.ll-tabs button[aria-selected='true'] { background: rgba(255, 255, 255, .14); color: var(--fg); }
.ll-panel { margin-top: 12px; border-radius: 10px; }
.ll-panel:focus-visible { outline-offset: 2px; }
.ll-panel ol { display: grid; gap: 8px; margin: 0; padding: 0 0 0 22px; }
.ll-panel li::marker { color: var(--violet-hi); font-weight: 600; }
.ll-spam-all { margin: 14px 0 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(49, 208, 124, .3); background: rgba(49, 208, 124, .06); }
.ll-spam .ll-spam-all p { padding: 0; font-size: 10.5px; color: var(--green); }
.ll-spam-all ul { display: grid; gap: 6px; margin: 8px 0 0; padding: 0 0 0 18px; }

.ll-again { text-align: center; }
.ll-again button { min-height: 40px; padding: 0 8px; border: 0; background: none; color: var(--fg-3); font: 500 12px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ll-again button:hover { color: var(--fg); }

/* the ticket page's loading / not found / error */
.ll-state { display: grid; justify-items: center; gap: 14px; padding: 18px 0; text-align: center; }
.ll-state p { color: var(--fg-2); max-width: 420px; }
.ll-loading { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--fg-2); }
.ll-loading .ll-spin { display: inline-block; border-color: rgba(255, 255, 255, .2); border-top-color: var(--violet-hi); }

/* ── the launch popup: a bottom sheet on phones, a small card in the middle from 560px */
.ll-pop { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.ll-pop[hidden] { display: none; }
html.ll-pop-open { overflow: hidden; }
.ll-pop-bg { position: absolute; inset: 0; background: rgba(3, 3, 8, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: ll-fade .2s ease; }
.ll-pop-box { position: relative; display: grid; gap: 12px; width: 100%; max-height: 92vh; max-height: 92dvh; overflow-y: auto; padding: 26px 20px calc(18px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; text-align: center; background: radial-gradient(110% 70% at 50% 0%, rgba(124, 92, 255, .32), transparent 70%), var(--panel); border: 1px solid rgba(164, 140, 255, .4); border-bottom: 0; box-shadow: 0 -20px 80px rgba(0, 0, 0, .6); animation: ll-up .28s cubic-bezier(.2, .7, .2, 1); }
@media (min-width: 560px) {
  .ll-pop { align-items: center; padding: 24px; }
  .ll-pop-box { max-width: 420px; padding: 30px 28px 20px; border-radius: 26px; border-bottom: 1px solid rgba(164, 140, 255, .4); }
}
@keyframes ll-fade { from { opacity: 0; } }
@keyframes ll-up { from { opacity: 0; transform: translateY(24px); } }
.ll-pop-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, .04); color: var(--fg-2); cursor: pointer; }
.ll-pop-x:hover { color: var(--fg); border-color: rgba(255, 255, 255, .4); }
.ll-pop-k { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; color: var(--fg-2); }
.ll-pop-t { font-size: clamp(26px, 7.6vw, 32px); font-weight: 700; padding: 0 28px; }
.ll-pop-p { color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.ll-pop .ll-cd { margin: 4px auto 0; width: 100%; max-width: 320px; }
.btn.ll-pop-go { width: 100%; margin-top: 6px; }
.ll-pop-later { justify-self: center; min-height: 40px; padding: 0 10px; border: 0; background: none; color: var(--fg-3); font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.ll-pop-later:hover { color: var(--fg); }

/* ── pricing while sales are closed (body.sales-closed, the default; main.js / promo.js lift it when the API says
   salesOpen): the plans blurred under a card, the amounts masked */
.ll-veil { position: relative; }
.ll-veil-card { display: none; }
.sales-closed .ll-veil-body { min-height: 520px; max-height: 640px; overflow: hidden; filter: blur(7px) saturate(.8); opacity: .7; pointer-events: none; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%); mask-image: linear-gradient(#000 70%, transparent 100%); }
.sales-closed .ll-veil-body .reveal { opacity: 1; transform: none; }
.sales-closed .ll-veil-card { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(460px, 100%); padding: 28px 22px; border-radius: 24px; text-align: center; background: rgba(16, 16, 28, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(164, 140, 255, .45); box-shadow: 0 40px 120px -30px rgba(124, 92, 255, .7), 0 20px 60px rgba(0, 0, 0, .5); }
.ll-veil-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--gold); background: rgba(255, 200, 87, .12); border: 1px solid rgba(255, 200, 87, .35); }
.ll-veil-card h3 { font-size: clamp(22px, 5.8vw, 28px); font-weight: 700; line-height: 1.2; }
.ll-veil-card p { color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.ll-veil-card .btn { width: 100%; white-space: normal; text-align: center; }
@media (max-width: 420px) { .sales-closed .ll-veil-card { padding: 24px 18px; } .ll-veil-card .btn { font-size: 13px; padding-left: 16px; padding-right: 16px; } }
.sales-closed .plans-more, .sales-closed .p-year-note { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ll-dot { animation: none; }
  .ll-pop-bg, .ll-pop-box { animation: none; }
}
