/* ==========================================================================
   NgtmyAgent landing page
   Tata letak & gaya mengikuti clickup.com (navbar dropdown, hero besar, panggung
   interaktif, grid berpagar garis tipis, kartu gelap, tab, kartu gradien).
   Warna TETAP dari palet AppTheme (lib/theme/app_theme.dart): krem, tinta,
   terracotta, ochre. Font Outfit.
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("assets/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f5efeb;
  --surface: #efe8e1;
  --card: #faf7f2;
  --ink: #25211e;
  --ink-muted: #7e736a;
  --border: #e4dad0;
  --terracotta: #d47763;
  --terracotta-dark: #ba5e4b;
  --ochre: #c68a4c;
  --error: #c75a4e;
  --wrap: 1280px;
  --gut: clamp(40px, 6vw, 96px);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  /* Ikon maskot punya latar putih: lebur ke kanvas krem */
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(var(--wrap), 100% - var(--gut));
  margin-inline: auto;
}

.i {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Judul dua nada: gelap ke abu-abu hangat, per baris */
.g2 {
  background: linear-gradient(90deg, var(--ink) 28%, #9d9188 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Tanda "+" di sudut bingkai, seperti di clickup.com */
.xs {
  position: relative;
}

.xs::before,
.xs::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 11px;
  height: 11px;
  z-index: 2;
  opacity: 0.55;
  background: linear-gradient(var(--ink-muted), var(--ink-muted)) center / 1px 100% no-repeat,
    linear-gradient(var(--ink-muted), var(--ink-muted)) center / 100% 1px no-repeat;
}

.xs::before {
  left: -6px;
}

.xs::after {
  right: -6px;
}

/* ---------- Tombol ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible,
.nav-trigger:focus-visible,
.nav-link:focus-visible,
.mega-link:focus-visible,
.stage-tab:focus-visible,
.pill:focus-visible,
.check:focus-within,
.nav-toggle:focus-visible,
.faq summary:focus-visible,
.modal-close:focus-visible {
  outline: 2px solid var(--terracotta-dark);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--terracotta);
  color: #fffaf5;
  box-shadow: 0 10px 22px -12px rgba(186, 94, 75, 0.8);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
}

.btn-dark {
  background: var(--ink);
  color: #faf7f2;
}

.btn-dark:hover {
  background: #3b3531;
}

.btn-light {
  background: var(--surface);
  color: var(--ink);
}

.btn-light:hover {
  background: #e7ddd3;
}

.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: #cfc2b4;
}

.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--ink);
}

.btn-white {
  background: #faf7f2;
  color: var(--ink);
  box-shadow: 0 14px 30px -16px rgba(37, 33, 30, 0.6);
}

.btn-white:hover {
  background: #fff;
}

.btn-outline-w {
  color: #fffaf5;
  border-color: rgba(255, 250, 245, 0.65);
}

.btn-outline-w:hover {
  border-color: #fffaf5;
  background: rgba(255, 250, 245, 0.1);
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15.5px;
  border-radius: 12px;
}

.btn-sm {
  padding: 7px 13px;
  font-size: 13.5px;
  border-radius: 9px;
}

.btn .arr {
  transition: transform 0.25s var(--ease);
}

.btn:hover .arr {
  transform: translateX(3px);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-primary:disabled:hover {
  background: var(--terracotta);
}

/* ---------- Navbar ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 235, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
}

.nav {
  height: 58px;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 22px;
}

.nav-item {
  position: static;
}

.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-trigger:hover,
.nav-link:hover,
.nav-item.open > .nav-trigger {
  color: var(--ink);
}

.nav-trigger .chev {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  transition: transform 0.25s var(--ease);
}

.nav-item.open .chev {
  transform: rotate(180deg);
}

/* Menu dropdown selebar layar, seperti clickup.com */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 40px 50px -36px rgba(37, 33, 30, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.28s var(--ease), visibility 0s linear 0.28s;
}

/* Jembatan tak terlihat agar kursor tidak "putus" dari tombol ke panel */
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mega-in {
  width: min(var(--wrap), 100% - var(--gut));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px 8px;
  padding: 22px 0 30px;
}

.mega-in::before {
  content: attr(data-label);
  grid-column: 1 / -1;
  margin: 0 0 8px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.mega-link {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 14px;
  border-radius: 14px;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.mega-link:hover {
  background: var(--surface);
}

.mega-link .i {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--terracotta-dark);
  transition: transform 0.3s var(--ease);
}

.mega-link:hover .i {
  transform: scale(1.12) rotate(-4deg);
}

.mega-link b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mega-link small {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ink-muted);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-wa {
  padding: 8px 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-wa:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  top: 19px;
  transform: rotate(-45deg);
}

.nav-mobile-cta {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}

/* Kertas berpetak, sama seperti GridPaperBackground di aplikasi */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(212, 119, 99, 0.26) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 119, 99, 0.26) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(var(--card), var(--card)),
    linear-gradient(90deg, var(--terracotta), var(--ochre));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -14px rgba(186, 94, 75, 0.7);
}

.badge .i {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
  transition: transform 0.25s var(--ease);
}

.badge:hover .i {
  transform: translateX(3px);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(46px, 6.6vw, 94px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  max-width: 26ch;
  text-wrap: balance;
}

/* Judul muncul kata demi kata (kelas ditambah oleh script.js) */
.js-split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.04em 0.12em 0;
  margin-bottom: -0.12em;
}

.js-split .w > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 80ms);
}

