/* Naterax — website promosi. Gaya terang ala macOS, aksen pink. Tanpa font / skrip dari luar. */
:root {
  --bg: #f5f5f7;
  --white: #ffffff;
  --fg: #1d1d1f;
  --fg-soft: #3a3a3c;
  --muted: #6e6e73;
  --subtle: #8e8e93;
  --line: rgb(0 0 0 / 0.1);
  --side: #ebebed;
  --pink: #ff385c;
  --pink-dark: #e31c5f;
  --pink-soft: #ffe0e5;
  --pink-text: #b0034f;
  --green: #1f8a4c;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700;
}
h3 {
  font-size: 1.08rem;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
}
a {
  color: inherit;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(760px, 100% - 32px);
}
.center {
  text-align: center;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 1.6rem;
}
.eyebrow {
  color: var(--pink);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.eyebrow.light {
  color: #fff;
  opacity: 0.85;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--fg);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background-color 0.15s,
    transform 0.1s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.9rem;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--pink-dark);
}
.btn-ghost {
  background: var(--white);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover {
  background: var(--bg);
}
.btn-light {
  background: #fff;
  color: var(--pink-text);
  white-space: nowrap;
}
.btn-light:hover {
  background: var(--pink-soft);
}
.link-quiet {
  text-decoration: none;
  color: var(--fg-soft);
  font-size: 0.95rem;
}
.link-quiet:hover {
  color: var(--fg);
}

/* ---------- Menu atas ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.92);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .nav {
    background: rgb(255 255 255 / 0.8);
    backdrop-filter: saturate(180%) blur(16px);
  }
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}
/* logo resmi = favicon.svg (SVG di HTML) */
.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
}
.nav-links {
  display: flex;
  gap: 26px;
}
.nav-links a {
  text-decoration: none;
  color: var(--fg-soft);
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--fg);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-mobile {
  display: none;
  position: relative;
}
.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.nav-mobile summary::-webkit-details-marker {
  display: none;
}
.nav-mobile-panel {
  position: absolute;
  right: 0;
  top: 44px;
  width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.12);
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.nav-mobile-panel a {
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.nav-mobile-panel a:hover {
  background: var(--bg);
}

/* ---------- Halaman pertama ---------- */
.hero {
  background: var(--bg);
  padding: 72px 0 0;
  overflow: hidden;
}
.pill {
  display: inline-block;
  background: var(--pink-soft);
  color: var(--pink-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  max-width: 820px;
  margin-inline: auto;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.screen {
  margin: 0 auto;
  max-width: 980px;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.1);
  overflow: hidden;
  text-align: left;
}
.screen-bar {
  height: 34px;
  background: #e7e7e7;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.screen-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}
.screen-bar span:nth-child(2) {
  background: #febc2e;
}
.screen-bar span:nth-child(3) {
  background: #28c840;
}
.screen-bar em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
  background: #fff;
  border-radius: 6px;
  padding: 2px 12px;
  margin-left: 14px;
}
.screen-body {
  display: flex;
  min-height: 320px;
}
.screen-side {
  width: 180px;
  background: var(--side);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--line);
}
.bar {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: rgb(58 58 60 / 0.18);
}
.bar.brand {
  width: 60%;
  background: var(--pink);
  margin-bottom: 10px;
}
.screen-main {
  flex: 1;
  padding: 20px;
  min-width: 0;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.kpis div {
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 12px;
}
.kpis small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}
.kpis b {
  font-size: 1.1rem;
}
.hot {
  color: var(--pink-dark);
}
.ok {
  color: var(--green);
}
.chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 110px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.chart i {
  flex: 1;
  background: #ffc6d0;
  border-radius: 5px 5px 0 0;
}
.chart i:nth-child(n + 6) {
  background: #ff9aab;
}
.chart i:last-child {
  background: var(--pink);
}
.rows p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  padding: 8px 4px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.rows p:nth-child(even) {
  background: var(--bg);
}
.rows span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag {
  background: var(--pink-soft);
  color: var(--pink-text);
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
}
.screen figcaption {
  font-size: 0.75rem;
  color: var(--subtle);
  text-align: center;
  padding: 6px;
  border-top: 1px solid var(--line);
}

/* ---------- Fakta berjalan ---------- */
.trust {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.marquee {
  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;
  width: max-content;
  gap: 48px;
  animation: slide 40s linear infinite;
}
.marquee-track span {
  white-space: nowrap;
  color: var(--fg-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.marquee-track span::before {
  content: '✓';
  color: var(--pink);
  margin-right: 8px;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(calc(-50% - 24px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .marquee-track span[aria-hidden='true'] {
    display: none;
  }
}

/* ---------- Bagian umum ---------- */
section {
  padding: 88px 0;
}
.hero,
.trust {
  padding-bottom: 0;
}
.trust {
  padding: 28px 0;
}
.story-row,
.detail-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.detail-row.reverse > :first-child {
  order: 2;
}
.detail.alt,
.features {
  background: var(--bg);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 30px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pink-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23e31c5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/100% no-repeat;
}
.story .checks {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* kartu sisa sendirian di baris terakhir (3 kolom) → di tengah */
.grid:not(.four) > .card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}
.ico {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--pink-soft);
  color: var(--pink-dark);
  margin-bottom: 14px;
}

.defs {
  margin: 0 0 1.2em;
  display: grid;
  gap: 12px;
}
.defs div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
}
.defs dt {
  font-weight: 700;
  color: var(--pink-text);
}
.defs dd {
  margin: 0;
  color: var(--fg-soft);
}

.mini {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.07);
}
.mini-title {
  font-weight: 700;
  margin-bottom: 14px;
}
.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.mini-row span {
  color: var(--muted);
}
.mini-row.total {
  border-bottom: 0;
  font-weight: 700;
}
.mini-row.total span {
  color: var(--fg);
}
.paper {
  font-family: Tahoma, Verdana, sans-serif;
}
.progress {
  height: 10px;
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
  margin-bottom: 12px;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--pink);
}
.trace {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--pink-soft);
  display: grid;
  gap: 16px;
}
.trace li {
  position: relative;
  display: flex;
  flex-direction: column;
}
.trace li::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink);
}
.trace span {
  color: var(--muted);
  font-size: 0.9rem;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 32px auto 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 860px;
}
.chips li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.95rem;
  color: var(--fg-soft);
}

