:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-strong: #0058b0;
  --accent-tint: #eef6fd;
  --wa: #1f7a52;
  --wa-strong: #175d3e;
  --radius: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "IBM Plex Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; margin-bottom: 6px; font-weight: 600; }

p { margin: 0 0 12px; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

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

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hero entrance animation */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow, .hero h1, .hero .hero-sub, .hero .hero-cta {
  opacity: 0;
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero .hero-sub { animation-delay: 0.28s; }
.hero .hero-cta { animation-delay: 0.4s; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 0;
  padding-bottom: 0;
  height: 52px;
}

.logo {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-right: auto;
}
.logo span { color: var(--accent); }

.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.8;
}
.nav a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 400;
  border: 1px solid transparent;
  transition: transform 0.1s ease, background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-wa {
  background: var(--accent);
  color: #fff;
}
.btn-wa:hover { background: var(--accent-strong); }

.btn-small { padding: 7px 16px; font-size: 0.8rem; }

.btn-ghost {
  color: var(--accent);
  padding-left: 4px;
  padding-right: 4px;
}
.btn-ghost::after { content: "\203A"; margin-left: 5px; font-weight: 600; }
.btn-ghost:hover { opacity: 0.7; }

.btn-outline {
  border-color: var(--line);
  color: var(--accent);
  width: 100%;
  background: #fff;
}
.btn-outline:hover { background: var(--bg-alt); }

/* Hero */
.hero {
  padding: 88px 0 76px;
  text-align: center;
}
.hero-inner { max-width: 680px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Problem */
.problem {
  padding: 80px 0;
  background: var(--bg-alt);
}
.problem h2 { max-width: 600px; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 28px -20px rgba(16, 24, 40, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.problem-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 20px 36px -18px rgba(16, 24, 40, 0.22);
}
.problem-item .num {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
}
.problem-item p { margin: 0; }

/* Layanan */
.layanan { padding: 84px 0; }
.section-sub {
  max-width: 560px;
  margin-top: -8px;
  margin-bottom: 32px;
}

.paket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.paket-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 20px 40px -28px rgba(16, 24, 40, 0.18);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.paket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 26px 46px -22px rgba(16, 24, 40, 0.24);
}

.paket-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.paket-desc { min-height: 66px; }

.paket-list {
  margin: 8px 0 28px;
  flex-grow: 1;
}
.paket-list li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Cara kerja */
.cara-kerja { padding: 84px 0; background: var(--bg-alt); }

.steps {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}
.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 28px -20px rgba(16, 24, 40, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.steps li:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 20px 36px -18px rgba(16, 24, 40, 0.22);
}
.step-no {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps p { margin: 0; }

/* Demo mockups */
.demo { padding: 84px 0; }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 40px;
  margin-top: 40px;
  align-items: start;
}
.demo-item-wide { grid-column: 1 / -1; }
.demo-item-wide .mockup { max-width: 640px; }

.demo-item h4 {
  margin-top: 22px;
  font-size: 1.05rem;
}
.demo-item > p { font-size: 0.93rem; }
.demo-benefit {
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  margin-top: 10px;
}
.demo-benefit strong { color: var(--accent-strong); }

.mockup {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 20px 40px -28px rgba(16, 24, 40, 0.18);
  font-size: 0.86rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.demo-item:hover .mockup {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 28px 48px -24px rgba(16, 24, 40, 0.28);
}

/* iPhone device frame */
.device-phone {
  width: 280px;
  margin: 0 auto;
  padding: 9px;
  background: linear-gradient(160deg, #3a3a3c, #1c1c1e);
  border-radius: 46px;
  box-shadow: 0 30px 54px -22px rgba(16, 24, 40, 0.4), inset 0 0 0 2px rgba(255,255,255,0.06);
  position: relative;
}
.phone-screen {
  background: #fff;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #1c1c1e;
  border-radius: 12px;
  z-index: 3;
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
}
.phone-toolbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 20px 16px;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.phone-screen .mockup {
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.device-phone {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.demo-item:hover .device-phone { transform: translateY(-6px) scale(1.015); }

/* MacBook device frame */
.device-mac { max-width: 620px; margin: 0 auto; }
.mac-screen {
  background: #1c1c1e;
  border-radius: 16px 16px 0 0;
  padding: 9px 9px 0;
  box-shadow: 0 30px 54px -22px rgba(16, 24, 40, 0.4);
}
.mac-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: #f0f0f2;
  border-radius: 8px 8px 0 0;
}
.mac-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.mac-dot-red { background: #ff5f57; }
.mac-dot-yellow { background: #febc2e; }
.mac-dot-green { background: #28c840; }
.mac-title {
  flex: 1;
  text-align: center;
  margin-right: 40px;
  font-size: 0.74rem;
  font-weight: 500;
  color: #6e6e73;
}
.mac-screen .mockup {
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.device-mac {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.demo-item:hover .device-mac { transform: translateY(-6px); }
.mac-base {
  height: 14px;
  background: linear-gradient(#d6d6d8, #b6b6ba);
  border-radius: 0 0 8px 8px;
  position: relative;
}
.mac-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background: #97979b;
  border-radius: 0 0 5px 5px;
}

/* Receipt mockup */
.receipt-mockup {
  height: 300px;
  padding: 20px 18px;
  font-family: "IBM Plex Sans", monospace;
  display: flex;
  flex-direction: column;
}
.receipt-store {
  text-align: center;
  font-weight: 600;
  margin: 0 0 2px;
  letter-spacing: 0.02em;
}
.receipt-meta {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
}
.receipt-line, .receipt-total {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  padding: 3px 0;
  color: var(--ink-soft);
}
.receipt-more span { color: #b7b0a0; font-style: italic; }
.receipt-total {
  border-top: 1px dashed var(--line);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 600;
  color: var(--ink);
}

/* Handwritten note mockup — printed nota form, hand-filled */
.note-mockup {
  height: 320px;
  padding: 14px 14px;
  background: #fdfcf9;
  color: #2a2a2a;
  transform: rotate(-0.5deg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
.note-stamp {
  position: absolute;
  top: 12px;
  right: 14px;
  transform: rotate(6deg);
  border: 2px solid var(--wa);
  color: var(--wa-strong);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,0.85);
  z-index: 2;
}
.note-header { text-align: center; margin-bottom: 4px; }
.note-store {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #2a5a8c;
  margin: 0;
}
.note-tagline {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #4a4a4a;
  margin: 2px 0 0;
}
.note-addr {
  font-family: var(--sans);
  font-size: 0.58rem;
  color: #8a8a8a;
  margin: 1px 0 0;
}
.note-table {
  border-top: 1.5px solid #6c93b8;
  margin-top: 4px;
}
.note-row {
  display: grid;
  grid-template-columns: 30px 1fr 54px;
  gap: 3px;
  border-bottom: 1px solid #a9c1d9;
  padding: 2px 1px;
  align-items: baseline;
}
.note-row-head {
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2a5a8c;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1.5px solid #6c93b8;
}
.note-row:not(.note-row-head) {
  font-family: "Caveat", cursive;
  font-size: 1.02rem;
  color: #23324a;
}
.note-row:not(.note-row-head) span:last-child { text-align: right; }
.note-total-row {
  font-family: "Caveat", cursive;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
  margin: 8px 2px 0;
  color: #23324a;
}
.note-circle {
  border: 2px solid #b23b3b;
  border-radius: 50%;
  padding: 1px 10px;
  display: inline-block;
}

/* Telegram dark chat mockup */
.phone-mockup-dark {
  height: 340px;
  display: flex;
  flex-direction: column;
  background: #0e1621;
  border: none;
}
.phone-bar-dark {
  background: #17212b;
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.phone-avatar-dark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #2b5278;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex: none;
}
.phone-title-dark { display: block; font-size: 0.92rem; font-weight: 500; }
.phone-sub-dark { display: block; font-size: 0.72rem; color: #7d8a97; }
.phone-body-dark {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}
.tg-msg {
  background: #182533;
  border-radius: 8px;
  padding: 8px 10px 6px;
  font-size: 0.78rem;
  color: #dce4eb;
}
.tg-msg-recap { background: #1c2b3d; }
.tg-sender { margin: 0 0 4px; font-size: 0.78rem; font-weight: 600; color: #e0785a; }
.tg-admin {
  float: right;
  background: #2f4b3c;
  color: #a9d8bd;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}
.tg-title { margin: 2px 0 6px; font-weight: 600; color: #fff; }
.tg-item { margin: 0 0 3px; color: #b7c2cc; }
.tg-ok { color: #7fd99a; }
.tg-time { margin: 4px 0 0; text-align: right; font-size: 0.66rem; color: #6b7885; }

/* Google Sheets style mockup */
.sheet-mockup-v2 {
  padding: 0;
  display: flex;
  flex-direction: column;
  font-size: 0.74rem;
}
.sheet-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: #f8f9fa;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.sheet-cell-ref {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 8px;
  font-weight: 600;
  background: #fff;
}
.sheet-fx { font-family: monospace; }
.sheet-header-v2, .sheet-row-v2 {
  display: grid;
  grid-template-columns: 64px 1.4fr 1fr 70px 80px 80px;
  gap: 4px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
}
.sheet-header-v2 {
  background: #6b4ba1;
  color: #fff;
  font-weight: 600;
}
.sheet-row-v2 span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-soft);
}
.cell-o { background: #fce8cf; border-radius: 3px; padding: 1px 5px; color: var(--ink) !important; }
.cell-low { background: #f8c9c9; }
.sheet-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: #f8f9fa;
}
.sheet-tab {
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 4px;
  color: var(--ink-soft);
}
.sheet-tab-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Studi kasus */
.studi-kasus { padding: 84px 0; }

.kasus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.kasus-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 28px -20px rgba(16, 24, 40, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.kasus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 20px 36px -18px rgba(16, 24, 40, 0.22);
}
.kasus-tag {
  font-size: 0.76rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 10px;
}
.kasus-card p:last-child { margin-bottom: 0; font-size: 0.95rem; }

/* FAQ */
.faq { padding: 84px 0; background: var(--bg-alt); }

.faq-list {
  margin-top: 32px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 28px -20px rgba(16, 24, 40, 0.12);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
}
details:last-child { border-bottom: none; }
summary {
  cursor: pointer;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--accent);
}
details[open] summary::after { content: "–"; }
details p {
  margin: 14px 0 0;
  font-size: 0.95rem;
  max-width: 640px;
}

/* CTA akhir */
.cta-akhir {
  padding: 92px 0;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, var(--accent-tint), transparent 70%);
}
.cta-akhir h2 { max-width: 520px; margin: 0 auto 12px; }
.cta-akhir p { max-width: 460px; margin: 0 auto 28px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 820px) {
  .problem-grid, .paket-grid, .kasus-grid, .demo-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 16px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
}