.js-split.in .w > span {
  transform: none;
}

.hero .lead {
  margin-top: 26px;
  max-width: 600px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.38;
  color: var(--ink-muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.hero-note {
  text-align: left;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-muted);
}

/* ---------- Panggung ---------- */

.stage-wrap {
  border-top: 1px solid var(--border);
}

.stage {
  display: grid;
  grid-template-columns: 300px 1fr;
  border-inline: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stage-tabs {
  padding: 14px 0;
  border-right: 1px solid var(--border);
}

.stage-tab {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px 18px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.stage-tab:hover {
  color: var(--ink);
}

.stage-tab .ic {
  width: 20px;
  height: 20px;
  flex: none;
}

.stage-tab .ic-on {
  display: none;
}

.stage-tab.on {
  color: var(--terracotta-dark);
}

.stage-tab.on .ic-off {
  display: none;
}

.stage-tab.on .ic-on {
  display: block;
  animation: ic-pop 0.45s var(--ease);
}

.stage-tab .bar {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
}

.stage-tab .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform-origin: left;
  transform: scaleX(0);
}

.stage-tab.on .bar::after {
  animation: fill var(--dur, 6.5s) linear forwards;
}

.stage:hover .stage-tab.on .bar::after,
.stage.off .stage-tab.on .bar::after {
  animation-play-state: paused;
}

.stage-view {
  position: relative;
  min-height: 460px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(60% 70% at 28% 50%, rgba(212, 119, 99, 0.2), transparent 70%),
    radial-gradient(circle, rgba(37, 33, 30, 0.1) 1px, transparent 1.3px) 0 0 / 22px 22px, var(--card);
}

.stage-bot {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.stage-bot canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.92) translateY(10px);
  transition: opacity 0.5s ease, transform 0.7s var(--ease);
}

.stage[data-bot="cimlay"] canvas[data-robot="cimlay"],
.stage[data-bot="laqley"] canvas[data-robot="laqley"] {
  opacity: 1;
  transform: none;
}

.stage-feed {
  position: relative;
  z-index: 1;
}

.scene {
  display: none;
  gap: 12px;
}

.scene.on {
  display: grid;
}

.fc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 32px -20px rgba(37, 33, 30, 0.4);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: fc-in 0.6s var(--ease) forwards;
  animation-delay: calc(0.3s + var(--i) * 0.95s);
}

.fc .ck {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--terracotta);
}

.fc .ck::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--terracotta);
  animation: spin 0.7s linear infinite,
    hide 0.01s linear forwards calc(0.3s + var(--i) * 0.95s + 0.9s);
  animation-delay: calc(0.3s + var(--i) * 0.95s), calc(0.3s + var(--i) * 0.95s + 0.9s);
}

.fc .ck .i {
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  opacity: 0;
  transform: scale(0.4);
  animation: ic-pop 0.45s var(--ease) forwards;
  animation-delay: calc(0.3s + var(--i) * 0.95s + 0.9s);
}

/* ---------- Pita berjalan ---------- */

.marquee-wrap {
  border-bottom: 1px solid var(--border);
}

.marquee-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
}

.marquee-label {
  flex: none;
  color: var(--ink-muted);
}

.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #a79c92;
  white-space: nowrap;
}

