/* ==========================================================================
   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: 96px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 50;
  --z-modal: 100;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #191919;
    --gray-1: #202020;
    --gray-2: #242424;
    --gray-3: #2c2c2c;
    --line: rgba(255, 255, 255, 0.12);
    --ink: rgba(255, 255, 255, 0.92);
    --ink-2: rgba(255, 255, 255, 0.72);
    --ink-3: rgba(255, 255, 255, 0.5);
    --blue: #3b95ee;
    --blue-hover: #5aa6f2;
    --blue-soft: #16283d;
    --blue-soft-hover: #1c3554;
    --on-blue: #0b1220;
    --btn-dark: #ffffff;
    --tint-yellow: #4a3a0e;
    --tint-blue: #14304f;
    --tint-green: #143a20;
    --tint-red: #4a1d16;
    --tint-pink: #4a1830;
    color-scheme: dark;
  }
}

/* ---------- 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: 64px; } }

/* ---------- 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__signin { display: none; }
}

/* ---------- 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 (prefers-color-scheme: dark) { .hero__avatars img:nth-child(2), .hero__avatars img:nth-child(5) { --ring: #e9e9e7; } }
@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 {
  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 {
  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; }
.window img { width: 100%; height: auto; display: block; aspect-ratio: 1600 / 846; }


.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: 40px 0; text-align: center; }
.logos__label { margin-bottom: 24px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 44px; }
.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; }
@media (prefers-color-scheme: dark) { .logos__row img { background: #fff; padding: 4px; } .header__logo, .footer__brand img { background: #fff; padding: 3px 6px; border-radius: 6px; } }

/* ---------- 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: 24px; }
.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%);
}
.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: 560px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- Marquee statistik ---------- */
.stats-marquee { padding-block: 8px 24px; 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); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pcard {
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px 24px 24px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pcard:hover { border-color: rgba(0,0,0,0.2); }
.pcard--featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 12px 32px rgba(0,117,222,0.10); }
.pcard__badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 12px; font-weight: 600; line-height: 18px; padding: 2px 10px;
  border-radius: 999px; background: var(--blue); color: var(--on-blue);
}
.pcard__name { font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -0.011em; }
.pcard__desc { margin-top: 6px; color: var(--ink-3); font-size: 15px; line-height: 22px; text-wrap: pretty; min-height: 44px; }
.pcard__price { display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.pcard__was { font-size: 14px; line-height: 20px; color: var(--ink-3); text-decoration: line-through; }
.pcard__price strong { font-size: 40px; font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
.pcard__per { font-size: 14px; line-height: 20px; color: var(--ink-3); }
.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: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } .pcard--featured { order: -1; } .pcard__desc { min-height: 0; } }

.includes { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.includes__title { font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -0.011em; margin-bottom: 24px; }
.includes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.includes__group h4 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; line-height: 24px; margin-bottom: 8px; }
.includes__group h4 .ph { font-size: 20px; color: var(--ink-2); }
.includes__group li { position: relative; padding: 6px 0 6px 20px; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.includes__group li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.includes__group li em { font-style: normal; font-size: 12px; font-weight: 600; line-height: 18px; padding: 0 7px; border-radius: 999px; background: var(--tint-blue); color: var(--blue); margin-left: 6px; }
@media (max-width: 860px) { .includes__grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- 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; height: 44px; }
@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; }

/* 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 .includes__group h4 .ph { animation: iconPop 0.6s var(--ease) both; }
  .reveal.in .includes__group:nth-child(2) h4 .ph { animation-delay: 0.1s; }
  .reveal.in .includes__group:nth-child(3) h4 .ph { animation-delay: 0.2s; }
  .includes__group:hover h4 .ph { animation: iconWiggle 0.5s var(--ease); }
  .pcard { transition: border-color 0.15s ease, box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
  .pcard:hover { transform: translateY(-3px); }

  /* --- 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; }
}