.pioneer {
  padding: 0 0 88px;
}
.pioneer-box {
  background: var(--pink);
  color: #fff;
  border-radius: 22px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.pioneer-box p:last-child {
  margin: 0;
  opacity: 0.92;
  max-width: 620px;
}

.faq {
  background: var(--bg);
}
.faq h2 {
  margin-bottom: 32px;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--pink);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--fg-soft);
}

.final .btn {
  margin-top: 4px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer p {
  margin: 0;
}

/* ---------- Layar kecil ---------- */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta .link-quiet {
    display: none;
  }
  .nav-mobile {
    display: block;
  }
  .grid,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid:not(.four) > .card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }
  .story-row,
  .detail-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .detail-row.reverse > :first-child {
    order: 0;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pioneer-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  section {
    padding: 64px 0;
  }
  .hero {
    padding-top: 48px;
  }
  .grid,
  .grid.four {
    grid-template-columns: 1fr;
  }
  .screen-side {
    display: none;
  }
  .screen-body {
    min-height: 0;
  }
  .nav-cta .btn {
    display: none;
  }
  .pioneer-box {
    padding: 26px;
  }
}

/* tinggi batang grafik & progres contoh (bukan gaya inline, supaya CSP ketat) */
.chart i:nth-child(1) {
  height: 38%;
}
.chart i:nth-child(2) {
  height: 52%;
}
.chart i:nth-child(3) {
  height: 46%;
}
.chart i:nth-child(4) {
  height: 64%;
}
.chart i:nth-child(5) {
  height: 58%;
}
.chart i:nth-child(6) {
  height: 72%;
}
.chart i:nth-child(7) {
  height: 69%;
}
.chart i:nth-child(8) {
  height: 88%;
}
.progress i {
  width: 72%;
}
.notfound {
  min-height: 100vh;
  padding: 120px 0;
}

/* ---------- Screenshot aplikasi ---------- */
.screen img {
  display: block;
  width: 100%;
  height: auto;
}
.detail-row {
  grid-template-columns: 0.85fr 1.15fr;
}
.shot {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.08);
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 23 / 16.76;
  object-fit: cover;
  object-position: top left;
}
@media (max-width: 900px) {
  .detail-row {
    grid-template-columns: 1fr;
  }
}

/* Modul tambahan */
/* langsung setelah daftar Modul (sama-sama putih) → jarak atas kecil */
.addons {
  padding: 8px 0 88px;
  background: var(--white);
}
.addons .card {
  background: var(--bg);
}
.addons .card > p {
  margin-bottom: 14px;
}
.addons .checks {
  gap: 8px;
}
.addons .checks li::before {
  top: 1px;
}
.addons-cta {
  margin-top: 36px;
}
.chips li.plus::after {
  content: ' +';
  color: var(--pink-dark);
  font-weight: 700;
}