.marquee-track .mono {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

/* ---------- Seksi umum ---------- */

.sec {
  padding: 120px 0;
}

.sec-tight {
  padding: 80px 0;
}

.sec-head {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.sec-head h2,
.head-row h2,
.faq-head h2 {
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.sec-head p,
.head-row p {
  margin-top: 20px;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.42;
  color: var(--ink-muted);
}

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.head-row > div {
  max-width: 760px;
}

/* ---------- Keunggulan ---------- */

.flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(160px, 1.15fr) 1fr;
  align-items: center;
  max-width: 920px;
  margin: 72px auto 0;
}

.flow-node {
  padding: 24px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 44px -30px rgba(37, 33, 30, 0.5);
}

.flow-node strong {
  display: block;
  font-size: 21px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.flow-node span {
  display: block;
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.flow-mid {
  position: relative;
  height: 150px;
}

.flow-ghost {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px 9px;
  border: 1.5px dashed #cfc2b4;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.25;
  text-align: center;
  color: var(--ink-muted);
  white-space: nowrap;
}

.flow-ghost small {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}

.flow-ghost::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  height: 21px;
  border-left: 1.5px dashed #cfc2b4;
}

.flow-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 75px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--ochre));
}

.flow-line i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta-dark);
  box-shadow: 0 0 0 4px rgba(212, 119, 99, 0.22);
  opacity: 0;
  animation: travel 2.6s linear infinite;
  animation-delay: calc(var(--k) * 0.87s);
}

.flow-line em {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* Grid bergaris tipis dengan label mono */

.cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.cell {
  padding: 28px 28px 34px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease;
}

.cell:hover {
  background: rgba(250, 247, 242, 0.75);
}

.cell > .mono {
  display: block;
  color: var(--terracotta-dark);
}

.cell h3 {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cell .sub {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--terracotta-dark);
}

.cell p {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--ink-muted);
}

.cell p + p {
  margin-top: 10px;
}

.cells-sm .cell {
  padding: 22px 26px 26px;
}

.cells-sm .cell h3 {
  margin-top: 0;
  font-size: 18px;
}

.cells-sm .cell p {
  font-size: 14.5px;
}

.perm-group {
  margin-top: 64px;
}

.perm-group > .mono {
  display: block;
  color: var(--ink-muted);
}

.perm-group .cells {
  margin-top: 18px;
}

.perm-group .cells-3 .cell:nth-child(n + 4) {
  border-top: 0;
}

/* ---------- Grid fitur ---------- */

.fwrap {
  position: relative;
  margin-top: 64px;
}

.fwrap::before,
.fwrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 110px;
  z-index: 2;
  pointer-events: none;
}

.fwrap::before {
  top: 0;
  background: linear-gradient(var(--bg), rgba(245, 239, 235, 0));
}

