/* Landing page Kashir Lite (varian D). Acuan: docs/landing-page/DESIGN.md */

:root {
    --c-primary: #2F6FE0;
    --c-primary-dark: #2557C2;
    --c-primary-soft: #E3ECFF;
    --c-ink: #0F172A;
    --c-ink-hero: #14234B;
    --c-body: #475569;
    --c-muted: #64748B;
    --c-line: #E2E8F0;
    --c-line-strong: #D5DCE7;
    --c-bg-soft: #F8FAFC;
    --c-bg-review: #F5F8FF;
    --c-hero-arc: #EEF4FF;
    --c-star: #F5A524;
    --c-whatsapp: #25D366;
    --c-whatsapp-dark: #16A34A;
    --c-footer: #0F172A;

    --radius-card: 20px;
    --radius-tile: 14px;
    --radius-btn: 12px;
    --shadow-card: 0 8px 24px rgba(15, 23, 42, .04);
    --shadow-btn: 0 10px 24px rgba(47, 111, 224, .22);

    --container: 1200px;
    --gutter: 120px;
    --section-y: 100px;
    --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--c-ink);
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(47, 111, 224, .45); outline-offset: 2px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- ikon & elemen kecil ---------- */
.ic { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.ic.is-flipped { transform: rotate(180deg); }
.hl { color: var(--c-primary); }
.stars { color: var(--c-star); letter-spacing: .08em; font-size: 16px; line-height: 1; }

.tile {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 48px; height: 48px; border-radius: var(--radius-tile);
    background: var(--tile-bg); color: var(--tile-fg); font-size: 24px;
}
.tile--sm { width: 44px; height: 44px; border-radius: 12px; font-size: 22px; }
.tile--lg { width: 52px; height: 52px; font-size: 26px; }

.pill-label {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: var(--c-primary-soft); color: var(--c-primary);
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge--blue { background: #E3ECFF; color: var(--c-primary); }
.badge--green { background: #E8F8EF; color: #119153; }
.badge--amber { background: #FFF4E0; color: #D9761C; }
.badge--pink { background: #FDECEF; color: #E5484D; }
.badge--purple { background: #F3EEFF; color: #7A61BB; }

/* ---------- tombol ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; border-radius: var(--radius-btn); border: 1px solid transparent;
    font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer;
    transition: background-color .2s, box-shadow .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 12px 22px; font-size: 15px; border-radius: 10px; }
.btn--lg { padding: 15px 26px; }
.btn--block { width: 100%; border-radius: 999px; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--outline { background: #fff; color: var(--c-ink-hero); border-color: var(--c-line-strong); }
.btn--outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--wa { background: #fff; color: var(--c-whatsapp-dark); border: 1.5px solid #22C55E; border-radius: 999px; padding: 13px 24px; font-size: 15px; }
.btn--wa .ic { font-size: 20px; }
.btn--wa:hover { background: #F0FDF4; }

/* ---------- navigasi ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid #E9EDF4;
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand img { height: 37px; width: auto; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 15px; font-weight: 600; color: var(--c-ink-hero); transition: color .2s; }
.nav__links a:hover { color: var(--c-primary); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--c-line);
    background: #fff; color: var(--c-ink); font-size: 22px; cursor: pointer; place-items: center;
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero__copy { position: relative; z-index: 2; padding-top: 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.h1 { font-size: 58px; line-height: 1.16; font-weight: 700; letter-spacing: -.025em; color: var(--c-ink); max-width: 900px; text-wrap: balance; }
.hero__lead { font-size: 18px; line-height: 1.6; color: #5B6478; max-width: 720px; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__note { margin-top: -6px; font-size: 14px; font-weight: 500; color: var(--c-muted); }

.hero__stage { position: relative; height: 560px; margin-top: 40px; }
.hero__arc, .hero__ring { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; }
.hero__arc { top: 70px; width: 1200px; height: 1000px; background: var(--c-hero-arc); }
.hero__ring { top: 0; width: 1360px; height: 1140px; border: 1px solid #DCE8FF; }
.hero__deco { position: absolute; z-index: 1; }
.hero__deco--barcode { left: calc(50% - 540px); top: 110px; font-size: 50px; color: #5A9BFF; }
.hero__deco--tag { left: calc(50% + 480px); top: 90px; font-size: 40px; color: var(--c-primary); }
.hero__deco--sparkle { left: calc(50% + 410px); top: 200px; font-size: 28px; color: var(--c-star); }
.hero__bubble { position: absolute; z-index: 1; border: 2px solid #A3C6FE; border-radius: 50%; }
.hero__bubble--a { width: 28px; height: 28px; left: calc(50% - 468px); top: 360px; }
.hero__bubble--b { width: 18px; height: 18px; left: calc(50% + 450px); top: 370px; }

.hero__phones { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-start; gap: 20px; }
.hero__phone { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero__phone.is-side { margin-top: 90px; }
.hero__phone.is-side .phone { width: 255px; }
.hero__phone.is-center .phone { width: 298px; }
.step-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--c-ink-hero); white-space: nowrap; }
.step-tag span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 12px; font-weight: 700; }
.phone {
    background: #0F172A; padding: 7px; border-radius: 36px;
    box-shadow: 0 20px 40px rgba(0, 16, 63, .28);
}
.phone img { width: 100%; border-radius: 29px; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; background: #F4F6FA; }
.hero__fade { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }

/* ---------- section umum ---------- */
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--review { background: var(--c-bg-review); overflow: hidden; }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 56px; }
.h2 { font-size: 44px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; color: var(--c-ink); text-wrap: balance; }
.lead { font-size: 17px; line-height: 1.6; color: var(--c-body); max-width: 680px; text-wrap: pretty; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-card);
    padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.card--tall { padding: 24px; min-height: 250px; }
.card__title { font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--c-ink); }
.card__title--lg { font-size: 20px; }
.card__text { font-size: 14px; line-height: 1.6; color: var(--c-body); }
.card__text--lg { font-size: 15px; }
.card__link { font-size: 14px; font-weight: 600; color: var(--c-primary); }
.card__link:hover { text-decoration: underline; }

/* ---------- cara pakai ---------- */
.steps { counter-reset: none; }
.step { position: relative; padding-top: 30px; }
.step__num { position: absolute; top: -46px; left: 16px; font-size: 120px; line-height: 1; font-weight: 700; color: #EEF2F7; z-index: 0; user-select: none; }
.step__card { position: relative; z-index: 1; height: 100%; box-shadow: var(--shadow-card); }
.steps__stores { margin-top: 48px; display: flex; justify-content: center; }

/* badge resmi: dipakai apa adanya, hanya diatur tingginya */
.store-badges { --badge-h: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badges--dark { --badge-h: 44px; }
.store-badge { display: inline-block; line-height: 0; border-radius: 8px; transition: transform .2s; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge img { height: var(--badge-h); width: auto; }
/* PNG Google Play punya ruang transparan 29px atas & bawah (dari 250px), jadi diperbesar agar tinggi terlihatnya sama */
.store-badge--play img { height: calc(var(--badge-h) * 250 / 192); margin: calc(var(--badge-h) * -29 / 192) 0; }

/* ---------- ulasan (slider) ---------- */
.rating-pill {
    display: flex; width: fit-content; align-items: center; gap: 14px; margin: -32px auto 40px;
    padding: 12px 24px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05); font-size: 15px; font-weight: 600; color: var(--c-body);
}
.rating-pill strong { font-size: 26px; font-weight: 700; color: var(--c-ink); }
.rating-pill .stars { font-size: 20px; }
.rating-pill__sep { width: 1px; height: 24px; background: var(--c-line); }
.rating-pill__icon { width: 20px; height: 20px; }

.rv { --per-view: 3; --rv-gap: 20px; position: relative; }
.rv__viewport { position: relative; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.rv__viewport::before, .rv__viewport::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: var(--gutter); z-index: 2; pointer-events: none;
}
.rv__viewport::before { left: 0; background: linear-gradient(90deg, var(--c-bg-review), rgba(245, 248, 255, 0)); }
.rv__viewport::after { right: 0; background: linear-gradient(270deg, var(--c-bg-review), rgba(245, 248, 255, 0)); }
.rv__track { display: flex; gap: var(--rv-gap); transition: transform .6s cubic-bezier(.22, .61, .36, 1); touch-action: pan-y; }
.rv__item { flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--rv-gap)) / var(--per-view)); }
.rv__card { height: 100%; }
.rv__quote { font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--c-ink); min-height: calc(17px * 1.6 * 3); }
.rv__author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.rv__avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #F1F5F9; }
.rv__avatar img { width: 17px; height: 17px; }
.rv__author strong { display: block; font-size: 14px; font-weight: 700; color: var(--c-ink); }
.rv__author small { display: block; font-size: 13px; color: var(--c-muted); }
.rv__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.rv__btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: #fff; border: 1px solid var(--c-line-strong); color: var(--c-ink); font-size: 19px; cursor: pointer;
    transition: transform .2s, background-color .2s;
}
.rv__btn:hover { transform: translateY(-1px); }
.rv__btn--primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: 0 6px 14px rgba(47, 111, 224, .25); }
.rv__dots { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--c-muted); }
.rv__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #CBD5E1; cursor: pointer; transition: width .3s, background-color .3s; }
.rv__dot.is-active { width: 24px; background: var(--c-primary); }
.rv__more { text-align: center; margin-top: 28px; }
.rv__more a { font-size: 15px; font-weight: 600; color: var(--c-primary); }
.rv__more a:hover { text-decoration: underline; }
.rv.is-static .rv__controls { display: none; }

