/* ==========================================================================
   BalesOtomatis.id landing page
   Design system diturunkan dari notion.com (diukur 17 Sep 2026):
   - Inter, teks rgba(0,0,0,.95), sekunder rgba(0,0,0,.54)
   - H1 96/600/-4.6px, H2 54/700/-1.9px, H3 22/700, body 16/24, sub 20/28
   - Biru #0075de, tombol radius 8, kartu radius 12, kartu abu #f6f5f4,
     kartu putih border rgba(0,0,0,.1)
   Semua CSS ditulis sendiri; bukan design system resmi Notion.
   ========================================================================== */

@import url('../fonts/inter.css');

:root {
  --canvas: #ffffff;
  --gray-1: #f6f5f4;
  --gray-2: #f9f9f8;
  --gray-3: #efeeed;
  --line: rgba(0, 0, 0, 0.1);
  --ink: rgba(0, 0, 0, 0.95);
  --ink-2: rgba(0, 0, 0, 0.72);
  --ink-3: rgba(0, 0, 0, 0.54);
  --blue: #0075de;
  --blue-hover: #0062ba;
  --blue-soft: #e8f1fb;
  --blue-soft-hover: #d6e6f7;
  --on-blue: #ffffff;
  --btn-dark: #000000;

  /* tint pill & kartu duotone (rotasi seperti Notion) */
  --tint-yellow: #fbe9b6;
  --tint-blue: #cfe5ff;
  --tint-green: #cdebd6;
  --tint-red: #ffd6cf;
  --tint-pink: #ffd9e6;
  --dot-pink: #e1306c;
  --dot-yellow: #e8a400;
  --dot-blue: #0075de;
  --dot-green: #1aae39;
  --dot-red: #f64932;
  --duo-red: #d9412f;
  --duo-blue: #1462c8;
  --duo-yellow: #d59b12;
  --duo-green: #1f7a3a;

  --r-btn: 8px;
  --r-card: 12px;
  --maxw: 1184px;
  --gutter: clamp(20px, 3.5vw, 32px);
  --section: 56px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 50;
  --z-modal: 100;
  color-scheme: light only;
}


/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px;
  padding: 8px 14px; background: var(--btn-dark); color: var(--canvas);
  border-radius: var(--r-btn); z-index: calc(var(--z-header) + 1);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
@media (max-width: 768px) { :root { --section: 40px; } }

/* ---------- Ikon ---------- */
.ph { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -0.15em; }