.fwrap::after {
  bottom: 0;
  background: linear-gradient(rgba(245, 239, 235, 0), var(--bg));
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 132px;
  width: min(1180px, 100%);
  margin-inline: auto;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.f {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.25;
  text-align: center;
  color: var(--ink-muted);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background-color 0.2s ease,
    color 0.2s ease;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s;
}

.fgrid.in .f {
  opacity: 1;
  transform: none;
}

.f .i {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
  transition: color 0.2s ease, transform 0.3s var(--ease);
}

.f:not(.big):hover {
  background: var(--card);
  color: var(--ink);
}

.f:not(.big):hover .i {
  color: var(--terracotta-dark);
  transform: translateY(-2px) scale(1.08);
}

.f.big {
  grid-column: span 2;
  grid-row: span 2;
  gap: 4px;
  color: var(--ink);
}

.f.big.a {
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  background: radial-gradient(90% 80% at 50% 0%, rgba(212, 119, 99, 0.2), transparent 72%);
}

.f.big.b {
  grid-column: 4 / 6;
  grid-row: 2 / 4;
  background: radial-gradient(90% 80% at 50% 0%, rgba(198, 138, 76, 0.22), transparent 72%);
}

.f.big canvas {
  width: 150px;
  height: 150px;
  aspect-ratio: 1;
}

.f.big strong {
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.f.big small {
  font-size: 14px;
  color: var(--ink-muted);
}

/* ---------- Kartu gelap ---------- */

.dark {
  position: relative;
  margin: 0 20px;
  padding: 120px 0 112px;
  border-radius: 32px;
  background: var(--ink);
  color: #faf7f2;
  overflow: hidden;
  isolation: isolate;
}

.dark::before,
.dark::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.dark::before {
  width: 560px;
  height: 340px;
  left: 10%;
  top: -150px;
  background: rgba(212, 119, 99, 0.5);
  animation: drift 14s ease-in-out infinite alternate;
}

.dark::after {
  width: 500px;
  height: 320px;
  right: 6%;
  top: -130px;
  background: rgba(198, 138, 76, 0.42);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

.dark .eyebrow {
  display: block;
  margin-bottom: 18px;
  color: #e6a493;
}

.dark .g2 {
  background: linear-gradient(90deg, #faf7f2 22%, #a99d93 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dark .sec-head p {
  color: rgba(250, 247, 242, 0.62);
}

.dcells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 80px;
  border: 1px solid rgba(250, 247, 242, 0.15);
  background: rgba(250, 247, 242, 0.02);
}

.dcell {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 26px 26px 0;
  border-right: 1px solid rgba(250, 247, 242, 0.15);
  border-bottom: 1px solid rgba(250, 247, 242, 0.15);
  transition: background-color 0.3s ease;
}

.dcell:nth-child(3n) {
  border-right: 0;
}

.dcell:nth-child(n + 4) {
  border-bottom: 0;
}

.dcell:hover {
  background: rgba(250, 247, 242, 0.04);
}

.dcell > .mono {
  color: #e6a493;
}

.dcell > p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(250, 247, 242, 0.78);
}

.demo {
  position: relative;
  margin-top: auto;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Daftar pilihan yang bergantian menyala */
.pick {
  width: 100%;
  max-width: 270px;
  margin: 0 auto 26px;
  overflow: hidden;
  border: 1px solid rgba(250, 247, 242, 0.16);
  border-radius: 14px;
  background: rgba(250, 247, 242, 0.05);
}

.pick li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: rgba(250, 247, 242, 0.5);
  animation: pick 9s infinite;
  animation-delay: calc(var(--k) * 3s);
}

.pick li + li {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
}

.pick li .ck,
.pick li small {
  margin-left: auto;
  opacity: 0;
  animation: pick-ck 9s infinite;
  animation-delay: calc(var(--k) * 3s);
}

.pick li small {
  font-size: 12.5px;
  color: #e6a493;
}

/* Kolom kunci yang mengetik */
.keybox {
  width: 100%;
  max-width: 270px;
  margin-bottom: 30px;
}

.keyfield {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(250, 247, 242, 0.16);
  border-radius: 14px;
  background: rgba(250, 247, 242, 0.05);
  color: rgba(250, 247, 242, 0.7);
}

.keyfield .dots {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: #faf7f2;
  animation: type 6s infinite;
  animation-timing-function: steps(14, end);
}

.keysaved {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13.5px;
  color: #e6a493;
  opacity: 0;
  animation: saved 6s infinite;
}

/* Kipas foto */
.fan {
  position: relative;
  width: 100%;
  height: 100%;
}

.ph {
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 124px;
  height: 160px;
  margin-left: -62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 247, 242, 0.2);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(212, 119, 99, 0.55), rgba(198, 138, 76, 0.35));
  color: rgba(250, 247, 242, 0.85);
  transform-origin: 50% 130%;
  transform: rotate(calc(var(--r) * 1deg));
  animation: fan 5s ease-in-out infinite;
}

.ph .i {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
}

.ph:nth-child(2) {
  background: linear-gradient(160deg, rgba(198, 138, 76, 0.5), rgba(250, 247, 242, 0.14));
}

.ph:nth-child(3) {
  background: linear-gradient(160deg, rgba(250, 247, 242, 0.22), rgba(212, 119, 99, 0.45));
}

/* Batang pemakaian */
.bars {
  width: 100%;
  max-width: 270px;
  margin-bottom: 30px;
  display: grid;
  gap: 16px;
}

.bars .mono {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  color: rgba(250, 247, 242, 0.6);
}

.track {
  height: 8px;
  border-radius: 99px;
  background: rgba(250, 247, 242, 0.12);
  overflow: hidden;
}

.track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--terracotta), var(--ochre));
  transform-origin: left;
  transform: scaleX(0.06);
  animation: grow 5.5s ease-in-out infinite;
  animation-delay: calc(var(--k) * 0.35s);
}

/* Aliran biaya */
.mini {
  width: 100%;
  max-width: 280px;
  margin-bottom: 26px;
}

.mini-row {
  display: flex;
  align-items: center;
}

.chip {
  padding: 9px 14px;
  border: 1px solid rgba(250, 247, 242, 0.2);
  border-radius: 12px;
  background: rgba(250, 247, 242, 0.07);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.chip.dashed {
  border-style: dashed;
  background: none;
  color: rgba(250, 247, 242, 0.5);
}

.mini-line {
  position: relative;
  flex: 1;
  height: 2px;
  margin: 0 6px;
  background: linear-gradient(90deg, var(--terracotta), var(--ochre));
  border-radius: 2px;
}

.mini-line i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #faf7f2;
  animation: travel 2.2s linear infinite;
}

.mini-ghost {
  margin-top: 14px;
  text-align: center;
}

.dark-cta {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

/* ---------- Asisten (tab) ---------- */

.pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.pill {
  padding: 9px 22px;
  border: 1px dashed #bfb2a4;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.pill:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.pill.on {
  border: 1px solid var(--terracotta);
  color: var(--terracotta-dark);
  background: rgba(212, 119, 99, 0.08);
}

.panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 28px;
  padding: 60px;
  border-radius: 32px;
  background: var(--surface);
}

