/* Invoice Generator — landing & harga (redesign total).
   Arah: clean modern SaaS, senada dengan aplikasi.
   Putih bersih + aksen pink brand (#d6628f), Inter untuk tipografi,
   Inter untuk body, frame screenshot bergaya jendela browser, radius lembut. */

:root {
  --bg: #ffffff;
  --tint: #f7f8fa;
  --ink: #1f2937;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #e6e9ee;
  --line-strong: #d0d5dd;

  --brand: #d6628f;
  --brand-strong: #bd4e7b;
  --brand-soft: #fdf2f7;
  --brand-text: #a83c66;

  --night: #262230;
  --night-2: #2f2a3b;
  --night-ink: #f6f4f8;
  --night-muted: #b9b3c4;

  --display: "Inter", system-ui, -apple-system, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --t-hero: clamp(38px, 5vw, 62px);
  --t-head: clamp(28px, 3.2vw, 42px);
  --t-lead: clamp(18px, 1.5vw, 21px);
  --t-body: 16.5px;
  --t-small: 14.5px;

  --pad: clamp(20px, 4vw, 48px);
  --max: 1180px;
  --section: clamp(68px, 8vw, 112px);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(31, 41, 55, 0.05);
  --shadow-md: 0 4px 12px rgba(31, 41, 55, 0.06);
  --shadow-lg: 0 24px 56px -18px rgba(31, 41, 55, 0.18), 0 4px 12px rgba(31, 41, 55, 0.05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100%, calc(var(--max) + var(--pad) * 2));
  margin-inline: auto;
  padding-inline: var(--pad);
}

section[id] { scroll-margin-top: 88px; }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 13px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}

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

.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--muted);
}

.topbar nav a {
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.topbar nav a[aria-current="page"] { color: var(--brand-text); }

.nav-cta {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
}

.nav-cta:hover { background: var(--brand-strong); color: #fff !important; }

/* ---------- Tombol & tautan ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  background: var(--tint);
  color: var(--ink);
  border-color: var(--line-strong);
}

.link-underline {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--t-small);
  font-weight: 600;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
  transition: color 0.15s ease;
}

.link-underline:hover { color: var(--brand-strong); }

/* ---------- Frame screenshot (jendela browser) ---------- */

.shot-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
}

.shot-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8dae0;
}

.shot-url {
  margin-left: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot-frame img {
  width: 100%;
  height: auto;
}

/* frame sederhana (untuk halaman harga) */
.page-head-shot img,
.shot-trio img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.caption {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--faint);
}

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

.hero {
  padding-block: clamp(52px, 6vw, 88px) clamp(56px, 7vw, 100px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-hero);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  max-width: 15ch;
  text-wrap: balance;
}

.hero-lede {
  margin: 18px 0 0;
  max-width: 44ch;
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 28px;
}

.hero-note {
  margin: 14px 0 0;
  font-size: var(--t-small);
  color: var(--faint);
  max-width: 46ch;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  margin: 0;
  min-width: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: 0;
  background: radial-gradient(58% 58% at 62% 34%, rgba(214, 98, 143, 0.16), transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-media .shot-frame {
  position: relative;
  z-index: 1;
}

/* ---------- Bagian umum ---------- */

section { padding-block: var(--section); }

.kicker {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand-text);
}

.section-head {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-head);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
  max-width: 20ch;
  text-wrap: balance;
}

.lead {
  margin: 16px 0 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: var(--t-lead);
  line-height: 1.55;
}

.section-intro {
  max-width: 640px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

/* ---------- Masalah ---------- */

.problems { background: var(--tint); }

.problem-list {
  counter-reset: problem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem {
  counter-increment: problem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
}

.problem::before {
  content: "0" counter(problem);
  display: block;
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.problem h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.problem p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- Alur kerja ---------- */

.how-shot { margin: 0; }

.walk-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: clamp(28px, 3.5vw, 40px);
}

.walk-step {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.walk-step::before {
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.walk-step h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.walk-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- Setelah invoice (gelap) ---------- */

.after {
  background: var(--night);
  color: var(--night-ink);
}

.after-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.after .lead { color: var(--night-muted); }

.after-media { margin: 0; min-width: 0; }

.after .shot-frame {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 64px -20px rgba(0, 0, 0, 0.5);
}

.after .shot-bar {
  background: var(--night-2);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.after .shot-dot { background: rgba(255, 255, 255, 0.22); }

.after .shot-url {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--night-muted);
}

.after .kicker { color: var(--brand); }

.after .section-head { color: var(--night-ink); }

.after .caption { color: var(--night-muted); }

.after-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.after-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--night-ink);
  font-size: 15.5px;
  line-height: 1.5;
}

.after-list svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--brand);
  flex-shrink: 0;
}