/* ---------- Tipografi ---------- */
.h1 {
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.h2 {
  font-size: clamp(34px, 3.75vw, 54px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(30px, 2.9vw, 42px); letter-spacing: -0.036em; line-height: 1.14; }
.h3 { font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -0.011em; text-wrap: balance; }
.sub { font-size: 20px; line-height: 28px; letter-spacing: -0.006em; color: var(--ink-2); text-wrap: pretty; }
.small { font-size: 14px; line-height: 20px; color: var(--ink-3); }
.muted { color: var(--ink-3); }

.section-title { margin-bottom: 24px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px;
  border-radius: var(--r-btn);
  font-size: 16px; font-weight: 500; line-height: 24px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: var(--on-blue); }
.btn--primary:hover { background: var(--blue-hover); }
.btn--secondary { background: var(--blue-soft); color: var(--blue); }
.btn--secondary:hover { background: var(--blue-soft-hover); }
.btn--ghost { color: var(--ink); padding-inline: 10px; }
.btn--ghost:hover { background: var(--gray-1); }
.btn--lg { height: 40px; padding-inline: 16px; }
.btn--block { width: 100%; }
.btn .ph { font-size: 18px; margin-left: -2px; }

/* tombol lingkaran panah (Notion) */
.arrow-btn {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--btn-dark); color: var(--canvas);
  font-size: 16px;
  transition: transform 0.2s var(--ease);
}
a:hover .arrow-btn, .arrow-btn:hover { transform: translateX(2px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--canvas);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.header.is-stuck { border-bottom-color: var(--line); }
.header__inner {
  height: 64px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  /* Belum scroll: rata dengan container konten. Setelah scroll: melebar ke tepi layar. */
  padding-inline: max(24px, calc((100% - var(--maxw)) / 2));
  transition: padding 0.6s var(--ease);
}
.header.is-stuck .header__inner { padding-inline: 24px; }
.header__logo { height: 32px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 2px; }
.header__link { padding: 5px 12px; border-radius: 6px; font-size: 16px; line-height: 24px; color: var(--ink); transition: background-color 0.15s ease; }
.header__link:hover { background: var(--gray-1); }
.header__link.is-active { font-weight: 500; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.header__toggler { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--r-btn); font-size: 22px; }
.header__toggler:hover { background: var(--gray-1); }
.header__toggler .ph--close { display: none; }

@media (max-width: 900px) {
  .header__inner, .header.is-stuck .header__inner { grid-template-columns: auto 1fr auto auto; gap: 8px; padding-inline: var(--gutter); }
  .header__nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px var(--gutter) 16px; background: var(--canvas);
    border-bottom: 1px solid var(--line);
  }
  .header__nav .header__link { padding: 10px 12px; }
  .header.nav-open .header__nav { display: flex; }
  .header.nav-open .header__toggler .ph--menu { display: none; }
  .header.nav-open .header__toggler .ph--close { display: block; }
  .header__toggler { display: inline-flex; }
  .header__cta { display: none; } /* mobile: tombol daftar cukup di sticky bar bawah */
}

/* ---------- Hero ---------- */
.hero { padding-top: 56px; padding-bottom: 0; overflow: clip; text-align: center; }
.hero__avatars { display: flex; justify-content: center; margin-bottom: 40px; }
.hero__avatars img {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; background: #fff;
  border: 3px solid var(--ring, #000);
  box-shadow: 0 0 0 3px var(--canvas);
  margin-inline: -4px;
}
.hero__avatars img:nth-child(1) { --ring: #0075de; }
.hero__avatars img:nth-child(2) { --ring: #191919; }
.hero__avatars img:nth-child(3) { --ring: #f64932; }
.hero__avatars img:nth-child(4) { --ring: #e8a400; }
.hero__avatars img:nth-child(5) { --ring: #191919; }
.hero__avatars img:nth-child(6) { --ring: #0075de; }
.hero__avatars img:nth-child(7) { --ring: #f64932; }
@media (max-width: 640px) { .hero__avatars img { width: 52px; height: 52px; } }

.hero .h1 { max-width: 1000px; margin-inline: auto; }
.hero__sub { max-width: 760px; margin: 20px auto 0; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* kata berganti dalam pill: inline-block agar baseline kata = baseline teks di kiri-kanannya */
.pill {
  display: inline-block;
  padding: 0.02em 0.3em 0.02em 0.24em;
  margin-inline: 0.02em;
  border-radius: 999px;
  background: var(--tint-yellow);
  line-height: 1.02;
  vertical-align: baseline;
  white-space: nowrap;
  transition: background-color 0.4s ease;
}
.pill__dot {
  display: inline-block; vertical-align: middle;
  width: 0.28em; height: 0.28em; margin: 0 0.16em 0.08em 0;
  border-radius: 50%; background: var(--dot-yellow);
  transition: background-color 0.4s ease;
}
.pill[data-tint="blue"] { background: var(--tint-blue); } .pill[data-tint="blue"] .pill__dot { background: var(--dot-blue); }
.pill[data-tint="green"] { background: var(--tint-green); } .pill[data-tint="green"] .pill__dot { background: var(--dot-green); }
.pill[data-tint="red"] { background: var(--tint-red); } .pill[data-tint="red"] .pill__dot { background: var(--dot-red); }
.pill[data-tint="pink"] { background: var(--tint-pink); } .pill[data-tint="pink"] .pill__dot { background: var(--dot-pink); }
.pill__word { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .pill__word.is-swapping { animation: wordSwap 0.5s var(--ease); }
  @keyframes wordSwap { 0% { opacity: 0; transform: translateY(0.3em); } 100% { opacity: 1; transform: none; } }
}

/* visual hero + stiker */
.hero__stage { position: relative; max-width: 1000px; margin: 56px auto 0; }
.window { position: relative; }
.window::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--canvas)); }
@media (max-width: 640px) { .window::after { height: 48px; z-index: 3; } .hero { padding-bottom: 8px; } }
.window {
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--canvas);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.10);
  overflow: hidden;
}
.window__bar {
  position: relative; z-index: 2; /* tetap di atas stage yang di-zoom kamera di mobile */
  height: 36px; display: flex; align-items: center; gap: 8px; padding-inline: 14px;
  background: var(--gray-2); border-bottom: 1px solid var(--line);
}
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-3); border: 1px solid var(--line); }
.window__tab {
  margin-left: 8px; height: 24px; padding: 0 12px; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--canvas); border: 1px solid var(--line);
  font-size: 12px; line-height: 1; color: var(--ink-2);
}
.window__tab .ph { font-size: 12px; }
/* mobile: demo diperbesar dan dipotong ke panel chat agar terbaca */



.sticker {
  position: absolute; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px;
  background: var(--s-bg, #fff); color: var(--s-fg, #000);
  border: 3px solid var(--s-ring, #000);
  box-shadow: 0 0 0 3px var(--canvas), 0 8px 20px rgba(0,0,0,0.12);
}
.sticker--wa { --s-bg: #dff7e6; --s-fg: #128c3c; --s-ring: #1aae39; left: -64px; top: 10%; }
.sticker--ig { --s-bg: #ffe2ea; --s-fg: #c8266b; --s-ring: #e1306c; right: -68px; top: 4%; }
.sticker--fb { --s-bg: #dcecff; --s-fg: #0e5fc4; --s-ring: #0075de; right: -56px; bottom: 26%; }
.sticker--call { --s-bg: #fff2cc; --s-fg: #9a6a00; --s-ring: #e8a400; left: -52px; bottom: 20%; }
@media (max-width: 1180px) { .sticker { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .sticker { animation: float 6s ease-in-out infinite; }
  .sticker--ig { animation-delay: -2s; } .sticker--fb { animation-delay: -4s; } .sticker--call { animation-delay: -1s; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}

/* ---------- Logo wall ---------- */
.logos { padding-block: 72px 8px; text-align: center; }
@media (max-width: 640px) { .logos { padding-top: 48px; } }
.logos__label { margin-bottom: 24px; }
.logos__row { overflow: hidden; }
.logos__track { display: flex; justify-content: center; }
.logos__group { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 44px; }
.logos__group[aria-hidden] { display: none; }
@media (max-width: 760px) {
  /* mobile: satu baris, geser tanpa henti */
  .logos__row { margin-inline: calc(var(--gutter) * -1); -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
  .logos__track { width: max-content; justify-content: flex-start; }
  .logos__group, .logos__group[aria-hidden] { display: flex; flex-wrap: nowrap; gap: 36px; padding-right: 36px; }
  .logos__group img { width: 52px; height: 52px; }
  .logos__group img { animation: none; opacity: 0.8; }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes logosMarquee { to { transform: translateX(-50%); } }
    .logos__track { animation: logosMarquee 24s linear infinite; will-change: transform; }
  }
}
.logos__row img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; filter: grayscale(1); opacity: 0.8; transition: filter 0.2s ease, opacity 0.2s ease; }
.logos__row img:hover { filter: none; opacity: 1; }

/* ---------- Kartu fitur (grid Notion) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fcard {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--gray-1);
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 560px;
}
.fcard--full { grid-column: 1 / -1; flex-direction: row; min-height: 380px; }
.fcard__head { padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: start; align-content: start; }
.fcard__eyebrow { grid-column: 1; font-size: 16px; line-height: 24px; color: var(--ink); }
.fcard__head .h3 { grid-column: 1; }
.fcard__head .arrow-btn { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.fcard__body { grid-column: 1; color: var(--ink-2); max-width: 46ch; }
.fcard__shot {
  margin: auto 24px 0; flex: 1; min-height: 0;
  display: flex; align-items: flex-end;
}
.fcard__shot img.is-clipped { clip-path: inset(1.2% 1.2% 0 1.2% round 10px 10px 0 0); }
.fcard__shot img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 0 1px var(--line), 0 -6px 24px rgba(0,0,0,0.06);
  object-fit: cover; object-position: top;
  max-height: 340px;
}
.fcard--full .fcard__head { flex: 0 0 46%; }
.fcard--full .fcard__shot { flex: 1; margin: 24px 24px 0 0; align-items: flex-end; }
.fcard--full .fcard__shot img { max-height: 356px; }
.fcard--full .fcard__shot--phone img { max-height: 356px; object-position: center 22%; }
.fcard__stats { grid-column: 1; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.fcard__stats div { display: grid; }
.fcard__stats strong { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fcard__stats span { font-size: 14px; line-height: 20px; color: var(--ink-3); }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .fcard { min-height: 0; }
  .fcard--full { flex-direction: column; }
  .fcard--full .fcard__head { flex: none; }
  .fcard--full .fcard__shot { margin: 8px 24px 0; }
  .fcard__shot img, .fcard--full .fcard__shot img { max-height: 260px; }
}

/* ---------- Kartu use-case (putih ber-border) ---------- */
.usecases { margin-top: 16px; }
.usecases__label { margin-bottom: 12px; }
.usecase-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ucard {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px 20px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ucard:hover { background: var(--gray-2); border-color: rgba(0,0,0,0.18); }
.ucard__icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px;
  background: var(--u-bg, var(--gray-1)); color: var(--u-fg, var(--ink));
  border: 2px solid var(--u-ring, transparent);
}
.ucard:nth-child(1) .ucard__icon { --u-bg: #dcecff; --u-fg: #0e5fc4; --u-ring: #0075de; }
.ucard:nth-child(2) .ucard__icon { --u-bg: #ffe2ea; --u-fg: #c8266b; --u-ring: #e1306c; }
.ucard:nth-child(3) .ucard__icon { --u-bg: #fff2cc; --u-fg: #9a6a00; --u-ring: #e8a400; }
.ucard:nth-child(4) .ucard__icon { --u-bg: #dff7e6; --u-fg: #128c3c; --u-ring: #1aae39; }
.ucard:nth-child(5) .ucard__icon { --u-bg: #ece3ff; --u-fg: #6a3fc9; --u-ring: #8a5cf6; }
.ucard:nth-child(6) .ucard__icon { --u-bg: #ffe0dc; --u-fg: #b83a2b; --u-ring: #f64932; }
.ucard h3 { font-size: 16px; font-weight: 700; line-height: 24px; }
.ucard h3 .ph { font-size: 14px; margin-left: 2px; }
@media (max-width: 1100px) { .usecase-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } .ucard { padding: 18px 16px; } }

/* ---------- Testimoni duotone ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tcard {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 560px; border-radius: var(--r-card); overflow: hidden;
  background: var(--duo, #1462c8); color: #fff;
  text-align: left; cursor: pointer;
  isolation: isolate;
}
.tcard--red { --duo: var(--duo-red); }
.tcard--blue { --duo: var(--duo-blue); }
.tcard--yellow { --duo: var(--duo-yellow); }
.tcard--green { --duo: var(--duo-green); }
.tcard__img {
  position: absolute; inset: 0 0 auto 0; z-index: -1;
  width: 100%; height: 60%; object-fit: cover; object-position: center 10%;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: luminosity; opacity: 0.85;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  transition: transform 0.6s var(--ease);
}
.tcard:hover .tcard__img { transform: scale(1.03); }
.tcard::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 50%);
}
/* Perangkat sentuh / layar kecil: hindari kedut. Duotone dibuat dari grayscale + opacity (tanpa mix-blend-mode),
   tanpa transisi hover, tanpa ring berdenyut, tanpa animasi masuk pada gambar bermask. */
@media (hover: none), (max-width: 768px) {
  .tcard__img { mix-blend-mode: normal; opacity: 0.42; filter: grayscale(1) contrast(1.2) brightness(0.92); transition: none; transform: none !important; z-index: -2; -webkit-mask-image: none; mask-image: none; }
  /* pengganti mask: gradien warna kartu menutup bagian bawah gambar (murah, tanpa mask) */
  .tcard::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 60%; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, var(--duo, #1462c8) 92%); pointer-events: none; }
  .tcard__play::after { animation: none !important; display: none; }
  .reveal.in .tcard__img { animation: none !important; }
  .tcard, .tcard__img { backface-visibility: hidden; }
}
.tcard__top { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; }
.tcard__brand { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.tcard__play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.92); color: #111; font-size: 18px; transition: transform 0.2s var(--ease); }
.tcard:hover .tcard__play { transform: scale(1.08); }
.tcard__bottom { padding: 0 24px 24px; }
.tcard__quote { font-family: Georgia, 'Iowan Old Style', 'Times New Roman', serif; font-size: 20px; line-height: 28px; }
.tcard__who { margin-top: 12px; font-size: 14px; line-height: 20px; opacity: 0.92; }
@media (max-width: 1100px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } .tcard { min-height: 480px; } }
@media (max-width: 760px) {
  /* mobile: geser horizontal, satu kartu per layar */
  .testi-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .testi-grid::-webkit-scrollbar { display: none; }
  .tcard { flex: 0 0 82%; scroll-snap-align: start; min-height: 420px; }
  .tcard__img { height: 56%; }
  .tcard__quote { font-size: 18px; line-height: 26px; }
}

/* ---------- Marquee statistik ---------- */
.stats-marquee { padding-block: 0 8px; overflow: hidden; }
.stats-marquee__track { display: flex; width: max-content; }
.stats-marquee__group { display: flex; gap: 40px; padding-right: 40px; }
.stats-marquee__item { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.stats-marquee__item .ph { font-size: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .stats-marquee__track { animation: marquee 40s linear infinite; }
  .stats-marquee:hover .stats-marquee__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .stats-marquee__track { width: auto; } .stats-marquee__group { flex-wrap: wrap; justify-content: center; } .stats-marquee__group:last-child { display: none; } }

/* ---------- Harga (ala halaman pricing Notion) ---------- */
.pricing-head { max-width: 760px; margin-bottom: 32px; }
.pricing-head .sub { margin-top: 12px; }
.coupon { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85em; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); }

/* harga: pembanding jajan harian (kiri) vs kartu harga per hari (kanan) */
.anchor { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px; align-items: center; }
/* nota belanja: kertas monospace, sobekan atas-bawah lewat clip-path, bayangan lewat drop-shadow di pembungkus */
.receipt { justify-self: center; width: 100%; max-width: 420px; margin-block: 12px; filter: drop-shadow(0 18px 28px rgba(0,0,0,0.10)) drop-shadow(0 2px 4px rgba(0,0,0,0.06)); }
.receipt__paper {
  --paper: var(--gray-1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px; line-height: 24px; color: var(--ink-2);
  background: var(--paper);
  padding: 40px 30px 36px;
  clip-path: polygon(0.0% 8px, 3.85% 0, 7.69% 8px, 11.54% 0, 15.38% 8px, 19.23% 0, 23.08% 8px, 26.92% 0, 30.77% 8px, 34.62% 0, 38.46% 8px, 42.31% 0, 46.15% 8px, 50.0% 0, 53.85% 8px, 57.69% 0, 61.54% 8px, 65.38% 0, 69.23% 8px, 73.08% 0, 76.92% 8px, 80.77% 0, 84.62% 8px, 88.46% 0, 92.31% 8px, 96.15% 0, 100.0% 8px, 100.0% calc(100% - 8px), 96.15% 100%, 92.31% calc(100% - 8px), 88.46% 100%, 84.62% calc(100% - 8px), 80.77% 100%, 76.92% calc(100% - 8px), 73.08% 100%, 69.23% calc(100% - 8px), 65.38% 100%, 61.54% calc(100% - 8px), 57.69% 100%, 53.85% calc(100% - 8px), 50.0% 100%, 46.15% calc(100% - 8px), 42.31% 100%, 38.46% calc(100% - 8px), 34.62% 100%, 30.77% calc(100% - 8px), 26.92% 100%, 23.08% calc(100% - 8px), 19.23% 100%, 15.38% calc(100% - 8px), 11.54% 100%, 7.69% calc(100% - 8px), 3.85% 100%, 0.0% calc(100% - 8px));
  transform: rotate(-1.5deg);
}
.receipt__title { font-size: 13px; font-weight: 700; line-height: 18px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); text-align: center; }
.receipt__meta { font-size: 13px; line-height: 18px; color: var(--ink-3); text-align: center; margin-top: 2px; }
.receipt__items { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed rgba(0,0,0,0.28); }
.receipt__line { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-variant-numeric: tabular-nums; }
.receipt__qty { flex: none; color: var(--ink-3); }
.receipt__name { flex: 0 1 auto; min-width: 0; color: var(--ink); overflow-wrap: anywhere; }
.receipt__leader { flex: 1 1 12px; min-width: 12px; border-bottom: 2px dotted rgba(0,0,0,0.25); transform: translateY(-5px); }
.receipt__val { flex: none; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(0,0,0,0.28); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.receipt__total span:first-child { text-transform: uppercase; letter-spacing: 0.08em; }
.receipt__total span:last-child { font-size: 26px; line-height: 30px; letter-spacing: -0.01em; }
.receipt__foot { margin-top: 20px; font-size: 13px; line-height: 18px; color: var(--ink-3); text-align: center; }
.receipt__barcode { height: 38px; margin: 22px auto 0; max-width: 220px; opacity: 0.8; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px, var(--ink) 13px 14px, transparent 14px 17px); }
.anchor__card {
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px 28px 28px;
  background: var(--canvas);
  border: 1px solid var(--blue);
  border-radius: var(--r-card);
  box-shadow: 0 0 0 1px var(--blue), 0 12px 32px rgba(0,117,222,0.10);
}
.anchor__brand { font-size: 15px; font-weight: 600; line-height: 22px; color: var(--blue); }
.anchor__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-variant-numeric: tabular-nums; }
.anchor__was { flex: 0 0 100%; font-size: 15px; line-height: 20px; color: var(--ink-3); text-decoration: line-through; margin-bottom: -4px; }
.anchor__price strong { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.anchor__price span { font-size: 18px; line-height: 24px; color: var(--ink-3); }
.anchor__note { font-size: 15px; line-height: 22px; color: var(--ink-3); text-wrap: pretty; }
.anchor__fine { font-size: 14px; line-height: 20px; color: var(--ink-3); text-align: center; text-wrap: pretty; }
.pcard__list { display: grid; gap: 8px; padding-top: 4px; border-top: 1px solid var(--line); padding-top: 20px; }
.pcard__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.pcard__list .ph { color: var(--ink); margin-top: 3px; }
@media (max-width: 900px) { .anchor { grid-template-columns: 1fr; gap: 28px; max-width: 560px; } .receipt__paper { transform: none; padding: 30px 22px 26px; } .anchor__card { padding: 28px 22px 24px; } .anchor__price strong { font-size: 48px; } }
@media (max-width: 380px) { .receipt__paper { font-size: 14px; line-height: 22px; padding: 26px 16px 22px; } .receipt__total span:last-child { font-size: 22px; } .receipt__title { font-size: 12px; } }
@media (max-width: 360px) { .sticky-cta { gap: 6px; } .sticky-cta .btn, .sticky-cta .btn--primary { flex: 1 1 0; font-size: 12.5px; padding-inline: 6px; gap: 4px; } .sticky-cta .btn .ph { display: none; } }

.includes { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.includes__title { font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -0.011em; margin-bottom: 20px; }

/* kuota: 4 tile abu dengan angka besar */
.quota { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quota__tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 20px 22px; background: var(--gray-1); border-radius: var(--r-card); }
.quota__icon { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); color: var(--ink); font-size: 22px; box-shadow: 0 0 0 1px var(--line); }
.quota__tile:nth-child(1) .quota__icon { color: #c8266b; } .quota__tile:nth-child(2) .quota__icon { color: #128c3c; } .quota__tile:nth-child(3) .quota__icon { color: #0e5fc4; } .quota__tile:nth-child(4) .quota__icon { color: #6a3fc9; }
.quota__num { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.quota__label { font-size: 14px; line-height: 19px; color: var(--ink-2); margin-top: 4px; text-wrap: pretty; }

/* chip fitur */
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; font-size: 15px; line-height: 22px; color: var(--ink); transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.2s var(--ease); }
.chip:hover { background: var(--gray-2); border-color: rgba(0,0,0,0.18); transform: translateY(-2px); }
.chip .ph { font-size: 20px; color: var(--ink-2); }
.chip em { font-style: normal; font-size: 12px; font-weight: 600; line-height: 18px; padding: 0 8px; border-radius: 999px; background: var(--tint-blue); color: var(--blue); margin-left: 4px; }
@media (max-width: 1100px) { .quota { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quota { grid-template-columns: 1fr; } .quota__tile { padding: 16px 18px; } .chip { font-size: 14px; padding: 8px 14px 8px 10px; } }

/* ---------- FAQ (accordion ala Notion) ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq__aside { position: sticky; top: 88px; }
.faq__aside .sub { margin: 12px 0 20px; max-width: 34ch; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px;
  font-size: 18px; font-weight: 600; line-height: 26px; letter-spacing: -0.01em;
  transition: color 0.15s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--gray-1); color: var(--ink); font-size: 16px; }
.faq__icon .ph--minus { display: none; }
.faq__item[open] .faq__icon .ph--plus { display: none; }
.faq__item[open] .faq__icon .ph--minus { display: block; }
.faq__item p { padding: 0 48px 22px 4px; color: var(--ink-2); font-size: 16px; line-height: 24px; text-wrap: pretty; max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } .faq__aside { position: static; } .faq__item summary { font-size: 17px; padding-block: 16px; } }

/* ---------- CTA band ---------- */
.cta { background: var(--gray-1); padding: 64px 32px; text-align: center; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { padding-block: 64px 32px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__brand img { height: 32px; width: auto; }
.footer__brand p { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--ink-2); max-width: 32ch; }
.footer__social { display: flex; gap: 4px; margin-top: 16px; }
.footer__social a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-2); font-size: 20px; }
.footer__social a:hover { background: var(--gray-1); color: var(--ink); }
.footer h4 { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ink-3); margin-bottom: 12px; }
.footer li + li { margin-top: 8px; }
.footer li a { font-size: 16px; line-height: 24px; color: var(--ink); }
.footer li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.footer__bottom a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Sticky CTA (mobile, muncul setelah hero lewat) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: calc(var(--z-header) - 1);
  display: none; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--canvas); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.4s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1 1 0; min-width: 0; height: 44px; padding-inline: 10px; font-size: 15px; gap: 6px; }
.sticky-cta .btn--primary { flex: 0 0 auto; }
.sticky-cta .btn .ph { font-size: 17px; margin-left: 0; }
@media (max-width: 400px) { .sticky-cta .btn { font-size: 14px; padding-inline: 8px; } .sticky-cta .btn--secondary .ph { display: none; } }
@media (max-width: 900px) { .sticky-cta { display: flex; } body.has-sticky-cta { padding-bottom: 76px; } }

/* ---------- Monogram di kartu testimoni ---------- */
.tcard__brand { display: inline-flex; align-items: center; gap: 8px; }
.tcard__mark {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(255,255,255,0.92); color: var(--duo); font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
}

/* ---------- Modal video ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: none; align-items: center; justify-content: center; padding: var(--gutter); background: rgba(0,0,0,0.78); }
.modal.is-open { display: flex; }
.modal__dialog { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-card); overflow: hidden; }
.modal__dialog iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.92); color: #111; font-size: 18px; }
.modal__close:hover { background: #fff; }

/* ---------- Chip fitur = tombol pembuka alur kerja ---------- */
.chips li { display: contents; }
button.chip { font: inherit; text-align: left; cursor: pointer; }
.chips__hint { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--ink-3); }

/* ---------- Modal alur kerja fitur ---------- */
/* overlay yang menggulir (scrollbar bawaan browser); dialog tidak punya scroll sendiri, tingginya ikut konten.
   margin:auto = di tengah bila muat, otomatis rata atas bila lebih tinggi dari layar */
.fm { background: rgba(0,0,0,0.55); overflow-y: auto; align-items: flex-start; overscroll-behavior: contain; }
/* mode pratinjau hover: backdrop tembus pointer supaya chip lain tetap bisa di-hover dan kursor keluar = tutup */
.fm.fm--hover.is-open { background: transparent; pointer-events: none; display: block; overflow: visible; }
.fm--hover .fm__dialog { pointer-events: auto; position: absolute; margin: 0; width: 460px; padding: 18px 18px 14px; gap: 12px; box-shadow: 0 18px 48px rgba(0,0,0,0.18), 0 0 0 1px var(--line); }
.fm--hover .fm__close, .fm--hover .fm__cases, .fm--hover .fm__foot { display: none; }
.fm--hover .fm__head { padding-right: 0; }
.fm--hover .fm__title { font-size: 17px; line-height: 23px; }
.fm--hover .fm__lead { display: none; }
.fm--hover .fm__icon { width: 36px; height: 36px; font-size: 18px; }
.fm--hover .fm__stage { padding: 4px 0; }
.fm--hover .fm__hint { display: block; font-size: 12px; color: var(--ink-3); text-align: center; }
.fm__hint { display: none; }
.fm__dialog {
  position: relative; width: min(780px, 100%); margin: auto;
  display: grid; gap: 20px; padding: 28px 28px 24px;
  background: var(--canvas); border-radius: var(--r-card); box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.fm__close { background: var(--gray-1); color: var(--ink); }
.fm__close:hover { background: var(--gray-3); }
.fm__head { display: flex; gap: 16px; align-items: flex-start; padding-right: 44px; }
.fm__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 24px; }
.fm__title { font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -0.011em; text-wrap: balance; }
.fm__lead { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--ink-2); text-wrap: pretty; max-width: 62ch; }
.fm__stage { background: var(--gray-1); border-radius: var(--r-card); padding: 8px 4px; }
.fm__stage .fl { display: block; width: 100%; height: auto; }
.fm__cases h4 { font-size: 15px; font-weight: 600; line-height: 22px; margin-bottom: 10px; }
.fm__cases ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fm__cases li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.fm__cases strong { display: block; font-size: 13px; line-height: 18px; color: var(--blue); margin-bottom: 4px; }
.fm__cases span { font-size: 14px; line-height: 20px; color: var(--ink-2); text-wrap: pretty; }
.fm__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.fm__nav { display: inline-flex; align-items: center; gap: 6px; }
.fm__nav button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-1); color: var(--ink); font-size: 16px; }
.fm__nav button:hover { background: var(--gray-3); }
.fm__prev .ph { transform: rotate(180deg); }
.fm__counter { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--ink-3); min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 768px) {
  .fm { padding: 0; }
  .fm__dialog { width: 100%; margin: 24px 0 0; border-radius: 16px 16px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px)); gap: 16px; }
  .fm__dialog::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; border-radius: 2px; background: rgba(0,0,0,0.18); transform: translateX(-50%); }
  .fm__head { padding-right: 40px; }
  .fm__icon { width: 40px; height: 40px; font-size: 20px; }
  .fm__title { font-size: 19px; line-height: 25px; }
  .fm__lead { font-size: 14px; line-height: 21px; }
  .fm__stage { margin-inline: -6px; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .fm__stage .fl { min-width: 520px; }
  .fl__label { font-size: 13.5px; } .fl__sub { font-size: 12px; } .fl__pill text { font-size: 12px; }
  .fm__cases ul { grid-template-columns: 1fr; }
  .fm__foot { flex-wrap: wrap; }
  .fm__foot .btn { flex: 1 1 100%; }
}

/* ---------- Modal Demo Canvas (adegan SVG animasi dari kartu fitur) ---------- */
.dmm .fm__dialog { width: min(1140px, 100%); gap: 18px; outline: none; }
.dmm__head { padding-right: 44px; }
.dmm__sim { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--gray-1); color: var(--ink-3); font-size: 12px; font-weight: 600; line-height: 18px; }
.dmm__sim .ph { font-size: 14px; }
.dmm__lead { max-width: 70ch; }
.dmm__stage { background: var(--gray-1); border-radius: var(--r-card); padding: 10px; min-height: 240px; display: grid; place-items: center; }
.dmm__stage .dm { width: 100%; }
.dmm__proof[hidden] { display: none; }
.dmm__loading { font-size: 14px; color: var(--ink-3); padding: 40px 0; }
.dmm__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.dmm__steps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; line-height: 19px; color: var(--ink-3); transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease; }
.dmm__num { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--gray-1); color: var(--ink-3); transition: background-color 0.25s ease, color 0.25s ease; }
.dmm__steps li.is-on { border-color: var(--blue); color: var(--ink); background: var(--blue-soft); }
.dmm__steps li.is-on .dmm__num { background: var(--blue); color: var(--on-blue); }
.dmm__steps li.is-done { color: var(--ink-2); }
.dmm__steps li.is-done .dmm__num { background: var(--tint-green); color: var(--duo-green); }
.dmm__tools { display: flex; gap: 8px; flex-wrap: wrap; }
.dmm__tools .btn { height: 40px; font-size: 14px; }
@media (max-width: 768px) {
  .dmm__stage { padding: 6px; margin-inline: -6px; }
  .dmm__steps { grid-template-columns: 1fr; gap: 6px; }
  .dmm__steps li { padding: 8px 10px; }
  .dmm__foot .dmm__tools { flex: 1 1 100%; }
  .dmm__foot .dmm__tools .btn { flex: 1 1 0; }
}

/* saat modal demo terbuka, animasi halaman di belakang backdrop dijeda (hemat CPU) */
body.dmm-open .idm, body.dmm-open .idm *, body.dmm-open .stats-marquee__track, body.dmm-open .stats-marquee__item .ph, body.dmm-open .tcard__play::after { animation-play-state: paused !important; }

/* mode ringan (feature-demos.js fpsGuard): tanpa kursor & animasi berulang */
.dm--lite .dm-ov-live { display: none; }
.dm--lite .dm-b, .dm--lite .dm-ring, .dm--lite .dm-wave { animation: none !important; }

/* tab HP / Dashboard untuk demo di layar sempit */
.dmm__tabs { display: none; gap: 6px; padding: 4px; background: var(--gray-1); border-radius: 10px; }
.dmm__tabs button { flex: 1 1 0; height: 36px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.dmm__tabs button.is-on { background: var(--canvas); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
@media (max-width: 768px) { .dmm__tabs:not([hidden]) { display: flex; } }

/* diagram alur (SVG) */
.fl { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; }
.fl__edge { fill: none; stroke: rgba(0,0,0,0.22); stroke-width: 2; stroke-dasharray: 6 7; stroke-linecap: round; }
.fl__edge--dashed { stroke-dasharray: 2 7; }
.fl__edge--ok { stroke: rgba(26,174,57,0.6); }
.fl__pkt { fill: var(--blue); }
.fl__pkt--msg { stroke: var(--canvas); stroke-width: 1.5; }
.fl__pkt--ok { fill: var(--dot-green); }
.fl__bg { fill: var(--canvas); stroke: rgba(0,0,0,0.14); stroke-width: 1.5; }
.fl__ic { color: var(--ink); fill: currentColor; }
.fl__node--brand .fl__bg { fill: var(--blue); stroke: var(--blue); }
.fl__node--brand .fl__ic { color: var(--on-blue); }
.fl__node--ok .fl__bg { fill: var(--tint-green); stroke: transparent; }
.fl__node--ok .fl__ic { color: var(--duo-green); }
.fl__ring { fill: none; stroke: var(--blue); stroke-width: 2; opacity: 0.5; }
.fl__label { font-size: 12px; font-weight: 600; fill: var(--ink); }
.fl__sub { font-size: 10.5px; fill: var(--ink-3); }
.fl__node--small .fl__label { font-size: 11px; }
.fl__pill rect { fill: var(--blue-soft); }
.fl__pill text { font-size: 11px; font-weight: 600; fill: var(--blue); }
.fl__node, .fl__pill { transform-box: fill-box; transform-origin: center; }

/* Animasi dijeda saat elemen di luar layar (hemat CPU) */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: 0.06s; } .reveal-d2 { transition-delay: 0.12s; } .reveal-d3 { transition-delay: 0.18s; }
  .hero > .container > * { animation: rise 0.7s var(--ease) both; }
  .hero > .container > :nth-child(2) { animation-delay: 0.06s; }
  .hero > .container > :nth-child(3) { animation-delay: 0.12s; }
  .hero > .container > :nth-child(4) { animation-delay: 0.18s; }
  .hero > .container > :nth-child(5) { animation-delay: 0.28s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ==========================================================================
   ANIMASI IKON & GAMBAR
   Tiga lapis: masuk viewport (pop/rise berjenjang), idle halus, hover.
   Semua dimatikan di prefers-reduced-motion (blok paling bawah).
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* --- keyframes --- */
  @keyframes iconPop   { 0% { opacity: 0; transform: scale(0.4) rotate(-12deg); } 60% { opacity: 1; transform: scale(1.12) rotate(3deg); } 100% { transform: scale(1) rotate(0); } }
  @keyframes iconBounce{ 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-3px) scale(1.12); } 70% { transform: translateY(1px); } }
  @keyframes iconWiggle{ 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
  @keyframes iconBob   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
  @keyframes ringPulse { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
  @keyframes dotPulse  { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
  @keyframes imgRise   { 0% { opacity: 0; transform: translateY(24px) scale(0.97); } 100% { opacity: 1; transform: none; } }
  @keyframes avatarIn  { 0% { opacity: 0; transform: translateY(12px) scale(0.6); } 70% { transform: translateY(-2px) scale(1.06); } 100% { opacity: 1; transform: none; } }
  @keyframes logoIn    { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0.8; transform: none; } }
  @keyframes spinSlow  { to { transform: rotate(360deg); } }

  /* --- tombol: ikon bounce saat hover, tombol primer ikon "napas" --- */
  .btn .ph { transition: transform 0.2s var(--ease); }
  .btn:hover .ph { animation: iconBounce 0.5s var(--ease); }
  .btn--primary .ph { animation: iconBob 3s ease-in-out infinite; }
  .btn--primary:hover .ph { animation: iconBounce 0.5s var(--ease); }

  /* --- tombol lingkaran panah: pop saat masuk, geser saat hover --- */
  .reveal.in .arrow-btn { animation: iconPop 0.6s var(--ease) 0.25s both; }
  .arrow-btn .ph { transition: transform 0.2s var(--ease); }
  a:hover .arrow-btn .ph, .arrow-btn:hover .ph { transform: translateX(3px); }

  /* --- hero: avatar masuk berjenjang, idle float bergantian, hover membesar --- */
  .hero__avatars img { animation: avatarIn 0.7s var(--ease) both, iconBob 4s ease-in-out infinite; animation-delay: calc(0.1s + var(--i, 0) * 70ms), calc(var(--i, 0) * -0.6s); transition: transform 0.2s var(--ease); }
  .hero__avatars img:hover { animation-play-state: paused, paused; transform: scale(1.12); z-index: 1; }
  .pill__dot { animation: dotPulse 1.6s ease-in-out infinite; }
  .window { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
  .window:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 28px 64px rgba(0,0,0,0.14); }
  .window__tab .ph { animation: iconBob 3s ease-in-out infinite; }
  .sticker .ph { transition: transform 0.3s var(--ease); }
  .sticker:hover .ph { animation: iconWiggle 0.5s var(--ease); }

  /* --- logo wall: masuk berjenjang, hover warna + naik --- */
  .logos__row img { animation: logoIn 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); transition: filter 0.2s ease, opacity 0.2s ease, transform 0.25s var(--ease); }
  .logos__row img:hover { transform: translateY(-4px) scale(1.06); }

  /* --- kartu fitur: screenshot naik saat masuk, terangkat saat hover --- */
  .fcard__shot img { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
  .reveal.in .fcard__shot img { animation: imgRise 0.8s var(--ease) 0.15s both; }
  .fcard:hover .fcard__shot img { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 -6px 24px rgba(0,0,0,0.06), 0 18px 40px rgba(0,0,0,0.10); }
  .fcard__stats strong { transition: color 0.2s ease; }

  /* --- kartu use-case: ikon pop berjenjang, ring berdenyut, wiggle saat hover --- */
  .ucard__icon { position: relative; }
  .ucard__icon::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--pulse, rgba(0,117,222,0.35)); animation: ringPulse 3.2s ease-out infinite; animation-delay: calc(var(--i, 0) * 0.45s); pointer-events: none; }
  .ucard.in .ucard__icon .ph { animation: iconPop 0.6s var(--ease) both; animation-delay: calc(0.1s + var(--i, 0) * 80ms); }
  .ucard:hover .ucard__icon .ph { animation: iconWiggle 0.5s var(--ease); }
  .ucard h3 .ph { transition: transform 0.2s var(--ease); }
  .ucard:hover h3 .ph { transform: translateX(4px); }
  .ucard:nth-child(1) .ucard__icon { --pulse: rgba(0,117,222,0.45); }
  .ucard:nth-child(2) .ucard__icon { --pulse: rgba(225,48,108,0.28); }
  .ucard:nth-child(3) .ucard__icon { --pulse: rgba(232,164,0,0.30); }
  .ucard:nth-child(4) .ucard__icon { --pulse: rgba(26,174,57,0.30); }
  .ucard:nth-child(5) .ucard__icon { --pulse: rgba(138,92,246,0.28); }
  .ucard:nth-child(6) .ucard__icon { --pulse: rgba(246,73,50,0.28); }

  /* --- testimoni: gambar masuk, tombol play berdenyut --- */
  .reveal.in .tcard__img { animation: imgRise 0.9s var(--ease) both; }
  .tcard__play { position: relative; }
  .tcard__play::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.7); animation: ringPulse 2.4s ease-out infinite; pointer-events: none; }
  .tcard__play .ph { transition: transform 0.2s var(--ease); }
  .tcard:hover .tcard__play .ph { transform: scale(1.15); }

  /* --- marquee: ikon bob berjenjang --- */
  .stats-marquee__item .ph { animation: iconBob 2.8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.4s); }

  /* --- harga: ikon check pop saat masuk, judul kelompok wiggle saat hover --- */
  .reveal.in .pcard__list .ph { animation: iconPop 0.5s var(--ease) both; }
  .reveal.in .pcard__list li:nth-child(1) .ph { animation-delay: 0.30s; }
  .reveal.in .pcard__list li:nth-child(2) .ph { animation-delay: 0.38s; }
  .reveal.in .pcard__list li:nth-child(3) .ph { animation-delay: 0.46s; }
  .reveal.in .quota__icon .ph { animation: iconPop 0.6s var(--ease) both; animation-delay: calc(0.1s + var(--i, 0) * 90ms); }
  .quota__tile:hover .quota__icon .ph { animation: iconWiggle 0.5s var(--ease); }
  @keyframes chipIn { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
  .reveal.in .chip { animation: chipIn 0.5s var(--ease) both; animation-delay: calc(0.25s + var(--i, 0) * 50ms); }
  .chip:hover .ph { animation: iconBounce 0.5s var(--ease); }
  .reveal.in .receipt__line { animation: chipIn 0.45s var(--ease) both; animation-delay: calc(0.15s + var(--i, 0) * 110ms); }
  .reveal.in .receipt__total, .reveal.in .receipt__foot, .reveal.in .receipt__barcode { animation: chipIn 0.45s var(--ease) both; animation-delay: 0.55s; }
  .anchor__card { transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
  .anchor__card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--blue), 0 18px 40px rgba(0,117,222,0.14); }

  /* --- modal alur kerja: masuk, node muncul berurutan, garis mengalir, ring berdenyut --- */
  @keyframes fmIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
  @keyframes fmUp { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes flDash { to { stroke-dashoffset: -13; } }
  @keyframes flIn { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
  @keyframes flEdgeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes flRing { 0% { scale: 1; opacity: 0.55; } 100% { scale: 1.6; opacity: 0; } }
  .fm.is-open .fm__dialog { animation: fmIn 0.35s var(--ease) both; }
  @media (max-width: 768px) { .fm.is-open .fm__dialog { animation: fmUp 0.4s var(--ease) both; } }
  .fl__edge { animation: flDash 1.1s linear infinite, flEdgeIn 0.4s var(--ease) both; animation-delay: 0s, calc(var(--d, 0s) + 0.15s); }
  .fl__edge--dashed { animation-duration: 2s, 0.4s; }
  .fl__node, .fl__pill { animation: flIn 0.5s var(--ease) both; animation-delay: var(--d, 0s); }
  .fl__ring { transform-box: fill-box; transform-origin: center; animation: flRing 1.8s ease-out infinite; }
  .fl--static .fl__edge, .fl--static .fl__node, .fl--static .fl__pill, .fl--static .fl__ring { animation: none; }
  .fm__cases li { animation: chipIn 0.45s var(--ease) both; animation-delay: calc(0.5s + var(--i, 0) * 80ms); }
  .fm__nav button .ph { transition: transform 0.2s var(--ease); }
  .fm__next:hover .ph { transform: translateX(2px); }
  .fm__prev:hover .ph { transform: rotate(180deg) translateX(2px); }

  /* --- FAQ: ikon +/- berputar --- */
  .faq__icon { transition: background-color 0.2s ease, transform 0.35s var(--ease); }
  .faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--blue-soft); color: var(--blue); }
  .faq__item summary:hover .faq__icon { transform: scale(1.1); }
  .faq__item[open] summary:hover .faq__icon { transform: rotate(180deg) scale(1.1); }

  /* --- footer & header: logo dan sosial --- */
  .header__logo, .footer__brand img { transition: transform 0.25s var(--ease); }
  .header__logo:hover, .footer__brand img:hover { transform: scale(1.03); }
  .footer__social a .ph { transition: transform 0.2s var(--ease); }
  .footer__social a:hover .ph { animation: iconBounce 0.5s var(--ease); }
  .header__toggler .ph { transition: transform 0.25s var(--ease); }
  .header__toggler:hover .ph { transform: rotate(90deg); }
  .modal__close .ph { transition: transform 0.25s var(--ease); }
  .modal__close:hover .ph { transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