/* ---------- FAQ ---------- */
.faq {
    max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--c-line);
    border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}
.faq__item + .faq__item { border-top: 1px solid #EEF1F5; }
.faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 28px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: var(--c-ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { font-size: 20px; color: #94A3B8; transition: transform .25s, color .25s; }
.faq__item[open] { background: var(--c-bg-soft); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); color: var(--c-primary); }
.faq__answer { padding: 0 28px 24px; font-size: 15px; line-height: 1.65; color: var(--c-muted); }
.faq__contact { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; }
.faq__contact p { font-size: 15px; color: var(--c-body); }

/* ---------- harga ---------- */
.pricing { display: grid; grid-template-columns: 520px 1fr; gap: 60px; align-items: start; }
.pricing__card { gap: 16px; border-radius: 24px; box-shadow: 0 16px 40px rgba(15, 23, 42, .07); }
.pricing__title { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; }
.pricing__sparkle { font-size: 28px; color: var(--c-star); }
.pricing__sub { font-size: 14px; color: var(--c-body); }
.pricing__card hr { border: 0; border-top: 1px solid var(--c-line); margin: 0; }
.pricing__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--c-muted); }
.plans { display: flex; flex-direction: column; gap: 16px; }
.plan {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
    padding: 14px 18px; text-align: left; cursor: pointer;
    background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: 14px;
    transition: border-color .2s, background-color .2s;
}
.plan:hover { border-color: #A3C6FE; }
.plan.is-selected { background: #F5F9FF; border: 2px solid var(--c-primary); padding: 13px 17px; }
.plan__info { display: flex; flex-direction: column; gap: 2px; }
.plan__info strong { font-size: 16px; font-weight: 700; color: var(--c-ink); }
.plan__info span { font-size: 14px; font-weight: 500; color: var(--c-body); }
.pricing__note { font-size: 13px; font-weight: 500; color: var(--c-muted); }
.pricing__note a { color: var(--c-whatsapp-dark); text-decoration: underline; }
.includes { padding-top: 10px; }
.includes__title { font-size: 24px; font-weight: 700; margin-bottom: 22px; }
.includes ul { display: flex; flex-direction: column; gap: 22px; }
.includes li { display: flex; gap: 16px; }
.includes li strong { display: block; font-size: 16px; font-weight: 700; color: var(--c-ink); }
.includes li span span { display: block; font-size: 14px; color: var(--c-body); margin-top: 4px; }

/* ---------- footer ---------- */
.footer { background: var(--c-footer); color: #94A3B8; padding: 72px 0 32px; }
.footer__cols { display: grid; grid-template-columns: 460px 1fr 300px; gap: 40px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__brand > img { height: 37px; width: auto; }
.footer__brand p { font-size: 14px; line-height: 1.65; max-width: 420px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 14px; font-weight: 500; }
.footer__col h4 { font-size: 16px; font-weight: 700; color: #fff; }
.footer__col a:hover { color: #fff; }
.footer__contact { gap: 8px; color: #CBD5E1; }
.footer__contact h4 { margin-bottom: 6px; }
.footer__label { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #60A5FA; margin-top: 6px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #1E293B; font-size: 13px; color: var(--c-muted); }

/* ---------- jendela unduh (desktop) ---------- */
.dl-modal {
    width: min(400px, calc(100% - 32px)); padding: 32px 28px 28px; border: 0; border-radius: 24px;
    text-align: center; color: var(--c-ink); box-shadow: 0 30px 80px rgba(15, 23, 42, .25);
}
.dl-modal::backdrop { background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); }
.dl-modal[open] { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: dl-in .2s ease-out; }
@keyframes dl-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.dl-modal__close {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: #F1F5F9; color: var(--c-body); font-size: 18px; cursor: pointer; display: grid; place-items: center;
}
.dl-modal__close .ic { transform: rotate(45deg); }
.dl-modal__close:hover { background: #E2E8F0; }
.dl-modal__title { font-size: 22px; font-weight: 700; }
.dl-modal__text { font-size: 14px; line-height: 1.6; color: var(--c-body); max-width: 320px; }
.dl-modal__qr { width: 200px; padding: 10px; margin: 4px 0; border: 1px solid var(--c-line); border-radius: 16px; background: #fff; }
.dl-modal__qr svg { display: block; width: 100%; height: auto; }
.dl-modal__or { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 12px; color: var(--c-muted); }
.dl-modal__or::before, .dl-modal__or::after { content: ''; flex: 1; height: 1px; background: var(--c-line); }
.dl-modal .store-badges { justify-content: center; --badge-h: 42px; }

/* ---------- WhatsApp mengambang ---------- */
.wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 60;
    display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: var(--c-whatsapp); color: #fff; font-size: 30px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .35); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- responsif: tablet ---------- */
@media (max-width: 1024px) {
    :root { --gutter: 32px; --section-y: 80px; }
    .h1 { font-size: 46px; }
    .h2 { font-size: 36px; }
    .nav__links { gap: 22px; }
    .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .steps { gap: 56px 20px; }
    .rv { --per-view: 2; }
    .pricing { grid-template-columns: 1fr; gap: 40px; max-width: 640px; margin: 0 auto; }
    .footer__cols { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
    /* ponsel hero diperkecil agar ketiganya tetap muat */
    .hero__stage { height: 470px; }
    .hero__phones { gap: 12px; }
    .hero__phone.is-side { margin-top: 70px; }
    .hero__phone.is-side .phone { width: 200px; }
    .hero__phone.is-center .phone { width: 240px; }
    .hero__deco--barcode { left: 24px; top: 70px; }
    .hero__deco--tag { left: auto; right: 24px; top: 60px; }
    .hero__deco--sparkle { left: auto; right: 90px; top: 150px; }
    .hero__bubble--a { left: 40px; }
    .hero__bubble--b { left: auto; right: 40px; }
}

/* ---------- navigasi: menu garis tiga mulai dari tablet ---------- */
@media (max-width: 900px) {
    .nav__toggle { display: inline-grid; }
    .nav__links {
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
        background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
        display: none;
    }
    .nav.is-open .nav__links { display: flex; }
    .nav__links a { padding: 14px 4px; border-bottom: 1px solid #F1F5F9; font-size: 16px; }
    .nav__links a:last-child { border-bottom: 0; }
}

/* ---------- responsif: mobile ---------- */
@media (max-width: 760px) {
    :root { --gutter: 16px; --section-y: 56px; --nav-h: 64px; }
    .nav__brand img { height: 30px; }
    .nav__actions { gap: 8px; }
    .nav__actions .btn { padding: 10px 14px; font-size: 14px; box-shadow: none; }
    .nav__toggle { width: 40px; height: 40px; font-size: 20px; }

    /* hero */
    .hero__copy { padding-top: 36px; gap: 16px; }
    .h1 { font-size: 32px; line-height: 1.2; }
    .h1 br, .h2 br { display: none; }
    .hero__lead { font-size: 15.5px; }
    .hero__cta { width: 100%; flex-direction: column; gap: 10px; }
    .hero__cta .btn { width: 100%; }
    .hero__stage { height: 360px; margin-top: 28px; }
    .hero__arc { top: 50px; width: 560px; height: 560px; }
    .hero__ring { width: 680px; height: 680px; }
    .hero__deco, .hero__bubble, .step-tag { display: none; }
    /* tiga ponsel bertumpuk seperti kipas: ponsel tengah di depan */
    .hero__phones { gap: 0; }
    .hero__phone.is-side { margin-top: 44px; z-index: 0; }
    .hero__phone.is-side .phone { width: 140px; padding: 5px; border-radius: 24px; }
    .hero__phone.is-side .phone img { border-radius: 19px; }
    .hero__phone.is-side:first-child { margin-right: -36px; transform: rotate(-6deg); }
    .hero__phone.is-side:last-child { margin-left: -36px; transform: rotate(6deg); }
    .hero__phone.is-center { z-index: 1; }
    .hero__phone.is-center .phone { width: 180px; padding: 6px; border-radius: 30px; }
    .hero__phone.is-center .phone img { border-radius: 24px; }
    .hero__fade { height: 110px; }

    /* kepala section */
    .h2 { font-size: 27px; line-height: 1.25; }
    .lead { font-size: 15px; }
    .sec-head { margin-bottom: 28px; gap: 12px; }
    .pill-label { font-size: 11px; padding: 5px 12px; }

    /* kartu ringkas: ikon di kiri, teks di kanan */
    .grid { gap: 12px; }
    .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .grid > .card, .step__card {
        display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px;
        align-content: start; padding: 16px 18px; min-height: 0;
    }
    .grid > .card > .tile, .step__card > .tile { grid-row: span 3; width: 44px; height: 44px; border-radius: 12px; font-size: 22px; }
    .card__title, .card__title--lg { font-size: 16px; line-height: 1.35; }
    .card__text, .card__text--lg { font-size: 14px; line-height: 1.55; }

    /* cara pakai: nomor langkah kecil di pojok kartu */
    .steps { gap: 12px; }
    .step { padding-top: 0; }
    .step__num { top: 10px; left: auto; right: 16px; font-size: 40px; color: #E8EDF5; z-index: 2; }
    .step__card { padding-right: 48px; }
    .steps__stores { margin-top: 28px; }
    .steps__stores .store-badges { justify-content: center; }

    /* ulasan */
    .rv { --per-view: 1; }
    .rv__viewport::before, .rv__viewport::after { display: none; }
    .rv__btn { display: none; }
    .rv__quote { font-size: 16px; min-height: calc(16px * 1.6 * 3); }
    .rv__controls { margin-top: 20px; }
    .rating-pill { gap: 8px 10px; padding: 10px 16px; margin: -12px auto 28px; font-size: 13px; }
    .rating-pill strong { font-size: 20px; }
    .rating-pill .stars { font-size: 15px; }
    .rating-pill__sep { height: 18px; }

    /* FAQ */
    .faq__item summary { padding: 16px 18px; font-size: 15.5px; }
    .faq__answer { padding: 0 18px 18px; font-size: 14.5px; }
    .faq__contact { margin-top: 28px; }

    /* harga */
    .pricing { gap: 32px; }
    .pricing__card { padding: 20px; gap: 14px; }
    .pricing__title { font-size: 19px; }
    .plans { gap: 10px; }
    .plan { padding: 12px 14px; }
    .plan.is-selected { padding: 11px 13px; }
    .plan__info span { font-size: 13px; }
    .plan__dot { display: none; }
    .plan__normal { display: block; font-size: 12px; color: var(--c-muted); }
    .includes__title { font-size: 20px; margin-bottom: 16px; }
    .includes ul { gap: 16px; }

    /* footer: beri ruang untuk tombol WhatsApp mengambang */
    .footer { padding: 48px 0 96px; }
    .footer__cols { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { margin-top: 36px; }
    .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 26px; }
}

/* ---------- ponsel sangat kecil ---------- */
@media (max-width: 360px) {
    .nav__actions .btn { display: none; }
    .h1 { font-size: 29px; }
    .hero__phone.is-side .phone { width: 120px; }
    .hero__phone.is-center .phone { width: 160px; }
}

/* ---------- Mode pratinjau (/?preview=1, hanya admin) ---------- */
.preview-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px;
    padding: 8px 16px; background: var(--c-ink); color: #fff; font-size: 13px; text-align: center;
}
.preview-bar a { color: #fff; font-weight: 600; text-decoration: underline; }
.preview-hidden {
    margin: 0; padding: 8px 16px; background: #FFF4E0; color: #92400E;
    border-top: 2px dashed #D9761C; font-size: 13px; font-weight: 600; text-align: center;
}

/* =====================================================================
   Animasi (lihat docs/landing-page/DESIGN.md, bagian Animasi)
   - Hanya aktif bila <html> punya kelas js-anim (dipasang skrip di <head>,
     tidak dipasang bila pengunjung memilih "kurangi gerakan" atau tanpa JS).
   - Gerak memakai properti translate/scale/opacity agar tidak bentrok dengan
     transform yang sudah ada (mis. ponsel miring di HP) dan tidak menggeser layout.
   ===================================================================== */
:root { --ease-out: cubic-bezier(.22, .61, .36, 1); --demo-step: 2600ms; }

@keyframes fade-up { from { opacity: 0; translate: 0 16px; } }
@keyframes rise { from { opacity: 0; translate: 0 48px; } }
@keyframes arc-in { from { opacity: 0; scale: .94; } }
@keyframes float { 50% { translate: 0 -8px; } }
@keyframes marker { to { background-size: 100% 100%; } }
@keyframes progress { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(47, 111, 224, .45); } 100% { box-shadow: 0 0 0 10px rgba(47, 111, 224, 0); } }
@keyframes pulse-btn { 0% { box-shadow: var(--shadow-btn), 0 0 0 0 rgba(47, 111, 224, .45); } 100% { box-shadow: var(--shadow-btn), 0 0 0 16px rgba(47, 111, 224, 0); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 111, 224, 0); } 40% { box-shadow: 0 0 0 6px rgba(47, 111, 224, .16); } }
@keyframes shimmer { to { translate: 220% 0; } }
@keyframes pop { from { opacity: 0; scale: .6; } }
@keyframes tile-pop { 0% { scale: .7; } 60% { scale: 1.08; } 100% { scale: 1; } }
@keyframes bubble-in { from { opacity: 0; translate: 12px 6px; scale: .96; } }

/* ---------- hero: masuk saat halaman dibuka (CSS saja, tidak menunggu JS) ---------- */
.js-anim .hero__copy > * { animation: fade-up .6s var(--ease-out) both; }
.js-anim .hero__copy > :nth-child(2) { animation-delay: .1s; }
.js-anim .hero__copy > :nth-child(3) { animation-delay: .2s; }
.js-anim .hero__copy > :nth-child(4) { animation-delay: .3s; }
/* sapuan stabilo tipis di frasa sorot judul */
.js-anim .h1 .hl {
    background: linear-gradient(transparent 64%, rgba(47, 111, 224, .14) 64%) no-repeat 0 0 / 0 100%;
    animation: marker .7s .7s var(--ease-out) forwards;
}
.js-anim .hero__arc, .js-anim .hero__ring { animation: arc-in .9s .1s var(--ease-out) both; }
.js-anim .hero__phone { animation: rise .8s var(--ease-out) both; }
.js-anim .hero__phone.is-center { animation-delay: .25s; }
.js-anim .hero__phone.is-side { animation-delay: .4s; }
.js-anim .hero__deco, .js-anim .hero__bubble { animation: pop .5s .8s var(--ease-out) both, float 7s 1.3s ease-in-out infinite; }
.js-anim .hero__deco--tag { animation-duration: .5s, 8s; animation-delay: .9s, 1.6s; }
.js-anim .hero__deco--sparkle { animation-duration: .5s, 6s; animation-delay: 1s, 1.1s; }
.js-anim .hero__bubble--b { animation-duration: .5s, 9s; animation-delay: 1s, 2s; }

/* ---------- hero: demo alur 1 > 2 > 3 (kelas diatur landing.js) ---------- */
.hero__phone .phone { transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.step-tag { position: relative; transition: color .3s; }
.step-tag span { transition: background-color .3s; }
.step-tag__bar {
    position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px;
    background: var(--c-primary); transform-origin: left; scale: 0 1; opacity: 0;
}
.is-demo .step-tag { cursor: pointer; color: #7C89A6; }
.is-demo .step-tag span { background: #AFC6F2; }
.is-demo .hero__phone.is-active .step-tag { color: var(--c-ink-hero); }
.is-demo .hero__phone.is-active .step-tag span { background: var(--c-primary); animation: pulse-dot 1.3s ease-out 2; }
.is-demo .hero__phone.is-active .step-tag__bar { opacity: 1; animation: progress var(--demo-step) linear forwards; }
.is-demo.is-paused .step-tag__bar { animation-play-state: paused; }
.is-demo .hero__phone.is-active .phone { translate: 0 -10px; box-shadow: 0 30px 50px rgba(0, 16, 63, .34); }

/* ---------- muncul saat di-scroll (kelas is-in dari landing.js) ---------- */
.js-anim [data-reveal] {
    --reveal-delay: calc(min(var(--i, 0), 6) * 70ms);
    opacity: 0; translate: 0 16px;
    /* transform & box-shadow tetap ikut supaya efek hover kartu tidak kehilangan transisinya */
    transition: opacity .6s var(--ease-out) var(--reveal-delay), translate .6s var(--ease-out) var(--reveal-delay),
        transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.js-anim [data-reveal].is-in { opacity: 1; translate: 0 0; }
/* ikon kartu meletup kecil setelah kartunya muncul */
.js-anim [data-reveal].is-in > .tile, .js-anim .step.is-in .tile { animation: tile-pop .5s calc(var(--reveal-delay) + .25s) var(--ease-out) both; }
/* angka besar di Cara pakai ikut naik */
.js-anim .step .step__num { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease-out) calc(var(--reveal-delay) + .15s), translate .8s var(--ease-out) calc(var(--reveal-delay) + .15s); }
.js-anim .step.is-in .step__num { opacity: 1; translate: 0 0; }

/* ---------- navbar: bayangan saat di-scroll dan menu aktif (scrollspy) ---------- */
.nav { transition: box-shadow .3s; }
.nav.is-scrolled { box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
.nav__links a { position: relative; }
.nav__links a.is-active { color: var(--c-primary); }
@media (min-width: 901px) {
    .nav__links a::after {
        content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px;
        background: var(--c-primary); scale: 0 1; transition: scale .3s var(--ease-out);
    }
    .nav__links a.is-active::after { scale: 1 1; }
}

/* ---------- kartu: angkat saat hover (perangkat dengan mouse) ---------- */
@media (hover: hover) {
    .card, .step__card { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
    .grid > .card:hover, .step__card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, .08); }
    .grid > .card .tile, .step__card .tile { transition: transform .3s var(--ease-out); }
    .grid > .card:hover .tile, .step__card:hover .tile { transform: scale(1.08) rotate(-4deg); }
}

/* ---------- ulasan: bintang terisi ---------- */
.js-anim .rating-pill .stars { clip-path: inset(0 100% 0 0); transition: clip-path .9s .25s var(--ease-out); }
.js-anim .rating-pill.is-in .stars { clip-path: inset(0 0 0 0); }

/* ---------- harga: perhatian sekali saat kartu terlihat ---------- */
.js-anim .pricing__card.is-in .plan.is-selected { animation: glow 1.4s .6s ease-out 1; }
.plan .badge { position: relative; overflow: hidden; }
.js-anim .pricing__card.is-in .plan .badge::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
    animation: shimmer .9s 1s ease-in-out 1 forwards;
}
.js-anim .pricing__card.is-in .btn--block { animation: pulse-btn 1.6s 1.3s ease-out 2; }

/* ---------- FAQ: jawaban dibuka/ditutup mulus (tinggi dianimasikan landing.js) ---------- */
.faq__answer.is-animating { overflow: hidden; }

/* ---------- WhatsApp mengambang dan gelembung ajakan ---------- */
.js-anim .wa-float { animation: pop .5s 1s var(--ease-out) both; }
.wa-bubble {
    position: fixed; right: 96px; bottom: 30px; z-index: 60; display: flex; align-items: flex-start; gap: 6px;
    max-width: 260px; padding: 12px 10px 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--c-line);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .14);
}
.wa-bubble[hidden] { display: none; }
.wa-bubble::after {
    content: ''; position: absolute; right: -7px; bottom: 18px; width: 12px; height: 12px; background: #fff;
    border-right: 1px solid var(--c-line); border-top: 1px solid var(--c-line); rotate: 45deg;
}
.wa-bubble.is-shown { animation: bubble-in .35s var(--ease-out); }
.wa-bubble__text { font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--c-ink); }
.wa-bubble__text:hover { color: var(--c-whatsapp-dark); }
.wa-bubble__close {
    flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -2px; padding: 0;
    border: 0; border-radius: 50%; background: #F1F5F9; color: var(--c-muted); font-size: 12px; cursor: pointer;
}
.wa-bubble__close .ic { transform: rotate(45deg); }
.wa-bubble__close:hover { background: #E2E8F0; color: var(--c-ink); }
@media (max-width: 760px) {
    .wa-bubble { right: 78px; bottom: 20px; max-width: calc(100vw - 100px); padding: 10px 8px 10px 12px; }
    .wa-bubble__text { font-size: 13px; }
    .wa-bubble::after { bottom: 16px; }
}

/* ---------- kurangi gerakan: semua tampil diam ---------- */
@media (prefers-reduced-motion: reduce) {
    [data-reveal], .step__num { opacity: 1 !important; translate: none !important; }
    .rating-pill .stars { clip-path: none !important; }
    .hero__phone .phone { translate: none !important; }
}

/* ---------- panduan & tutorial (video, PDF, tautan) ---------- */
.guide { color: inherit; }
.guide .card__title { transition: color .2s; }
.guide:hover .card__title { color: var(--c-primary); }
.guide__thumb {
    position: relative; display: block; margin: -28px -28px 4px; aspect-ratio: 16 / 9; overflow: hidden;
    border-radius: var(--radius-card) var(--radius-card) 0 0; background: #0F172A;
}
.guide__thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s var(--ease-out, ease); }
.guide:hover .guide__thumb img { scale: 1.04; }
.guide__play {
    position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--c-primary);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .25); transition: scale .25s var(--ease-out, ease), background-color .25s;
}
.guide__play svg { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.guide:hover .guide__play { scale: 1.08; background: #fff; }
.guide__type { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-primary); }
.guide__cta { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--c-primary); }

/* jendela video */
.video-modal {
    width: min(960px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 16px;
    background: #000; overflow: visible; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.video-modal::backdrop { background: rgba(15, 23, 42, .82); backdrop-filter: blur(3px); }
.video-modal[open] { animation: dl-in .2s ease-out; }
.video-modal__frame { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; }
.video-modal__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-modal__close {
    position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%;
    display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: #fff; font-size: 20px; cursor: pointer;
}
.video-modal__close .ic { transform: rotate(45deg); }
.video-modal__close:hover { background: rgba(255, 255, 255, .28); }

@media (max-width: 760px) {
    /* kartu panduan tetap bertumpuk (bukan versi ringkas ikon-kiri) */
    .grid > .card.guide { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
    .grid > .card.guide > .tile { width: 44px; height: 44px; }
    .guide__thumb { margin: -16px -18px 6px; }
    .guide__play { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
    .video-modal { width: calc(100% - 16px); border-radius: 12px; }
    .video-modal__frame { border-radius: 12px; }
}