/* ---------- Fitur ---------- */

.features { background: var(--tint); }

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.full-shot {
  max-width: 880px;
  margin: clamp(28px, 3.5vw, 44px) auto 0;
}

/* ---------- Harga ---------- */

.pricing { background: #fff; }

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(180deg, var(--brand-soft), #fff 62%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}

.price-figure {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.4vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-variant-numeric: tabular-nums;
}

.price-unit {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: var(--t-small);
  color: var(--muted);
}

.price-card .btn { margin-top: 26px; }

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
  font-size: 15.5px;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.price-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--brand);
  flex-shrink: 0;
}

.price-list strong { color: var(--ink); font-weight: 600; }

.fine {
  margin: 22px 0 0;
  color: var(--faint);
  font-size: 13.5px;
  max-width: 68ch;
}

.fine a { color: var(--muted); }

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px clamp(24px, 4vw, 40px);
}

.qa {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.qa h3 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.qa p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- CTA akhir ---------- */

.cta {
  background: var(--night);
  color: var(--night-ink);
  padding-block: clamp(64px, 8vw, 104px);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 120%;
  background: radial-gradient(46% 52% at 72% 18%, rgba(214, 98, 143, 0.22), transparent 70%);
  pointer-events: none;
}

.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.cta .kicker { color: var(--brand); }

.cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-head);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.018em;
  max-width: 14ch;
  text-wrap: balance;
}

.cta p {
  margin: 16px 0 0;
  color: var(--night-muted);
  max-width: 46ch;
  font-size: 16.5px;
}

.cta-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.cta-phone {
  font-family: var(--display);
  font-size: var(--t-lead);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--night-ink);
  transition: color 0.15s ease;
}

.cta-phone:hover { color: var(--brand); }

.cta-note {
  margin: 0;
  font-size: 13.5px;
  color: var(--night-muted);
}

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

.footer {
  padding-block: 36px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  font-size: var(--t-small);
  color: var(--faint);
}

.footer .wordmark { font-size: 15.5px; }

.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------- Halaman harga ---------- */

.page-head {
  padding-block: clamp(48px, 6vw, 80px) clamp(28px, 3vw, 44px);
}

.page-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--t-hero);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  max-width: 16ch;
  text-wrap: balance;
}

.page-head .lead { margin-top: 18px; }

.page-head .hero-actions { margin-top: 24px; }

.page-head-shot { margin: clamp(32px, 4.5vw, 52px) 0 0; }

.shot-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: clamp(24px, 3vw, 36px);
}

.shot-trio figure { margin: 0; }

.shot-trio figcaption { margin-top: 10px; }

.plan-table-wrap { overflow-x: auto; }

.plan-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15.5px;
  margin-top: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.plan-table th,
.plan-table td {
  text-align: left;
  padding: 14px 16px;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.plan-table thead th {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--tint);
  border-top: 0;
}

.plan-table thead th span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 400;
}

.plan-table tbody td:first-child { color: var(--muted); }

.plan-table .col-featured {
  background: var(--brand-soft);
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Motion ---------- */

/* Reveal native: tanpa JS. Keadaan default selalu terlihat; hanya di a2 yang @supports aktif. */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-in linear both;
      animation-duration: 1ms; /* Firefox mengabaikan durasi 0 */
      animation-timeline: view();
      animation-range: entry 8% cover 32%;
    }
  }
}

/* Progress bar bacaan di atas (3px, brand) */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 3px;
  z-index: 60;
  background: var(--brand);
  transform-origin: 0 50%;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-progress {
      animation: grow linear both;
      animation-duration: 1ms;
      animation-timeline: scroll(root block);
    }
  }
}

@keyframes grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  /* Glow dekoratif di hero meluber 8% ke kanan -> scroll horizontal di HP */
  .hero-media::before { inset: -12% 0; }

  .hero-grid,
  .after-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 { max-width: 18ch; }

  .hero-media { margin-top: 6px; }

  .problem-list,
  .walk-steps,
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .price-card { grid-template-columns: 1fr; }

  .cta-side { align-items: flex-start; }
}

@media (max-width: 720px) {
  .problem-list,
  .walk-steps,
  .feature-list,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .shot-trio { grid-template-columns: 1fr; }

  .plan-table { min-width: 0; border-radius: var(--radius); }

  .plan-table thead { display: none; }

  .plan-table tbody tr {
    display: block;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
  }

  .plan-table tbody tr:first-child { border-top: 0; }

  .plan-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 5px 0;
    text-align: right;
    border: 0;
  }

  .plan-table tbody td:first-child {
    color: var(--ink);
    font-weight: 600;
    text-align: left;
    padding-bottom: 8px;
  }

  .plan-table tbody td[data-label]::before {
    content: attr(data-label);
    color: var(--faint);
    font-weight: 400;
    text-align: left;
  }

  .plan-table .col-featured { background: transparent; }
}

