/* Smash POS landing — kertas struk di atas biru toko.
   Token: biru #0B5FFF, tinta #0E1726, kabut #F4F6FA, penanda #FFE14D, lunas #039855. */
:root {
  --blue: #0B5FFF;
  --blue-deep: #0847C2;
  --ink: #0E1726;
  --mist: #F4F6FA;
  --line: #DDE3ED;
  --muted: #5B6676;
  --mark: #FFE14D;
  --paid: #039855;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 750; line-height: 1.02; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.5rem; line-height: 1.1; }
p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow::after { content: ""; flex: 1; border-top: 2px dashed currentColor; opacity: .3; }
.eyebrow-light { color: #fff; }

/* ---------- header ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 22px max(24px, calc((100vw - 1120px) / 2)); color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 750 22px/1 var(--display); font-variation-settings: "wdth" 88; text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: #fff; position: relative; flex: none; }
.brand-mark::before { content: ""; position: absolute; left: 7px; top: 8px; width: 14px; height: 9px; border: 2.5px solid var(--blue); border-top-width: 2.5px; border-radius: 2px 2px 5px 5px; }
.brand-mark::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 2.5px; border-radius: 2px; background: var(--blue); }
.top nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; }
.top nav a { text-decoration: none; opacity: .92; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.top nav .nav-cta { background: #fff; color: var(--blue); padding: 9px 16px; border-radius: 999px; opacity: 1; }
.top nav .nav-cta:hover { text-decoration: none; background: var(--mark); color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 14px; font: 700 16px/1 var(--body); text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--mark); color: var(--ink); }
.btn-solid:hover { background: #fff; }
.btn-line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line:hover { background: #fff; color: var(--blue); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--blue); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-center { justify-content: center; }
.fine { font-size: 14px; opacity: .8; margin-top: 16px; }
.fine-dark { color: var(--muted); opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: 128px max(24px, calc((100vw - 1120px) / 2)) 96px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.3px); background-size: 26px 26px; mask-image: linear-gradient(100deg, #000 0%, transparent 62%); -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 62%); pointer-events: none; }
.hero-copy { position: relative; max-width: 560px; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); margin-bottom: 26px; }
.mark { background: linear-gradient(transparent 58%, var(--mark) 58% 92%, transparent 92%); color: #fff; padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: 1.2rem; line-height: 1.55; max-width: 34em; margin-bottom: 30px; opacity: .96; }

.hero-stage { position: relative; min-height: 640px; }
.phone { position: relative; border: 7px solid var(--ink); border-radius: 34px; background: var(--ink); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(8, 20, 48, .45), 0 2px 0 rgba(255,255,255,.08) inset; }
.phone img { border-radius: 26px; width: 100%; }
.phone-hero { position: absolute; left: 0; top: 0; width: min(290px, 58%); transform: rotate(-4deg); }

/* struk */
.receipt { position: absolute; right: 0; top: 70px; width: min(330px, 68%); transform: rotate(3deg); filter: drop-shadow(0 26px 30px rgba(8, 20, 48, .35)); }
.receipt-body { position: relative; background: #fff; color: var(--ink); padding: 26px 22px 34px; font: 400 13px/1.5 var(--mono); }
.receipt-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; background: linear-gradient(135deg, #fff 5px, transparent 0) 0 0 / 14px 10px repeat-x, linear-gradient(-135deg, #fff 5px, transparent 0) 0 0 / 14px 10px repeat-x; }
.receipt p { margin: 0; }
.receipt hr { border: 0; border-top: 1.5px dashed #9AA6B8; margin: 10px 0; }
.r-head { font-weight: 500; font-size: 17px; letter-spacing: .08em; text-align: center; }
.r-sub { text-align: center; color: var(--muted); font-size: 12px; }
.r-row { display: flex; justify-content: space-between; gap: 12px; }
.r-row b { font-weight: 500; }
.r-total { font-size: 16px; font-weight: 500; }
.r-foot { text-align: center; font-size: 12px; margin-top: 6px; }
.stamp { display: block; width: max-content; margin: 16px auto 14px; font: 500 28px/1 var(--mono); letter-spacing: .14em; color: var(--paid); border: 3px solid var(--paid); border-radius: 8px; padding: 6px 14px; transform: rotate(-8deg); mix-blend-mode: multiply; opacity: .9; }

@media (prefers-reduced-motion: no-preference) {
  .receipt-body > * { animation: print .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.5s + var(--i) * .16s); }
  .receipt-body > .stamp { animation: stamp .35s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(.5s + var(--i) * .16s); }
  .phone-hero { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes print { from { opacity: 0; transform: translateY(-8px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
  @keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(2.4); } to { opacity: .9; transform: rotate(-8deg) scale(1); } }
  @keyframes rise { from { opacity: 0; transform: rotate(-4deg) translateY(40px); } to { opacity: 1; transform: rotate(-4deg); } }
}

/* ---------- dua versi ---------- */
.pilih { padding: 112px 0; background: var(--mist); }
.pilih h2 { max-width: 14em; margin-bottom: 52px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; }
.tag { display: inline-block; align-self: flex-start; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: #EAF1FF; color: var(--blue); margin-bottom: 18px; }
.product-fnb .tag { background: #FFF1D6; color: #9A5B00; }
.product h3 { font-size: 2.1rem; margin-bottom: 12px; }
.product-lede { color: var(--muted); margin-bottom: 26px; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 210px)); justify-content: center; gap: 22px; margin-bottom: 30px; padding: 30px 24px 0; height: 410px; border-radius: 18px; background: #EAF1FF; overflow: hidden; align-items: start; }
.product-fnb .shots { background: #FFF1D6; }
.shots .phone { border-width: 6px; border-radius: 26px; box-shadow: 0 14px 28px -14px rgba(14, 23, 38, .5); }
.shots .phone img { border-radius: 20px; }
.shots .phone:nth-child(2) { margin-top: 26px; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; flex: 1; align-content: start; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.32em + 4px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(40deg) scale(.85); }
.product .btn { align-self: flex-start; }
.badge { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--mark); padding: 4px 8px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }

/* ---------- self-order ---------- */
.qr { background: var(--ink); color: #fff; padding: 112px 0 96px; }
.qr-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 56px 64px; align-items: start; }
.qr h2 { margin-bottom: 24px; }
.qr-copy p { color: #C9D2E1; }
.qr-copy b { color: #fff; }
.checks-light { margin-top: 28px; }
.checks-light li::before { background: var(--mark); }
.checks-light li::after { border-color: var(--ink); }
.qr-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: start; }
.qr-shots .phone { border-color: #2A3650; background: #2A3650; border-width: 5px; border-radius: 22px; }
.qr-shots .phone img { border-radius: 16px; }
.qr-shots .phone:nth-child(2) { margin-top: 28px; }
.qr-shots .phone:nth-child(3) { margin-top: 56px; }
.qr-shots .phone:nth-child(4) { margin-top: 12px; }
.qr-right { min-width: 0; }
.qr-cap { display: grid; grid-template-columns: 3fr 1fr; gap: 12px; margin: 22px 0 0; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8FA0BC; }
.qr-cap span { border-top: 2px dashed #3A4A68; padding-top: 12px; }

/* ---------- backoffice ---------- */
.kantor { padding: 112px 0; }
.kantor h2 { max-width: 15em; margin-bottom: 20px; }
.section-lede { max-width: 40em; font-size: 1.15rem; color: var(--muted); margin-bottom: 44px; }
.section-lede-light { color: rgba(255,255,255,.88); }
.browser { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -40px rgba(14, 23, 38, .35); margin-bottom: 44px; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #EEF1F6; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #CBD3DF; }
.browser-bar span { margin-left: 10px; font: 400 12px/1 var(--mono); color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.grid3 h3 { font-size: 1.3rem; margin-bottom: 10px; }
.grid3 p { color: var(--muted); margin: 0; }

/* ---------- urusan sehari-hari ---------- */
.seharihari { padding: 104px 0; background: var(--mist); }
.seharihari h2 { max-width: 15em; margin-bottom: 48px; }
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin: 0; }
.dl > div { padding: 24px 0; border-top: 2px dashed #C3CCDA; }
.dl dt { font: 700 1.2rem/1.25 var(--display); font-variation-settings: "wdth" 88; margin-bottom: 8px; }
.dl dd { margin: 0; color: var(--muted); }

/* ---------- cara mulai ---------- */
.mulai { padding: 112px 0; }
.mulai h2 { margin-bottom: 44px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: s; position: relative; padding-top: 70px; color: var(--muted); }
.steps li b { display: block; color: var(--ink); font: 750 1.25rem/1.2 var(--display); font-variation-settings: "wdth" 88; margin-bottom: 8px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 500 20px/1 var(--mono); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 62px; right: -12px; border-top: 2px dashed #B9C5DA; }

/* ---------- status ---------- */
.status { padding: 0 0 112px; }
.status-box { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; padding: 44px 48px; border-radius: 24px; background: #FFF9D6; border: 2px dashed #E3C934; }
.status h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.status .eyebrow { color: #7A6500; }
.plain { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* ---------- coba ---------- */
.coba { background: var(--blue); color: #fff; text-align: center; padding: 104px 0 96px; position: relative; overflow: hidden; }
.coba h2 { margin-bottom: 18px; }
.coba .section-lede { margin-inline: auto; margin-bottom: 34px; }
.coba .fine a { text-underline-offset: 3px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #A9B6CC; padding: 34px 0; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.brand-foot { color: #fff; font-size: 18px; }
.brand-foot .brand-mark { width: 22px; height: 22px; border-radius: 6px; }
.brand-foot .brand-mark::before { left: 5px; top: 6px; width: 11px; height: 7px; }
.brand-foot .brand-mark::after { left: 5px; right: 5px; bottom: 5px; }

/* ---------- responsif ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 112px; gap: 20px; }
  .hero-stage { min-height: 600px; max-width: 520px; width: 100%; margin-inline: auto; }
  .duo { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .steps li::after { display: none; }
  .status-box { grid-template-columns: 1fr; gap: 12px; padding: 32px 26px; }
}
@media (max-width: 720px) {
  .top nav a:not(.nav-cta) { display: none; }
  .dl { grid-template-columns: 1fr; }
  .pilih, .kantor, .qr, .mulai { padding-block: 76px; }
  .seharihari { padding-block: 72px; }
  .product { padding: 24px 20px; }
  .shots { padding: 22px 12px 0; gap: 12px; height: 340px; grid-template-columns: repeat(2, minmax(0, 170px)); }
  .qr-shots { grid-template-columns: repeat(2, 1fr); }
  .qr-shots .phone:nth-child(n) { margin-top: 0; }
  .qr-cap { display: none; }
  .steps { grid-template-columns: 1fr; }
  .hero-stage { min-height: 560px; }
}
@media (max-width: 420px) {
  .hero { padding-bottom: 64px; }
  .receipt-body { padding: 20px 14px 28px; font-size: 12px; }
  .r-head { font-size: 15px; }
  .stamp { font-size: 22px; }
}

/* ---------- penambahan: strip kepercayaan, sebelum/sesudah, tanya jawab ---------- */
.trust { list-style: none; margin: 0; padding: 18px max(24px, calc((100vw - 1120px) / 2)); display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; background: var(--ink); color: #fff; font: 500 13px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mark); }

.kenal { padding: 112px 0; }
.kenal h2 { max-width: 17em; margin-bottom: 48px; }
.ba { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.ba-head, .ba-row { display: grid; grid-template-columns: 1fr 1fr; }
.ba-head span { padding: 16px 28px; font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--mist); }
.ba-head span:last-child { color: #fff; background: var(--blue); }
.ba-row p { margin: 0; padding: 24px 28px; border-top: 1px solid var(--line); }
.ba-row .before { color: var(--muted); text-decoration: line-through; text-decoration-color: #C2CAD8; text-decoration-thickness: 1.5px; }
.ba-row .after { font-weight: 600; background: #F3F7FF; }

.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.coba-next { margin-top: 28px; font-size: 1.05rem; }
.coba-link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.coba-link:hover { color: var(--mark); }

.tanya { padding: 112px 0; background: var(--mist); }
.tanya-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.tanya h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.tanya-note { color: var(--muted); }
.faq { display: grid; gap: 0; border-top: 2px dashed #C3CCDA; }
.faq details { border-bottom: 2px dashed #C3CCDA; padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font: 700 1.1rem/1.35 var(--display); font-variation-settings: "wdth" 92; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 26px/1 var(--mono); color: var(--blue); transition: transform .2s ease; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 40em; }

.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li i { font-style: normal; font-weight: 700; color: var(--ink); }

@media (max-width: 960px) {
  .tanya-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .kenal, .tanya { padding-block: 76px; }
  .ba-head { display: none; }
  .ba-row { grid-template-columns: 1fr; }
  .ba-row .before { padding-bottom: 8px; border-top: 1px solid var(--line); }
  .ba-row .after { border-top: 0; padding-top: 14px; padding-bottom: 22px; }
  .ba-row .before::before { content: "Selama ini"; display: block; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; text-decoration: none; }
  .ba-row .after::before { content: "Dengan Smash POS"; display: block; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
  .trust { justify-content: flex-start; font-size: 12px; }
}

/* ---------- cara kerja ---------- */
.cara { padding: 112px 0; }
.cara h2 { max-width: 17em; margin-bottom: 20px; }
.flow { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: f; }
.flow li { counter-increment: f; position: relative; background: var(--mist); border-radius: 24px; padding: 28px 28px 32px; display: flex; flex-direction: column; }
.flow li::before { content: counter(f); position: absolute; top: 22px; left: 22px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 500 18px/1 var(--mono); box-shadow: 0 0 0 5px var(--mist); }
.flow .phone { width: min(230px, 80%); margin: 6px auto 24px; border-width: 6px; border-radius: 28px; max-height: 330px; }
.flow .phone img { border-radius: 22px 22px 0 0; }
.flow h3 { font-size: 1.45rem; margin-bottom: 8px; }
.flow p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } .flow .phone { width: 210px; } }
@media (max-width: 720px) { .cara { padding-block: 76px; } }