.panel.on {
  display: grid;
  animation: panel-in 0.55s var(--ease);
}

.panel[hidden] {
  display: none;
}

.panel h3 {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.lead2 {
  margin-top: 20px;
  font-size: 18.5px;
  line-height: 1.4;
}

.apps {
  margin-top: 28px;
}

.apps .mono {
  color: var(--ink-muted);
}

.apps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.panel .note {
  margin: 26px 0 28px;
  font-size: 15px;
  color: var(--ink-muted);
}

.rcards {
  display: grid;
  gap: 12px;
  align-content: center;
}

.rcard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 14px 30px -22px rgba(37, 33, 30, 0.5);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.38;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.rcard:hover {
  transform: translateX(5px);
  box-shadow: 0 20px 36px -22px rgba(37, 33, 30, 0.55);
}

.rcard .i {
  width: 26px;
  height: 26px;
  color: var(--terracotta-dark);
}

/* ---------- Langkah ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--border);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 24px 22px 28px;
  border-left: 1px solid var(--border);
}

.step:first-child {
  padding-left: 0;
  border-left: 0;
}

.step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
  transition-delay: calc(var(--k) * 0.14s);
}

.steps.in .step::before {
  transform: scaleX(1);
}

.step .mono {
  color: var(--terracotta-dark);
}

.step h3 {
  margin-top: 16px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.step p {
  margin-top: auto;
  padding-top: 28px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ---------- Lisensi ---------- */

.lic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 64px;
  border: 1px solid var(--border);
}

.lic::before,
.lic::after {
  top: auto;
  bottom: -6px;
}

.lic-l {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
  border-right: 1px solid var(--border);
}

.lic-l .mono {
  color: var(--terracotta-dark);
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.price strong {
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.price span {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-muted);
}

.lic-l > p {
  margin-top: 20px;
  max-width: 380px;
  font-size: 17.5px;
  line-height: 1.42;
  color: var(--ink-muted);
}

.lic-cta {
  display: grid;
  gap: 10px;
  max-width: 340px;
  margin-top: 32px;
}

.lic-r > div {
  padding: 36px 40px 34px;
}

.lic-r > div + div {
  border-top: 1px solid var(--border);
}

.lic-r .mono {
  display: block;
  color: var(--ink-muted);
}

.lic-list li,
.lic-steps li {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.lic-list,
.lic-steps {
  margin-top: 14px;
}

.lic-list li:first-child,
.lic-steps li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.lic-list b,
.lic-steps b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.lic-list span,
.lic-steps span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-muted);
}

.lic-steps {
  counter-reset: s;
}

.lic-steps li b::before {
  counter-increment: s;
  content: counter(s);
  display: inline-block;
  min-width: 1.6em;
  color: var(--terracotta-dark);
  font-weight: 800;
}

/* ---------- FAQ ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 104px;
}

.faq details {
  border-top: 1px solid var(--border);
}

.faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq summary:hover {
  color: var(--terracotta-dark);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .i {
  width: 22px;
  height: 22px;
  color: var(--ink-muted);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary .i {
  transform: rotate(45deg);
  color: var(--terracotta-dark);
}

.faq details p {
  padding: 0 40px 24px 0;
  color: var(--ink-muted);
  font-size: 16px;
  animation: faq-in 0.4s var(--ease);
}

/* ---------- Kartu gradien (ajakan unduh) ---------- */

.cta {
  position: relative;
  margin: 0 20px 20px;
  padding: 100px 0 0;
  border-radius: 32px;
  text-align: center;
  color: #fffaf5;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(70% 90% at 12% 0%, rgba(255, 250, 245, 0.26), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(139, 62, 46, 0.5), transparent 70%),
    linear-gradient(135deg, #ba5e4b 0%, #d47763 46%, #c68a4c 100%);
}

/* Butiran halus, seperti kartu gradien di clickup.com */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

.cta-app {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 26px 50px -22px rgba(37, 33, 30, 0.65);
  animation: bob 5s ease-in-out infinite;
}

.cta-app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}