@media (max-width: 640px) {
  .topbar-inner {
    flex-wrap: nowrap;
    gap: 10px;
    padding-block: 11px;
  }

  .wordmark { font-size: 15px; gap: 8px; flex-shrink: 0; }

  .topbar nav { gap: 8px; }

  .hero { padding-top: 40px; }

  .hero h1,
  .section-head,
  .page-head h1 { max-width: 100%; }

  .hero-actions { align-items: stretch; }

  .hero-actions .btn { flex: 1 1 auto; }

  .nav-cta { padding: 8px 14px; }
}

/* ---------- Strip: Dibangun oleh pemakainya ---------- */
.built {
  background: var(--tint);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
  text-align: center;
}

.built .kicker {
  margin-inline: auto;
}

.built-sub {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.built-line {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- Di HP juga ---------- */
.mobile-shot { background: var(--night); }
.mobile-shot .section-head { color: var(--night-ink); }
.mobile-shot .lead { color: var(--night-muted); }
.mobile-shot .after-list li { color: var(--night-ink); }
.mobile-shot .after-list svg { color: var(--brand); }

.mobile-shot-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.mobile-app-shot {
  margin: 0;
  min-width: 0;
}

.mobile-app-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.mobile-app-shot .caption {
  margin-top: 16px;
  color: var(--night-muted);
}

@media (max-width: 860px) {
  .mobile-shot-grid { grid-template-columns: 1fr; }
  .phone-frame { max-width: 236px; }
}

/* ---------- Navigasi hamburger (mobile) ---------- */
.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--muted);
}

.nav-links { display: contents; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg { width: 20px; height: 20px; }

.nav-toggle .bar {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-menu.open .bar-top { transform: translateY(4.5px) rotate(45deg); }
.nav-menu.open .bar-mid { opacity: 0; }
.nav-menu.open .bar-bot { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 820px) {
  html.js .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 30;
    min-width: 200px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 44px rgba(31, 41, 55, 0.18);
  }

  html.js .nav-menu.open .nav-links { display: flex; }

  html.js .nav-links a {
    padding: 10px 14px;
    border-radius: 8px;
  }

  html.js .nav-links a:hover { background: var(--tint); color: var(--ink); }

  html.js .nav-toggle { display: inline-flex; }
}

@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .nav-toggle .bar { transition: none; }
}

/* ---------- Sebelum dan sesudah (Canva vs aplikasi) ---------- */
.compare {
  padding-block: clamp(40px, 5vw, 64px);
}

.compare-head {
  text-align: center;
  margin-bottom: clamp(18px, 2.2vw, 26px);
}

.compare-title {
  max-width: 26ch;
  margin: 10px auto 0;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.compare-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.compare-half {
  position: relative;
  margin: 0;
  height: clamp(320px, 34vw, 440px);
  background: #f1f2f4;
  overflow: hidden;
}

.compare-half + .compare-half {
  border-left: 1px solid var(--line);
}

.compare-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.compare-half:first-child img {
  filter: grayscale(1);
  opacity: 0.92;
}

.compare-half::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 34%;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.compare-half figcaption {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.compare-note {
  max-width: 62ch;
  margin: clamp(16px, 2vw, 22px) auto 0;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 720px) {
  .compare-split {
    grid-template-columns: 1fr;
  }

  .compare-half + .compare-half {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .compare-half {
    height: 280px;
  }
}

/* ---------- Harga: catatantrial ---------- */

.price-note {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.plan-note {
  margin: clamp(26px, 3.2vw, 38px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 74ch;
}

.plan-note li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.plan-note li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.plan-foot {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
}

.plan-foot a { color: var(--brand-text); }

/* ---------- Harga: sorot angka tahunan ---------- */
.price-figure {
  display: inline-block;
  padding: 8px 22px 14px;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--ink);
  line-height: 1;
}

.price-suffix {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--brand-text);
  letter-spacing: -0.01em;
  margin-left: 2px;
}

/* ---------- Heading split ke karakter (CSS native) ---------- */
.section-head {
  scroll-margin-top: 88px;
}

.split-h2 {
  view-timeline: --split block;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .split-h2 .word {
      display: inline-block;
      animation: word-in linear both;
      animation-duration: 1ms;
      animation-timeline: --split;
      animation-range: entry calc(5% + var(--i) * 1.6%) cover calc(35% + var(--i) * 1.6%);
      will-change: transform, opacity;
    }
  }
}

@keyframes word-in {
  from { opacity: 0; transform: translateY(0.4em); }
  to { opacity: 1; transform: none; }
}
