/* METEOR — landing page (meteors.pro)
   Token warna & tipografi mengikuti README "Design Tokens". */

:root {
  --bg-deep: #060c18;
  --bg-page: #08101f;
  --bg-section: #0b1428;
  --surface: #0e1830;
  --surface-2: #101c36;
  --input-bg: #0a1428;
  --line: #1e3057;
  --line-soft: #24365c;

  --text: #eaf1ff;
  --muted: #b6c7e4;
  --dim: #93a6c8;
  --faint: #7f95ba;

  --blue: #2b8fef;
  --blue-light: #6cc4ff;
  --ember: #ff7a18;
  --ember-light: #ffb020;
  --ember-ink: #2a1000;
  --wa: #25d366;
  --wa-ink: #06240f;
  --wa-soft: #d8ffe6;

  --font-ui: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-btn: 14px;
  --radius-card: 18px;
  --radius-banner: 28px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-light); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ember-light); }

h1, h2, h3 { margin: 0; text-wrap: pretty; }

.mono, .mono-line, .mono-note { font-family: var(--font-mono); }

:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }

/* ---------- keyframes ---------- */
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shimmer {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

/* ---------- navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(8, 16, 32, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 143, 239, .18);
}
.nav.is-scrolled { background: rgba(8, 16, 32, .96); }

.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.nav__brand:hover { color: var(--text); }
.nav__logo {
  height: 30px; width: 30px;
  object-fit: cover; object-position: 50% 32%;
  border-radius: 8px; background: #fff;
}
.nav__word { font-weight: 800; font-size: 16px; font-style: italic; letter-spacing: .02em; }

.nav__menu { display: none; margin-left: auto; gap: 26px; }
.nav__menu a { font-size: 14px; font-weight: 600; color: #a9bcda; }

.nav__cta { margin-left: auto; font-size: 12px; padding: 9px 14px; min-height: 40px; }
.nav__cta-long { display: none; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn--lg { min-height: 52px; padding: 14px 22px; font-size: 15px; border-radius: var(--radius-btn); flex: 1 1 auto; }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { color: var(--wa-ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 211, 102, .28); }
.btn--ghost { background: transparent; border: 1px solid var(--blue); color: var(--blue-light); }
.btn--ghost:hover { color: var(--blue-light); background: rgba(43, 143, 239, .12); }
.btn--light { background: var(--text); color: #08101f; }
.btn--light:hover { color: #08101f; transform: translateY(-2px); }

/* ---------- eyebrow / heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}
.eyebrow--ember { color: var(--ember-light); border: 1px solid rgba(255, 176, 32, .4); background: rgba(255, 176, 32, .08); }
.eyebrow--blue { color: var(--blue-light); border: 1px solid rgba(43, 143, 239, .35); background: rgba(43, 143, 239, .08); }

.grad {
  background: linear-gradient(92deg, var(--blue-light), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: 40px 20px; }
.section--alt { background: var(--bg-section); }
.section h2 { margin: 14px 0 0; font-size: 25px; font-weight: 800; letter-spacing: -.01em; line-height: 1.18; }
.section__sub { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.mono-note { margin: 18px 0 0; font-size: 11px; letter-spacing: .04em; color: var(--faint); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 34px 20px 40px; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__glow--ember {
  top: -120px; right: -90px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255, 122, 24, .30), rgba(255, 122, 24, 0) 65%);
}
.hero__glow--blue {
  top: 40px; left: -140px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(43, 143, 239, .28), rgba(43, 143, 239, 0) 65%);
}
.hero__grid { position: relative; }
.hero__copy h1 {
  margin: 16px 0 0;
  font-size: 38px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero__copy p { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__media { display: none; }
.mono-line {
  margin: 20px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .06em;
  color: var(--faint);
}
.mono-line i { font-style: normal; color: var(--line-soft); }

/* ---------- cara kerja ---------- */
.steps { display: grid; gap: 10px; margin-top: 22px; }
.step {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.step:hover { border-color: var(--blue); }
.step__head {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 14px; min-height: 62px;
  color: var(--text); font-family: var(--font-ui);
}
.step__num {
  flex: none;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(140deg, var(--blue), var(--ember));
  color: #061021; font-weight: 800; font-size: 14px;
}
.step__title { flex: 1; font-size: 15px; font-weight: 700; }
.step__sign { position: relative; flex: none; width: 16px; height: 16px; }
.step__sign::before, .step__sign::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--dim); transform: translate(-50%, -50%);
  transition: opacity .2s ease, transform .2s ease;
}
.step__sign::before { width: 14px; height: 2px; border-radius: 2px; }
.step__sign::after { width: 2px; height: 14px; border-radius: 2px; }
.step.is-open .step__sign::after { opacity: 0; }
.step__body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .28s cubic-bezier(.2, .7, .2, 1);
}
.step__body > p { overflow: hidden; margin: 0; }
.step.is-open .step__body { grid-template-rows: 1fr; }
.step.is-open .step__body > p { padding: 0 16px 16px 46px; }
.step__body p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- paket / harga ---------- */
.prices { display: grid; gap: 12px; margin-top: 24px; }
.price {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 18px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.price:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.price--featured { border-color: rgba(255, 122, 24, .55); }
.price__badge {
  position: absolute; top: -11px; left: 18px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(140deg, var(--ember), var(--ember-light));
  color: var(--ember-ink); font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}
.price__name { font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.price__amount {
  margin: 6px 0 0;
  font-size: 28px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(92deg, var(--blue-light), var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price__desc { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.price__area { display: block; margin-top: 14px; }
.price__area-label {
  display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--dim);
}
.price__area-select {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--input-bg);
  color: var(--text); font: inherit; font-size: 14px;
}
.price__area-select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.price__cta { margin-top: 12px; width: 100%; }

/* ---------- kenapa ---------- */
.features { display: grid; gap: 12px; margin-top: 22px; }
.feature {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--blue); }
.feature__icon { font-size: 22px; line-height: 1; }
.feature h3 { margin: 12px 0 0; font-size: 15px; font-weight: 700; }
.feature p { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }

/* ---------- peta ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  background: rgba(14, 24, 48, .6);
  padding: 7px 12px; border-radius: 999px;
}
.map__panel { margin-top: 22px; }
.map__frame {
  position: relative;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #dfe6ef;
}
.map__frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 44px rgba(6, 12, 24, .28);
  border-radius: 20px;
}
.map__legend {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin: 14px 0 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  color: var(--faint);
}
.map__legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot--active { background: #e8342c; }
.dot--teaser { background: #8b5cf6; }
.map__panel .btn--light { margin-top: 16px; width: 100%; min-height: 50px; }

/* ---------- galeri ---------- */
.shots {
  display: flex; gap: 12px; margin-top: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.shot {
  flex: 0 0 78%;
  margin: 0;
  scroll-snap-align: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 10px 12px; font-size: 12px; color: var(--dim); }

/* ---------- faq ---------- */
.faqs { display: grid; gap: 10px; margin-top: 22px; }
.faq {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  transition: border-color .2s ease;
}
.faq:hover { border-color: var(--blue); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  list-style: none; cursor: pointer;
  padding: 16px 0; min-height: 56px;
  font-size: 14.5px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__sign { position: relative; flex: none; width: 16px; height: 16px; }
.faq__sign::before, .faq__sign::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--dim); transform: translate(-50%, -50%);
  transition: opacity .2s ease;
}
.faq__sign::before { width: 14px; height: 2px; border-radius: 2px; }
.faq__sign::after { width: 2px; height: 14px; border-radius: 2px; }
.faq[open] .faq__sign::after { opacity: 0; }
.faq p { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }

/* ---------- banner CTA ---------- */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 26px 20px;
  background: linear-gradient(150deg, var(--ember), var(--ember-light) 70%);
  color: var(--ember-ink);
}
.banner__shimmer {
  position: absolute; top: 0; bottom: 0; left: 0; width: 90px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0));
  animation: shimmer 4.2s linear infinite;
  pointer-events: none;
}
.banner h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--ember-ink); }
.banner p { margin: 10px 0 0; font-size: 14px; color: #46200a; }
.banner__actions { position: relative; display: grid; gap: 10px; margin-top: 20px; }
.cs {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--wa-ink); color: var(--wa-soft);
  border-radius: var(--radius-btn);
  padding: 14px 16px; min-height: 52px;
  font-weight: 700; font-size: 14px;
  transition: transform .18s ease, background .18s ease;
}
.cs:hover { color: var(--wa-soft); background: #08300f; transform: translateY(-2px); }
.cs__num { font-family: var(--font-mono); font-size: 13px; color: #8ff0b4; }

/* ---------- footer ---------- */
.footer {
  background: var(--bg-page);
  border-top: 1px solid var(--line);
  padding: 34px 20px calc(110px + env(safe-area-inset-bottom));
}
.footer__grid { display: grid; gap: 26px; }
.footer__brand p { margin: 12px 0 0; font-size: 13px; color: var(--dim); max-width: 34ch; }
.footer__col h3 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); font-weight: 500;
}
.footer__col ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.footer__col ul.mono li { font-family: var(--font-mono); font-size: 12.5px; }
.footer__copy { margin: 28px 0 0; font-size: 11px; letter-spacing: .06em; color: #5f7599; }

/* ---------- floating WA ---------- */
.fab {
  position: fixed;
  bottom: calc(26px + env(safe-area-inset-bottom));
  z-index: 50;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa); color: var(--wa-ink);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .4);
  animation: waPulse 2.4s ease-out infinite;
}
.fab:hover { color: var(--wa-ink); transform: scale(1.05); }
.fab.is-right { right: 18px; }
.fab.is-left { left: 18px; }