.cta h2 {
  max-width: 15ch;
  margin: 36px auto 0;
  font-size: clamp(40px, 6.6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.cta p {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 18px;
  line-height: 1.42;
  color: rgba(255, 250, 245, 0.88);
}

.cta .cta-row {
  justify-content: center;
}

.cta-bots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  height: 200px;
  margin-top: 56px;
  overflow: hidden;
}

.cta-bots canvas {
  width: 300px;
  height: 300px;
  margin-bottom: -108px;
  flex: none;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 72px 0 48px;
  font-size: 15px;
  color: var(--ink-muted);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.foot-brand .brand {
  color: var(--ink);
}

.foot-brand .wa {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.foot-brand .wa:hover {
  color: var(--terracotta-dark);
}

.foot-grid h4 {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.foot-grid a:not(.brand):not(.wa) {
  display: block;
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.15s ease;
}

.foot-grid a:not(.brand):not(.wa):hover {
  color: var(--ink);
}

.disclaimer {
  margin-top: 40px;
  max-width: 820px;
  font-size: 12.5px;
  line-height: 1.6;
}

.disclaimer + .disclaimer {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Animasi ---------- */

@keyframes fill {
  to {
    transform: scaleX(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hide {
  to {
    opacity: 0;
  }
}

@keyframes ic-pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fc-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes travel {
  0% {
    left: 0;
    opacity: 0;
  }
  12%,
  88% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 10px);
    opacity: 0;
  }
}

@keyframes travel-v {
  0% {
    top: 0;
    opacity: 0;
  }
  12%,
  88% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 10px);
    opacity: 0;
  }
}

@keyframes drift {
  from {
    transform: translate3d(-40px, 0, 0) scale(1);
  }
  to {
    transform: translate3d(60px, 30px, 0) scale(1.15);
  }
}

@keyframes pick {
  0%,
  2% {
    background: transparent;
    color: rgba(250, 247, 242, 0.5);
  }
  6%,
  30% {
    background: rgba(250, 247, 242, 0.11);
    color: #faf7f2;
  }
  34%,
  100% {
    background: transparent;
    color: rgba(250, 247, 242, 0.5);
  }
}

@keyframes pick-ck {
  0%,
  4% {
    opacity: 0;
  }
  8%,
  30% {
    opacity: 1;
  }
  34%,
  100% {
    opacity: 0;
  }
}

@keyframes type {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  55%,
  90% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 100% 0 0);
  }
}

@keyframes saved {
  0%,
  55% {
    opacity: 0;
    transform: translateY(6px);
  }
  62%,
  90% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fan {
  0%,
  100% {
    transform: rotate(calc(var(--r) * 1deg)) translateY(0);
  }
  50% {
    transform: rotate(calc(var(--r) * 1.7deg)) translateY(-8px);
  }
}

@keyframes grow {
  0% {
    transform: scaleX(0.06);
  }
  45%,
  85% {
    transform: scaleX(var(--w));
  }
  100% {
    transform: scaleX(0.06);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .f,
  .fc,
  .fc .ck .i {
    opacity: 1;
    transform: none;
  }
  .js-split .w > span {
    transform: none;
  }
  .fc .ck::before {
    display: none;
  }
  .step::before {
    transform: scaleX(1);
  }
  .track i {
    transform: scaleX(var(--w));
  }
  .keyfield .dots {
    clip-path: none;
  }
  .keysaved {
    opacity: 1;
  }
}

/* ---------- Responsif ---------- */

@media (max-width: 1000px) {
  .stage {
    grid-template-columns: 250px 1fr;
  }
  .stage-view {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .stage-bot {
    width: min(100%, 250px);
  }
  .panel {
    padding: 40px;
    gap: 36px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step {
    min-height: 220px;
  }
  .step:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }
  .step:nth-child(n + 4) {
    border-top: 1px solid var(--border);
  }
  .step:nth-child(n + 4)::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    margin: 0;
    padding: 6px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 40px -30px rgba(37, 33, 30, 0.4);
    display: none;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .nav-menu.open {
    display: flex;
    animation: panel-in 0.3s var(--ease);
  }
  .nav-item,
  .nav-link {
    border-top: 1px solid var(--border);
  }
  .nav-item:first-child {
    border-top: 0;
  }
  .nav-trigger,
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 16px 2px;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    border-radius: 0;
  }
  .nav-trigger .chev {
    width: 18px;
    height: 18px;
  }
  .mega {
    position: static;
    padding: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-item.open .mega {
    display: block;
    animation: faq-in 0.3s var(--ease);
  }
  .mega-in {
    width: auto;
    grid-template-columns: 1fr;
    padding: 0 0 10px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .mega-link {
    padding: 10px 4px;
  }
  .nav-mobile-cta {
    display: block;
    margin-top: 14px;
  }
  .nav-mobile-cta .btn {
    width: 100%;
  }
  .nav-wa {
    display: none;
  }
  .nav-toggle {
    display: block;
  }

  .flow {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .flow-mid {
    height: 110px;
  }
  .flow-line {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--terracotta), var(--ochre));
  }
  .flow-line i {
    top: 0;
    left: -4px;
    animation-name: travel-v;
  }
  .flow-line em {
    left: 18px;
    top: auto;
    bottom: 6px;
    transform: none;
  }
  .flow-ghost {
    top: 50%;
    left: calc(50% + 28px);
    transform: translateY(-62%);
  }
  .flow-ghost::after {
    left: auto;
    right: 100%;
    top: 50%;
    height: 0;
    width: 28px;
    border-left: 0;
    border-top: 1.5px dashed #cfc2b4;
  }
  .flow-line em {
    display: none;
  }

  .cells,
  .dcells {
    grid-template-columns: 1fr;
  }
  .perm-group .cells-3 .cell:nth-child(n + 4) {
    border-top: 1px solid var(--border);
  }
  .dcell {
    min-height: 0;
    border-right: 0;
    padding-bottom: 8px;
  }
  .dcell:nth-child(n + 4) {
    border-bottom: 1px solid rgba(250, 247, 242, 0.15);
  }
  .dcell:last-child {
    border-bottom: 0;
  }
  .demo {
    margin-top: 22px;
    height: 190px;
  }

  .head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .panel {
    grid-template-columns: 1fr;
  }
  .lic {
    grid-template-columns: 1fr;
  }
  .lic-l {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-head {
    position: static;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 68px;
  }
  .sec {
    padding: 80px 0;
  }
  .sec-tight {
    padding: 64px 0;
  }
  .hero {
    padding: 40px 0 52px;
  }
  .hero h1 {
    font-size: clamp(42px, 12.6vw, 64px);
    letter-spacing: -0.045em;
    max-width: none;
  }
  .hero .lead {
    margin-top: 20px;
  }
  .cta-row {
    margin-top: 28px;
  }
  .hero .cta-row .btn {
    width: 100%;
  }
  .sec-head h2,
  .head-row h2,
  .faq-head h2 {
    font-size: clamp(34px, 9.6vw, 48px);
    letter-spacing: -0.04em;
  }

  .stage {
    grid-template-columns: 1fr;
    border-inline: 0;
  }
  .stage.xs::before,
  .stage.xs::after {
    display: none;
  }
  .stage-tabs {
    display: flex;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    scrollbar-width: none;
  }
  .stage-tabs::-webkit-scrollbar {
    display: none;
  }
  .stage-tab {
    width: auto;
    flex: none;
    padding: 16px 20px 20px;
    font-size: 15.5px;
    white-space: nowrap;
  }
  .stage-tab .bar {
    left: 20px;
    right: 20px;
  }
  .stage-view {
    min-height: 0;
    padding: 28px 20px 32px;
    gap: 20px;
  }
  .stage-bot {
    width: min(100%, 230px);
  }

  .marquee-row {
    gap: 14px;
    padding: 18px 0;
  }
  .marquee-label {
    display: none;
  }

  .flow-node {
    padding: 20px 22px;
  }

  .fgrid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 112px;
    -webkit-mask-image: none;
    mask-image: none;
    width: 100%;
    border-left: 0;
  }
  .f {
    font-size: 13px;
  }
  .f.big,
  .f.big.a,
  .f.big.b {
    grid-column: 1 / -1;
    grid-row: span 2;
  }
  .f:last-child {
    grid-column: 1 / -1;
  }
  .f.big canvas {
    width: 130px;
    height: 130px;
  }
  .fwrap::before,
  .fwrap::after {
    height: 40px;
  }

  .dark,
  .cta {
    margin-inline: 10px;
    border-radius: 24px;
  }
  .dark {
    padding: 84px 0 76px;
  }
  .dcells {
    margin-top: 56px;
  }

  .panel {
    padding: 28px 22px;
    border-radius: 24px;
  }
  .rcard {
    padding: 16px 16px;
    font-size: 15.5px;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .step,
  .step:first-child,
  .step:nth-child(4) {
    min-height: 0;
    padding: 22px 0 24px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .step:first-child {
    border-top: 0;
  }
  .step::before {
    display: none;
  }
  .step p {
    padding-top: 12px;
    margin-top: 0;
  }

  .lic {
    margin-top: 40px;
  }
  .lic-l {
    padding: 36px 22px;
  }
  .lic-r > div {
    padding: 28px 22px;
  }
  .lic-cta {
    max-width: none;
  }
  .lic-cta .btn {
    white-space: normal;
  }

  .cta {
    padding-top: 72px;
  }
  .cta .cta-row .btn {
    width: 100%;
  }
  .cta-bots {
    height: 150px;
    margin-top: 36px;
  }
  .cta-bots canvas {
    width: 210px;
    height: 210px;
    margin-bottom: -76px;
  }

  .faq summary {
    font-size: 17.5px;
  }
  .site-footer {
    padding-top: 56px;
  }
}

@media (max-width: 520px) {
  .nav-right .btn {
    display: none;
  }
}


/* ---------- Popup (dialogTheme) ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 33, 30, 0.55);
  animation: fade 0.2s ease;
}

.modal-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(37, 33, 30, 0.45);
  outline: none;
  animation: pop 0.24s ease;
}

.modal-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 26px 26px 14px;
}

.modal-head h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.1;
}

.modal-head p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.modal-close {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}

.modal-body {
  padding: 0 26px;
  overflow-y: auto;
  border-block: 1px solid var(--border);
}

.terms {
  padding-bottom: 8px;
}

.terms-group {
  margin: 34px 0 2px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}

.terms-group:first-child {
  margin-top: 22px;
}

.term {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.terms-group + .term {
  border-top: 0;
}

.term h4 {
  margin: 0;
  display: flex;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.term .num {
  min-width: 2ch;
  color: var(--terracotta-dark);
  font-weight: 800;
}

.term p,
.term ul,
.term ol {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.term ul,
.term ol {
  padding-left: 20px;
}

.term li {
  margin-top: 4px;
}

.terms-end {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.terms-end a {
  font-weight: 700;
  color: var(--ink);
}

.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 18px 26px 0;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.45;
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.box {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1.8px solid #b9ab9c;
  display: grid;
  place-items: center;
  flex: none;
  color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.box .i {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}

.check.on .box {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #faf7f2;
}

.modal-foot {
  padding: 18px 26px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}


@media (max-width: 900px) {
  .modal { align-items: flex-end; padding: 0; }
  .modal-dialog { border-radius: 20px 20px 0 0; max-height: 94vh; width: 100%; }
  .modal-head { padding: 22px 20px 12px; }
  .modal-head h2 { font-size: 22px; }
  .modal-body { padding: 0 20px; }
  .check { margin: 16px 20px 0; }
  .modal-foot { padding: 16px 20px 22px; }
  .modal-foot .btn { flex: 1; }
}

.term ul { list-style: disc; }
.term ol { list-style: decimal; }

@media (max-width: 900px) {
  .nav-mobile-cta .btn + .btn { margin-top: 10px; }
}

/* Hero: tombol di kiri, catatan di sebelahnya (seperti clickup.com) */
.hero-note {
  text-align: left;
}

@media (max-width: 900px) {
  .nav-menu {
    left: 0;
    right: 0;
  }
  .mega {
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
  }
  .mega::before,
  .mega-in::before {
    display: none;
  }
  .mega-in {
    width: auto;
    margin: 0;
    padding: 0 0 10px;
    grid-template-columns: 1fr;
  }
}

/* ---------- Cara pasang (4 langkah, teks lebih panjang) ---------- */

.steps-4 {
  grid-template-columns: repeat(4, 1fr);
}

.steps-4 .step {
  min-height: 0;
}

.steps-4 .step p {
  margin-top: 0;
  padding-top: 18px;
  font-size: 15px;
}

.steps-4 .step p b {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 1000px) {
  .steps-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-4 .step:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .steps-4 .step:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid var(--border);
  }
  .steps-4 .step:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .steps-4 .step:nth-child(n + 3)::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .steps-4 {
    grid-template-columns: 1fr;
  }
  .steps-4 .step,
  .steps-4 .step:nth-child(even),
  .steps-4 .step:nth-child(odd) {
    padding: 22px 0 24px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .steps-4 .step:first-child {
    border-top: 0;
  }
}

/* ---------- Code Download di popup ---------- */

.dl-code {
  margin: 18px 26px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dl-code label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.dl-code input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #cfc2b4;
  background: #fffdfa;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dl-code input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(214, 120, 96, 0.18);
}

.dl-code.bad input {
  border-color: #c0392b;
}

.dl-err {
  font-size: 13px;
  font-weight: 600;
  color: #b3392b;
}

.btn-block {
  width: 100%;
}

@media (max-width: 900px) {
  .dl-code { margin: 16px 20px 0; }
}

/* ---------- WhatsApp melayang ---------- */

.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 17px;
  border-radius: 999px;
  background: linear-gradient(145deg, #2fd46b, #1ba84f);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px -6px rgba(27, 168, 79, 0.65), 0 2px 6px rgba(37, 33, 30, 0.18);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, opacity 0.2s ease;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(47, 212, 107, 0.55);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -8px rgba(27, 168, 79, 0.75), 0 2px 8px rgba(37, 33, 30, 0.2);
}

.wa-float:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.wa-ico {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex: none;
}

.wa-tip {
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
}

body.locked .wa-float {
  opacity: 0;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 760px) {
  .wa-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }
  .wa-tip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}
