/* Beranda (/) — sections specific to the homepage. Requires site.css. */

/* Hero */
.home-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.trust-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid #dbe9e6; font-size: 14px; font-weight: 600; color: var(--text-1); line-height: 1.4; }
.trust-pill .chip { font-size: 12px; font-weight: 800; padding: 4px 10px; }
.h1__for { display: block; margin-top: .25em; font-size: .52em; line-height: 1.2; letter-spacing: -.01em; }
.h1__for em { font-style: normal; color: #1f8a7e; }
.hero-note { font-size: 14px; color: var(--muted); font-weight: 500; }
.hero-visual { position: relative; }
.hero-visual__frame { position: relative; aspect-ratio: 1 / .92; border-radius: 32px; background: linear-gradient(160deg, #dcefeb, #f5faf9); border: 1px solid #d6e8e4; overflow: hidden; display: grid; place-items: center; }
.hero-visual__frame img { display: block; width: 88%; height: 88%; object-fit: contain; }
.hero-visual .fc-order { top: 8%; left: -4%; }
.hero-visual .fc-omzet { top: 34%; right: -3%; width: 168px; padding: 14px 16px; display: block; }
.hero-visual .fc-qris { bottom: 7%; left: 6%; }
.fc-omzet__label { font-size: 12px; color: var(--muted); font-weight: 600; }
.fc-omzet__value { font-size: 18px; font-weight: 800; color: var(--ink); margin-top: 2px; letter-spacing: -.02em; }
.fc-omzet__value small { font-size: 12px; color: var(--primary); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-top: 10px; }
.bars span { flex: 1; background: #cfe9e4; border-radius: 4px; transform-origin: bottom; animation: cqBar 2.4s ease-in-out infinite; }
.bars span:nth-child(3n+2) { animation-delay: -.8s; }
.bars span:nth-child(3n) { animation-delay: -1.6s; }
.bars span:last-child { background: var(--brand); }
@media (max-width: 560px) {
  .hero-visual .fc-order { left: 0; top: 4%; }
  .hero-visual .fc-omzet { right: 0; }
  .hero-visual .fc-qris { left: 2%; bottom: 4%; }
}

/* Stats strip */
.stats { border-bottom: 1px solid var(--line); }
.stats__grid { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; margin-top: 0; margin-bottom: 0; }
.stat { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 2px solid #d6ebe7; margin: 0; }
.stat dt { order: 2; font-size: 15px; color: var(--text-3); font-weight: 500; }
.stat dd { order: 1; margin: 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }

/* Segments */
.segment__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.segment__num { font-size: 13px; font-weight: 700; color: #5f7774; font-variant-numeric: tabular-nums; }
.segment .h3 { margin-top: 14px; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }

/* Problems */
.problems { margin: 36px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.problem { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; transition: border-color .2s; }
.problem:hover { border-color: var(--line-hover); }
.problem__p { font-size: 15px; color: var(--muted); font-weight: 500; }
.problem__f { justify-self: start; font-size: 14px; font-weight: 700; color: var(--primary); background: var(--chip); padding: 6px 12px; border-radius: 999px; }
.problem__r { font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.45; }

/* Feature tabs */
.ftabs { margin-top: 48px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.ftabs__list { display: flex; flex-direction: column; gap: 8px; }
.ftab { position: relative; flex: none; text-align: left; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; overflow: hidden; transition: background .25s, border-color .25s, box-shadow .25s; }
.ftab:hover { background: rgba(255, 255, 255, .6); }
.ftab__num { font-size: 12px; font-weight: 800; color: #5f7774; font-variant-numeric: tabular-nums; }
.ftab[aria-selected="true"] { background: #fff; border-color: #cfe6e1; box-shadow: 0 12px 30px -20px rgba(14, 35, 36, .35); }
.ftab[aria-selected="true"] .ftab__num { color: var(--primary); }
.tab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand); transform-origin: left; transform: scaleX(0); opacity: 0; }
.is-autoplay [aria-selected="true"] .tab__bar { opacity: 1; animation: cqProgress 7s linear forwards; }
.ftabs__panels { display: grid; }
.fpanel { grid-area: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; align-items: center; }
.js .fpanel { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s ease, transform .6s var(--ease), visibility .5s; }
.js .fpanel.is-active { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .ftabs { grid-template-columns: minmax(0, 1fr); }
html:not(.js) .ftabs__list { display: none; }
html:not(.js) .ftabs__panels { gap: 20px; }
html:not(.js) .fpanel { grid-area: auto; }
.fpanel .h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
.fpanel p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--text-3); }
.fpanel .checks { margin-top: 22px; }
.fpanel .link-arrow { margin-top: 26px; }
.fpanel .frame { aspect-ratio: 4 / 3.4; }
@media (max-width: 959px) {
  .ftabs { grid-template-columns: minmax(0, 1fr); }
  .ftabs__list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .ftabs__list::-webkit-scrollbar { display: none; }
  .ftab { white-space: nowrap; }
}

/* Merchant */
.merchant-points { margin: 32px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.merchant-points .card { display: flex; flex-direction: column; gap: 8px; }
.merchant-points .h3 { font-size: 17px; }
.merchant-points p { margin: 0; line-height: 1.55; }
.merchant-visual { position: relative; }
.merchant-visual__frame { aspect-ratio: 1 / 1; border-radius: 32px; background: linear-gradient(160deg, #fdf3dc, #f7fbfa); border: 1px solid #efe4c8; display: grid; place-items: center; overflow: hidden; }
.merchant-visual__frame img { display: block; width: 86%; height: 86%; object-fit: contain; }
.merchant-visual .fc-payout { top: 8%; right: -2%; flex-direction: column; align-items: flex-start; gap: 2px; }
.merchant-visual .fc-valid { bottom: 8%; left: -3%; }
@media (max-width: 560px) { .merchant-visual .fc-payout { right: 0; } .merchant-visual .fc-valid { left: 0; } }

/* AI */
.ai { position: relative; overflow: hidden; }
.ai > .container { position: relative; }
.ai-qs { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.ai-qs li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; color: #dcecea; }
.ai .link-arrow { margin-top: 32px; }
.chat { background: var(--dark-card); border: 1px solid rgba(255, 255, 255, .1); border-radius: 28px; padding: 20px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.chat__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.chat__who { display: flex; align-items: center; gap: 10px; }
.chat__avatar { width: 32px; height: 32px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; }
.chat__name { display: block; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.4; }
.chat__mode { display: block; font-size: 12px; color: var(--on-dark-3); line-height: 1.4; }
.chat__label { font-size: 11px; font-weight: 700; color: var(--on-dark-3); letter-spacing: .06em; }
.chat__body { min-height: 300px; display: flex; flex-direction: column; gap: 14px; padding: 20px 4px 8px; }
.bubble { max-width: 88%; padding: 14px 16px; font-size: 15px; line-height: 1.6; margin: 0; }
.bubble--q { align-self: flex-end; max-width: 82%; background: var(--brand); color: #fff; padding: 12px 16px; border-radius: 18px 18px 4px 18px; font-weight: 500; line-height: 1.5; }
.bubble--q.is-typing::after { content: "▍"; animation: cqBlink 1s step-end infinite; }
.bubble--a { align-self: flex-start; background: var(--dark-card-2); color: var(--on-dark); border-radius: 18px 18px 18px 4px; }
.bubble--dots { align-self: flex-start; background: var(--dark-card-2); padding: 14px 18px; border-radius: 18px 18px 18px 4px; display: flex; gap: 6px; }
.bubble--dots[hidden], .bubble[hidden], .chat__src[hidden] { display: none; }
.bubble--dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--on-dark-2); animation: cqDot 1.2s infinite; }
.bubble--dots span:nth-child(2) { animation-delay: .2s; }
.bubble--dots span:nth-child(3) { animation-delay: .4s; }
.chat__src { align-self: flex-start; font-size: 12px; font-weight: 600; color: #9cc4be; border: 1px solid rgba(255, 255, 255, .14); padding: 5px 10px; border-radius: 999px; }

/* Ops cards */
.ops-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ops-card__media { aspect-ratio: 4 / 3; background: var(--tint); display: grid; place-items: center; overflow: hidden; }
.ops-card__media img { display: block; width: 86%; height: 86%; object-fit: contain; transition: transform .6s var(--ease); }
.ops-card:hover .ops-card__media img { transform: scale(1.06); }
.ops-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.ops-card__body p { margin: 0; }

/* Workflow */
.flow { position: relative; margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 28px 20px; }
.flow::before, .flow::after { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--line); }
.flow::after { background: var(--brand); transform-origin: left; transform: scaleX(0); transition: transform 2.2s cubic-bezier(.6, 0, .2, 1); }
.flow.is-on::after, html:not(.js) .flow::after { transform: scaleX(1); }
.flow__step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.flow__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; background: #fff; color: #5f7774; border: 2px solid var(--line); transition: background .4s, color .4s, border-color .4s; }
.flow.is-on .flow__n, html:not(.js) .flow__n { background: var(--primary); color: #fff; border-color: var(--primary); }
.flow__step:nth-child(2) .flow__n { transition-delay: .35s; }
.flow__step:nth-child(3) .flow__n { transition-delay: .7s; }
.flow__step:nth-child(4) .flow__n { transition-delay: 1.05s; }
.flow__step:nth-child(5) .flow__n { transition-delay: 1.4s; }
.flow__step:nth-child(6) .flow__n { transition-delay: 1.75s; }
.flow__step .h3 { font-size: 18px; }
.flow__step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-3); }
@media (max-width: 959px) { .flow::before, .flow::after { display: none; } }

/* All features */
.feat-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.feat-list li[hidden] { display: none; }
.feat { display: flex; flex-direction: column; gap: 8px; }
.feat__title { display: flex; align-items: flex-start; gap: 10px; }
.feat__title::before { content: "✓"; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--chip); color: var(--primary); display: grid; place-items: center; font-size: 11px; font-weight: 800; line-height: 1; }
.feat .h3 { font-size: 16px; line-height: 1.35; }
.feat p { margin: 0; padding-left: 30px; font-size: 14.5px; line-height: 1.6; }
.more-row { margin-top: 28px; display: flex; justify-content: center; }
.more-row[hidden], .more-row .btn[hidden] { display: none; }
.btn--more { height: 50px; padding: 0 24px; border-radius: 14px; }

/* Gallery */
.gallery { margin-top: 40px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(20px, calc((100vw - 1200px) / 2 + 40px)); padding: 8px max(20px, calc((100vw - 1200px) / 2 + 40px)) 16px; scrollbar-width: none; list-style: none; margin-bottom: 0; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: none; width: clamp(220px, 24vw, 270px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.gallery__img { aspect-ratio: 3 / 4; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.gallery__img:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -26px rgba(14, 35, 36, .4); }
.gallery__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery figcaption { font-size: 15px; font-weight: 700; color: var(--ink); padding-left: 4px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; transition: background .2s, color .2s; }
.round-btn:hover { background: var(--ink); color: #fff; }
.round-btns { display: flex; gap: 10px; }

/* Testimonials */
.rating-big { display: flex; align-items: center; gap: 16px; }
.rating-big__n { font-size: 52px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.stars { color: var(--star); font-size: 18px; letter-spacing: 2px; }
.marquee { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); scrollbar-width: none; }
.js .marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 16px; width: max-content; padding: 0 24px; }
.marquee__track.is-running { animation: cqMarquee 70s linear infinite; }
.marquee__track--b.is-running { animation-duration: 80s; animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.testi { margin: 0; width: 340px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.testi blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-1); }
.testi figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #d6efe9; color: var(--primary-deep); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.avatar--b { background: #fbe9c2; }
.avatar--c { background: #e2e8f6; }
.testi__name { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.testi__biz { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
@media (max-width: 420px) { .testi { width: 290px; } }

/* Pricing */
.price { margin: 48px auto 0; max-width: 1000px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); border-radius: 32px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-panel); }
.price__left { padding: clamp(28px, 4vw, 48px); background: #fff; }
.price__amount { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__amount strong { font-size: clamp(44px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.price__amount span { font-size: 16px; color: var(--text-3); font-weight: 500; }
.price__inc { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px 20px; }
.price__inc li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--text-1); font-weight: 500; }
.price__inc li::before { content: "✓"; flex: none; color: var(--primary); font-weight: 800; }
.price__right { padding: clamp(28px, 4vw, 48px); background: var(--dark); color: var(--on-dark); display: flex; flex-direction: column; gap: 20px; }
.price__right label { font-size: 15px; font-weight: 700; color: #fff; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-row span { font-size: 15px; color: var(--on-dark-2); }
.calc-row output { font-size: 28px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.price__right input[type=range] { width: 100%; height: 28px; cursor: pointer; accent-color: var(--mint); }
.calc-total { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.calc-total__label { font-size: 14px; color: var(--on-dark-2); }
.calc-total output { font-size: clamp(32px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.calc-total__note { font-size: 14px; color: var(--on-dark-3); }
.price__right .btn { margin-top: auto; }

/* SEO review */
.review-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; align-items: start; }
.review-card { padding: clamp(24px, 3vw, 36px); }
.review-card .h3 { font-size: 22px; line-height: 1.25; }
.review-card > p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.7; }
.review-table { padding: 0; overflow: hidden; }
.review-table .table-wrap { border: 0; border-radius: 0; }
.review-table .table { font-size: 14.5px; line-height: 1.55; min-width: 560px; }
.review-table .table th, .review-table .table td { padding: 16px 20px; }
.review-table .table thead th { padding: 18px 20px; }
.review-table .table td { color: var(--text-3); }

/* Blog */
.post-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); text-decoration: none; color: var(--ink); border-radius: 28px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s; background: #fff; }
.post-feature:hover { box-shadow: var(--shadow-card); color: var(--ink); }
.post-feature__media { background: var(--tint); display: flex; align-items: center; }
.post-feature__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 960px) { .post-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.post-feature__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.post-feature__body .h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.02em; }
.post-feature__body p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text-3); }
.post-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); border-radius: 24px; border: 1px solid var(--line); overflow: hidden; background: #fff; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); color: var(--ink); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--tint); }
.post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__body .h3 { font-size: 19px; line-height: 1.35; }
.post-card__body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-3); }
.post-card__more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--primary); }
