/* ============================================================
   CatatUangmu — Landing page
   Layout: hero navy dengan mockup chat + dashboard, lalu section
   terang (putih / soft green) bergantian, ditutup CTA deep green.
   ============================================================ */
:root {
  --emerald: #159B65;
  --emerald-600: #11865A;
  --deep: #0B5138;
  --navy: #0B1720;
  --navy-2: #12232F;
  --mint: #E9F8F0;
  --soft: #F3FAF6;
  --white: #FFFFFF;
  --yellow: #F5D77A;
  --yellow-logo: #FFCC1A;
  --ink: #172B25;
  --muted: #718078;
  --line: #E2EEE7;
  --red: #E0574F;
  --logo-dark: #0B4A2C;
  --logo-mu: #2BA80C;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 32, .06), 0 2px 8px rgba(11, 23, 32, .04);
  --shadow: 0 10px 30px -12px rgba(11, 23, 32, .18), 0 2px 6px rgba(11, 23, 32, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 23, 32, .45);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 15px 24px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--emerald); color: #fff; box-shadow: 0 10px 24px -10px rgba(21, 155, 101, .8); }
.btn--primary:hover { background: var(--emerald-600); box-shadow: 0 14px 28px -10px rgba(21, 155, 101, .85); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(245, 215, 122, .7); }
.btn--yellow:hover { background: #F8E08F; }
.btn .ic { width: 18px; height: 18px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 38px; height: 38px; }
.logo__word { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--logo-dark); position: relative; }
.logo__word span { color: var(--logo-dark); }
.logo__word em { font-style: normal; color: var(--logo-mu); }
.logo__word::after { content: ""; position: absolute; left: 24%; right: 30%; bottom: -5px; height: 3px; border-radius: 3px; background: var(--logo-mu); transform: rotate(-1.2deg); opacity: .9; }
.logo--light .logo__word, .logo--light .logo__word span { color: #fff; }
.logo--light .logo__word em { color: #5BD43A; }
.logo--light .logo__word::after { background: #5BD43A; }

/* ---------- Navigasi ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; padding-top: env(safe-area-inset-top, 0px); }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 23, 32, .4); }
.nav__in { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.nav__toggle .ic { width: 22px; height: 22px; }
.nav__menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; display: flex; flex-direction: column; gap: 4px; padding: 12px var(--gutter) 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(11, 23, 32, .35); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .22s ease, opacity .22s ease, visibility 0s .22s; }
.nav__menu.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .22s ease, opacity .22s ease; }
.nav__menu a:not(.btn) { padding: 12px 6px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav__cta { margin-top: 12px; }

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu { position: static; flex-direction: row; align-items: center; gap: 6px; padding: 0; background: none; border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible; }
  .nav__menu a:not(.btn) { border: 0; padding: 8px 12px; border-radius: 10px; font-size: 15px; color: #3C4F48; transition: background .15s, color .15s; }
  .nav__menu a:not(.btn):hover { background: var(--soft); color: var(--deep); }
  .nav__cta { margin: 0 0 0 10px; padding: 10px 18px; }
}

/* ---------- Umum section ---------- */
.section { padding-block: 72px; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #fff; }
.head { max-width: 680px; margin: 0 auto 40px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--emerald); }
.eyebrow--light { color: #6FDCAA; }
h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; }
.lead { color: var(--muted); font-size: 17px; max-width: 60ch; }
.section--navy .lead { color: #A9BBB4; }
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .section { padding-block: 104px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; min-width: 0; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #123A2E 0%, var(--navy) 55%); color: #fff; padding-block: 48px 72px; }
.hero__glow { position: absolute; width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle, rgba(21, 155, 101, .35), transparent 65%); filter: blur(10px); pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 52px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #B9F2D5; background: rgba(21, 155, 101, .16); border: 1px solid rgba(111, 220, 170, .28); }
.badge .ic { width: 16px; height: 16px; color: var(--yellow); }
.hero h1 { font-size: clamp(36px, 6.4vw, 60px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 span { display: block; background: linear-gradient(90deg, #6FDCAA, var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 18px; color: #B8C8C1; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #93A8A0; }
.hero__note .ic { width: 18px; height: 18px; color: #6FDCAA; }
.hero__visual { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; min-width: 0; }

@media (min-width: 1000px) {
  .hero { padding-block: 72px 110px; }
  .hero__in { grid-template-columns: 1.05fr 1fr; gap: 40px; }
}

/* ---------- Ponsel / chat ---------- */
.phone { width: min(330px, 100%); background: #fff; border-radius: 34px; padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); position: relative; z-index: 2; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--soft); border-radius: 26px 26px 10px 10px; color: var(--ink); }
.phone__avatar { width: 36px; height: 36px; background: #fff; border-radius: 50%; padding: 5px; box-shadow: var(--shadow-sm); }
.phone__bar strong { display: block; font-size: 15px; line-height: 1.2; }
.phone__bar small { color: var(--muted); font-size: 12px; }
.phone__chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 10px; min-height: 300px; background: linear-gradient(180deg, #F6FBF8, #EEF6F1); border-radius: 10px; }
.phone__input { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 14px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 14px; }
.phone__input .ic { color: var(--emerald); }
.msg { position: relative; max-width: 86%; padding: 9px 12px 18px; border-radius: 16px; font-size: 14px; line-height: 1.45; color: var(--ink); box-shadow: 0 1px 1px rgba(11, 23, 32, .06); }
.msg--user { align-self: flex-end; background: #D7F5E4; border-bottom-right-radius: 5px; }
.msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; }
.msg__ok { display: flex; align-items: center; gap: 6px; color: var(--deep); margin-bottom: 2px; }
.msg__ok .ic { width: 16px; height: 16px; color: var(--emerald); stroke-width: 2.6; }
.msg__meta { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.msg__time { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: #8EA39B; }
.msg--typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #A7BDB4; animation: blink 1.2s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Kartu mengambang di hero ---------- */
.float-card { position: absolute; z-index: 3; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .6); }
.float-card--saldo { left: 0; top: 64px; width: 200px; animation: float 6s ease-in-out infinite; }
.float-card--dash { right: -6px; bottom: -14px; width: 220px; animation: float 7s ease-in-out infinite reverse; }
.fc__label { font-size: 12px; color: var(--muted); font-weight: 600; }
.fc__value { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.fc__row { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); padding-top: 4px; }
.fc__row b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }
.fc__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; font-weight: 700; margin-bottom: 8px; }
.fc__head small { color: var(--muted); font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot--in { background: var(--emerald); }
.dot--out { background: var(--red); }
.dot--1 { background: var(--emerald); }
.dot--2 { background: var(--yellow); }
.dot--3 { background: #7CC6A6; }
.mini-donut { display: flex; align-items: center; gap: 14px; }
.mini-donut svg { width: 76px; height: 76px; transform: rotate(-90deg); }
.mini-donut circle { fill: none; stroke-width: 6; }
.d-bg { stroke: var(--mint); }
.d1 { stroke: var(--emerald); }
.d2 { stroke: var(--yellow); }
.d3 { stroke: #7CC6A6; }
.mini-donut ul { list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--muted); display: grid; gap: 4px; }
.mini-donut li { display: flex; align-items: center; gap: 6px; }
.sample-tag { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #7E968D; white-space: nowrap; }
.sample-tag--inline { position: static; transform: none; margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--deep); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 560px) {
  .float-card--saldo { top: auto; bottom: 12px; left: -4px; width: 180px; padding: 12px 14px; }
  .float-card--dash { display: none; }
  .fc__value { font-size: 19px; }
}
@media (min-width: 561px) {
  .hero__visual { justify-content: flex-end; padding-right: 28px; }
}
@media (min-width: 561px) and (max-width: 999px) {
  .hero__visual { max-width: 580px; margin: 0 auto; width: 100%; }
}

/* ---------- Masalah ---------- */
.problem__art { height: 120px; border-radius: 18px; background: var(--soft); margin-bottom: 20px; position: relative; display: grid; place-items: center; overflow: hidden; }
.problem__art .ic { width: 40px; height: 40px; color: var(--deep); stroke-width: 1.6; position: relative; z-index: 1; }
.problem__art--1 span { position: absolute; width: 46px; height: 28px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.problem__art--1 span::after { content: "Rp"; position: absolute; left: 8px; top: 4px; font-size: 11px; font-weight: 800; color: var(--emerald); }
.problem__art--1 span:nth-child(1) { left: 18%; top: 22%; transform: rotate(-14deg); }
.problem__art--1 span:nth-child(2) { right: 16%; top: 18%; transform: rotate(10deg); }
.problem__art--1 span:nth-child(3) { right: 26%; bottom: 14%; transform: rotate(-6deg); }
.problem__art--2 { background: linear-gradient(135deg, #FFF7E0, var(--soft)); }
.problem__art--2 .ic { color: #B7891F; }
.problem__art--3 { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 10px; }
.problem__art--3 span { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px dashed #A9CDBB; font-size: 13px; font-weight: 700; color: var(--deep); }
.problem__art--3 span:nth-child(2) { transform: translateY(-14px); }
.problem__art--3 span:nth-child(3) { transform: translateY(10px); }
.bridge { margin-top: 40px; text-align: center; font-size: clamp(19px, 2.6vw, 24px); font-weight: 700; color: var(--deep); }

/* ---------- Solusi ---------- */
.solution { display: grid; gap: 40px; align-items: center; }
.solution__copy { display: flex; flex-direction: column; gap: 16px; }
.ticks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 18px; }
.ticks li { display: flex; gap: 14px; color: var(--muted); font-size: 15px; }
.ticks b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.tick { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--emerald); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.flow { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0; }
.flow__step { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: center; padding: 6px 0; }
.flow__step b { font-size: 16px; }
.flow__step small { grid-column: 2; color: var(--muted); font-size: 14px; }
.flow__ic { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mint); color: var(--deep); }
.flow__ic .ic { width: 24px; height: 24px; }
.flow__ic--ai { background: linear-gradient(135deg, var(--emerald), var(--deep)); color: #fff; box-shadow: 0 10px 20px -10px rgba(21, 155, 101, .9); }
.flow__line { display: block; width: 2px; height: 26px; margin-left: 25px; background: repeating-linear-gradient(180deg, #9FD6BC 0 5px, transparent 5px 10px); }
@media (min-width: 1000px) { .solution { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Fitur ---------- */
.feature { display: flex; flex-direction: column; }
.feature__ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint), #DDF2E7); color: var(--deep); margin-bottom: 18px; }
.feature__ic .ic { width: 24px; height: 24px; }
.feature > p { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { padding: 6px 11px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--deep); }
.chips--wallet span { padding: 5px 10px; font-size: 12.5px; }
.wave { margin-top: 18px; display: flex; align-items: center; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #D7F5E4; height: 48px; }
.wave i { width: 4px; border-radius: 2px; background: var(--deep); opacity: .75; animation: wave 1.4s ease-in-out infinite; }
.wave i:nth-child(odd) { height: 40%; } .wave i:nth-child(even) { height: 75%; } .wave i:nth-child(3n) { height: 100%; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; } .wave i:nth-child(6) { animation-delay: .5s; } .wave i:nth-child(7) { animation-delay: .6s; } .wave i:nth-child(8) { animation-delay: .7s; }
.wave span { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--deep); }
@keyframes wave { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
.receipt { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #FFFDF6; border: 1px dashed #E5D7A8; font-size: 12.5px; display: grid; gap: 3px; font-variant-numeric: tabular-nums; }
.receipt b { text-align: center; letter-spacing: .1em; font-size: 11.5px; color: var(--ink); margin-bottom: 2px; }
.receipt span { display: flex; justify-content: space-between; color: var(--muted); }
.receipt i { font-style: normal; color: var(--ink); }
.receipt__total { border-top: 1px dashed #E5D7A8; padding-top: 4px; font-weight: 800; color: var(--ink) !important; }
.debt, .budget { margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--soft); display: grid; gap: 8px; font-size: 13px; }
.debt span, .budget span { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); }
.debt small { color: var(--muted); font-size: 12px; }
.bar { height: 8px; border-radius: 99px; background: #DCEEE4; overflow: hidden; min-width: 60px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--emerald), #39C487); }
.bar--warn i { background: linear-gradient(90deg, #E5B23A, var(--yellow)); }

/* ---------- Demo chat ---------- */
.demo { display: grid; gap: 44px; align-items: center; }
.demo__copy { display: flex; flex-direction: column; gap: 16px; }
.demo__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.demo__tabs button { padding: 11px 18px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #D4E2DC; font-weight: 700; font-size: 15px; transition: background .15s, border-color .15s, color .15s; }
.demo__tabs button:hover { border-color: rgba(255, 255, 255, .4); }
.demo__tabs button[aria-selected="true"] { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.demo__hint { color: #8FA59C; font-size: 14px; }
.phone--demo { margin: 0 auto; }
.phone--demo .phone__chat { min-height: 340px; }
.msg.is-new { animation: pop .35s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.saldo-list { display: grid; gap: 2px; margin-top: 4px; font-size: 13px; font-variant-numeric: tabular-nums; }
.saldo-list span { display: flex; justify-content: space-between; gap: 18px; }
@media (min-width: 1000px) { .demo { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Dashboard / sheet ---------- */
.sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.sheet__top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFDFC; flex-wrap: wrap; }
.sheet__dots { display: flex; gap: 6px; }
.sheet__dots i { width: 10px; height: 10px; border-radius: 50%; background: #DDE7E2; }
.sheet__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.sheet__title .ic { color: var(--emerald); width: 18px; height: 18px; }
.sheet__body { padding: 18px; background: var(--soft); min-height: 360px; }
.sheet__panel { animation: pop .3s ease both; }
.sheet__tabs { display: flex; gap: 2px; padding: 0 10px; border-top: 1px solid var(--line); background: #F4F7F6; overflow-x: auto; scrollbar-width: none; }
.sheet__tabs::-webkit-scrollbar { display: none; }
.sheet__tabs button { flex: none; padding: 11px 16px; border: 0; background: none; font-weight: 600; font-size: 14px; color: var(--muted); border-top: 3px solid transparent; }
.sheet__tabs button:hover { color: var(--deep); }
.sheet__tabs button[aria-selected="true"] { color: var(--deep); background: #fff; border-top-color: var(--emerald); }
.kpis { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 14px; }
.kpi { background: #fff; border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line); }
.kpi span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi--dark { background: var(--deep); border-color: var(--deep); color: #fff; }
.kpi--dark span { color: #A8D8C2; }
.t-in { color: var(--emerald); }
.t-out { color: var(--red); }
.dash-grid { display: grid; gap: 12px; }
.dcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-width: 0; }
.dcard__head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.dcard__head small { color: var(--muted); font-weight: 600; font-size: 12px; }
.bars { width: 100%; height: auto; display: block; }
.grid-l line { stroke: #EDF3F0; stroke-width: 1; }
.b-in rect { fill: var(--emerald); }
.b-out rect { fill: #F09A94; }
.lbl text { font-size: 9.5px; fill: var(--muted); text-anchor: middle; font-family: var(--font); }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cats li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; align-items: center; }
.cats li .bar { grid-column: 1 / -1; grid-row: 2; }
.cats b { font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tx { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.tx th { text-align: left; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tx td { padding: 10px; border-bottom: 1px solid #F0F5F2; }
.tx tr:last-child td { border-bottom: 0; }
.tx .num { text-align: right; font-variant-numeric: tabular-nums; }
.tx--grid { background: #fff; border-radius: 14px; overflow: hidden; }
.tx--grid thead th { background: var(--deep); color: #fff; border: 0; }
.tx--grid td .bar { width: 120px; }
.pill { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill--ok { background: var(--mint); color: var(--deep); }
.pill--warn { background: #FFF2CF; color: #8A6513; }
.sheet-points { margin-top: 28px; }
.point { display: flex; gap: 14px; padding: 6px; color: var(--muted); font-size: 14.5px; }
.point .ic { width: 26px; height: 26px; color: var(--emerald); margin-top: 2px; }
.point b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
@media (min-width: 720px) {
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .dash-grid { grid-template-columns: 1.3fr 1fr; }
  .dcard--wide { grid-column: 1 / -1; }
  .sheet__body { padding: 22px; }
}

/* ---------- Cara kerja ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.step__num { position: absolute; right: 22px; top: 18px; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; color: var(--mint); line-height: 1; }
.step__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--emerald); color: #fff; margin-bottom: 18px; box-shadow: 0 12px 22px -12px rgba(21, 155, 101, .9); }
.step__ic .ic { width: 24px; height: 24px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step p b { color: var(--ink); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -22px; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, #9FD6BC 0 5px, transparent 5px 10px); }
}

/* ---------- Harga ---------- */
.pricing { display: grid; gap: 36px; align-items: center; }
.pricing__copy { display: flex; flex-direction: column; gap: 14px; }
.price-card { background: #fff; border-radius: 28px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--emerald), var(--yellow)); }
.price-card__top { display: flex; align-items: center; gap: 14px; }
.price-card__mark { width: 48px; height: 48px; padding: 6px; border-radius: 14px; background: var(--soft); }
.price-card h3 { font-size: 20px; }
.price-card__top small { color: var(--muted); font-size: 14px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 24px 0 20px; }
.price__old { color: var(--muted); text-decoration: line-through; font-size: 18px; font-weight: 600; }
.price__now { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price__save { padding: 5px 11px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: 13px; font-weight: 800; }
.price__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.price__list li { display: flex; gap: 10px; font-size: 15px; }
.price__list .ic { color: var(--emerald); stroke-width: 2.6; margin-top: 2px; }
.price__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.price__note .ic { width: 16px; height: 16px; }
@media (min-width: 1000px) { .pricing { grid-template-columns: 1fr 460px; gap: 64px; } }

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.qa[open] { border-color: #BFE3D1; box-shadow: var(--shadow-sm); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16px; cursor: pointer; border-radius: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa__ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--deep); transition: transform .25s ease, background .2s; }
.qa__ic .ic { width: 18px; height: 18px; }
.qa[open] .qa__ic { transform: rotate(45deg); background: var(--mint); }
.qa__a { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }
.qa__a a { color: var(--emerald); font-weight: 700; }
.qa__a b { color: var(--ink); }

/* ---------- CTA penutup ---------- */
.final { background: radial-gradient(90% 120% at 50% 0%, #11724F 0%, var(--deep) 55%, #083A28 100%); color: #fff; padding-block: 84px; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 440px; height: 440px; left: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 215, 122, .18), transparent 65%); }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final h2 { max-width: 18ch; }
.final p { color: #C3E3D5; max-width: 52ch; font-size: 17px; }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #A9BBB4; padding-top: 56px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer__in { display: grid; gap: 32px; padding-bottom: 36px; }
.footer__brand p { margin-top: 12px; font-size: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__nav a, .footer__contact a { text-decoration: none; color: #C7D6D0; font-size: 15px; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: grid; gap: 10px; align-content: start; }
.footer__contact b { color: #fff; font-size: 15px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 20px; font-size: 13px; color: #7F948C; }
@media (min-width: 900px) { .footer__in { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; } .footer__nav { flex-direction: column; } }

/* ---------- Animasi masuk ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (min-width: 1000px) and (max-width: 1199px) {
  .float-card--saldo { top: auto; bottom: 34px; left: 0; }
}