/* ---------- preview bar (dipakai iframe dashboard) ---------- */
.preview-bar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 176, 32, .16);
  border-bottom: 1px solid rgba(255, 176, 32, .4);
  color: var(--ember-light);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 14px; text-align: center;
}

/* ---------- scroll reveal ---------- */
[data-reveal].reveal-init { opacity: 0; transform: translateY(26px); }
[data-reveal].reveal-init.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

/* ---------- tablet ---------- */
@media (min-width: 481px) {
  .prices, .features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .shot { flex-basis: 46%; }
}

/* ---------- desktop ---------- */
@media (min-width: 769px) {
  body { font-size: 17px; }

  .nav { padding: 16px 40px; }
  .nav__logo { width: 34px; height: 34px; }
  .nav__word { font-size: 18px; }
  .nav__menu { display: flex; }
  .nav__cta { margin-left: 26px; font-size: 14px; padding: 11px 20px; }
  .nav__cta-short { display: none; }
  .nav__cta-long { display: inline; }

  .section { padding: 64px 40px; }
  .section > .eyebrow, .section > h2, .section > .section__sub { max-width: 1160px; margin-left: auto; margin-right: auto; }
  .section h2 { font-size: 40px; letter-spacing: -.02em; }
  .section__sub { font-size: 17px; }

  .hero { padding: 64px 40px 72px; }
  .hero__grid {
    max-width: 1160px; margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  }
  .hero__copy h1 { font-size: 62px; line-height: 1.02; letter-spacing: -.025em; }
  .hero__copy p { font-size: 17px; max-width: 52ch; }
  .hero__actions .btn--lg { flex: 0 0 auto; min-height: 56px; }
  .hero__media { display: block; }
  .hero__media--map, .hero__media img {
    height: 420px; border-radius: 24px; overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  }
  .hero__media img { width: 100%; object-fit: cover; }

  .steps, .prices, .features, .faqs, .shots { max-width: 1160px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
  /* Di desktop keempat kartu selalu terbuka, jadi tanda +/- tidak berguna. */
  .step__head { cursor: default; }
  .step__sign { display: none; }
  .step__body { grid-template-rows: 1fr; }
  .step__body > p { padding: 0 16px 16px 46px; }
  .step:hover { transform: translateY(-4px); }

  .prices { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
  .price__amount { font-size: 30px; }
  .features { grid-template-columns: repeat(4, 1fr); gap: 16px; }

  .map__grid {
    max-width: 1160px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  }
  .map__panel { margin-top: 0; }
  .map__frame { height: 400px; border-radius: 24px; }
  .map__frame::after { border-radius: 24px; }
  .map__panel .btn--light { width: auto; padding-left: 26px; padding-right: 26px; }

  .shot { flex-basis: 30%; }

  .banner {
    max-width: 1160px; margin: 0 auto;
    border-radius: var(--radius-banner);
    padding: 44px 40px;
    display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
    background: linear-gradient(120deg, var(--ember), var(--ember-light) 70%);
  }
  .banner h2 { font-size: 34px; }
  .banner__actions { margin-top: 0; min-width: 300px; }

  .footer { padding: 56px 40px 48px; }
  .footer__grid { max-width: 1160px; margin: 0 auto; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .footer__copy { max-width: 1160px; margin-left: auto; margin-right: auto; }

  .fab { bottom: 28px; }
  .fab.is-right { right: 28px; }
  .fab.is-left { left: 28px; }
}

/* ---------- kontrol animasi dari dashboard ---------- */
html[data-anim='minimal'] .float-y,
html[data-anim='minimal'] .banner__shimmer,
html[data-anim='minimal'] .fab { animation: none; }
html[data-anim='minimal'] .banner__shimmer { opacity: 0; }

html[data-anim='off'] *,
html[data-anim='off'] *::before,
html[data-anim='off'] *::after {
  animation: none !important;
  transition: none !important;
}
html[data-anim='off'] .banner__shimmer { display: none; }
html[data-anim='off'] [data-reveal].reveal-init { opacity: 1; transform: none; }

.float-y { animation: floatY 4.5s ease-in-out infinite; }

/* ---------- reduced motion (PRD §5.3, wajib) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .banner__shimmer { display: none; }
  [data-reveal].reveal-init { opacity: 1 !important; transform: none !important; }
}
