/* REKAVAN — Landing page. Hijau khas REKAVAN + putih + abu netral.
   Dimuat hanya oleh index.html, di-scope ke body.page-landing. Tanpa logika. */
html { scroll-behavior: smooth; }
body.page-landing { background: #fff; --line: #e3ebe7; --sh: 0 1px 2px rgba(7, 50, 43, 0.04), 0 14px 32px -18px rgba(7, 50, 43, 0.2); overflow-x: hidden; }
.page-landing main section[id] { scroll-margin-top: 84px; }
.page-landing .btn-lg { min-height: 52px; padding: 13px 24px; border-radius: 16px; font-size: 15.5px; font-weight: 800; }
.page-landing .btn { transition: transform 0.15s, box-shadow 0.25s, background 0.2s, filter 0.2s; }
.page-landing .btn-primary { background: linear-gradient(135deg, var(--g), var(--g-2)); color: #05361f; box-shadow: 0 14px 26px -12px rgba(30, 190, 90, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.page-landing .btn-primary:hover:not([disabled]) { transform: translateY(-1px); filter: saturate(1.08); }

/* ---------- Navbar ---------- */
.l-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border-bottom: 1px solid transparent; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; padding-top: env(safe-area-inset-top); }
.l-nav.scrolled, .l-nav.open { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(7, 50, 43, 0.45); background: rgba(255, 255, 255, 0.94); }
.l-nav-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 16px; min-height: 64px; }
.l-brand { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; font-weight: 800; font-size: 15px; letter-spacing: -0.01em; color: var(--night); }
.l-brand img { flex: none; }
.l-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-brand.light { color: #fff; flex: none; }
.l-links { display: none; gap: 4px; }
.l-links a { padding: 8px 13px; border-radius: 10px; font-weight: 700; font-size: 14px; color: #53675f; transition: background 0.2s, color 0.2s; }
.l-links a:hover { background: #eef6f1; color: var(--deep); }
.l-cta { display: flex; gap: 8px; flex: none; }
.l-cta .btn-ghost { display: none; }
.l-burger { flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 13px; background: #fff; display: grid; place-content: center; gap: 4.5px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background 0.2s; }
.l-burger:active { background: #f1f6f3; }
.l-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--night); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s; }
.l-nav.open .l-burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.l-nav.open .l-burger i:nth-child(2) { opacity: 0; }
.l-nav.open .l-burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.l-menu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.l-menu > nav { width: 100%; box-sizing: border-box; overflow: hidden; display: grid; gap: 2px; padding: 0 16px; max-width: 1120px; margin: 0 auto; min-height: 0; }
.l-nav.open .l-menu { grid-template-rows: 1fr; }
.l-nav.open .l-menu > nav { padding-bottom: 14px; }
.l-menu a { padding: 13px 14px; border-radius: 12px; font-weight: 700; color: #33463f; }
.l-menu a:active { background: #eef6f1; }
.l-menu .l-menu-login { margin-top: 6px; text-align: center; border: 1px solid var(--line); color: var(--deep); font-weight: 800; }
@media (min-width: 861px) {
  .l-brand { flex: none; margin-right: 18px; font-size: 16.5px; }
  .l-links { display: flex; flex: 1; }
  .l-cta .btn-ghost { display: inline-flex; }
  .l-burger, .l-menu { display: none; }
  .l-nav-in { padding-inline: 24px; }
}

/* ---------- Hero ---------- */
.l-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(70% 90% at 90% 0%, #14876a 0%, var(--deep) 42%, var(--night) 100%); }
.l-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); pointer-events: none; }
.l-hero-in { position: relative; max-width: 1120px; margin: 0 auto; padding: 40px 16px 56px; display: grid; gap: 40px; align-items: center; }
.l-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: #c9f3dc; font-size: 12.5px; font-weight: 800; letter-spacing: 0.03em; }
.l-badge .ic { color: #5be08f; }
.l-hero h1 { font-family: var(--font); font-size: clamp(32px, 8.6vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin: 18px 0 14px; max-width: 16ch; }
.l-sub { color: #c4e8d6; font-size: 16.5px; max-width: 46ch; line-height: 1.6; }
.l-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.l-hero-cta .btn { flex: 1 1 150px; }
.l-hero .btn-white { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.l-hero .btn-white:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }
.l-note { margin-top: 16px; font-size: 13.5px; color: #9fd6ba; }
.l-note b { color: #fff; font-weight: 800; }

/* Mockup ponsel (ilustrasi) */
.l-visual { position: relative; display: grid; justify-items: center; padding-bottom: 6px; }
.l-phone { position: relative; width: min(290px, 78vw); border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #0f3f37, #062a25); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 40px 70px -28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.l-notch { position: absolute; top: 16px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%); border-radius: 12px; background: #062a25; z-index: 2; }
.l-screen { border-radius: 31px; background: #f1f5f3; color: var(--ink); padding: 40px 12px 14px; display: grid; gap: 10px; min-height: 420px; align-content: start; }
.l-s-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.l-s-top b { flex: 1; font-weight: 800; }
.l-s-logo { display: grid; }
.l-s-bell { width: 28px; height: 28px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--deep); }
.l-s-bal { border-radius: 18px; padding: 14px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #25c866 0%, var(--deep) 58%, var(--night) 100%); }
.l-s-bal small { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #c4f0d8; }
.l-s-bal > b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 10px; }
.l-s-bal div { display: flex; gap: 6px; }
.l-s-bal i { flex: 1; font-style: normal; text-align: center; font-size: 10.5px; font-weight: 800; padding: 7px 4px; border-radius: 10px; background: #fff; color: var(--deep); }
.l-s-bal i.g { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }
.l-s-live { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 11px 12px; display: grid; gap: 6px; }
.l-s-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--mut); font-weight: 700; }
.l-s-row.end { align-items: flex-end; }
.l-s-row b { font-size: 19px; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
.l-s-live .live { font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.l-s-live .progress { height: 8px; }
.l-s-item { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 10px; }
.l-s-item > div { flex: 1; min-width: 0; }
.l-s-item b { display: block; font-size: 12px; font-weight: 800; }
.l-s-item small { display: block; font-size: 10.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-s-item .badge { font-size: 10px; padding: 2px 8px; }
.l-s-ic { width: 28px; height: 28px; border-radius: 9px; background: var(--soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.l-float { position: absolute; display: none; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 14px; background: #fff; color: var(--deep); font-size: 12.5px; font-weight: 800; box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.5); }
.l-float .ic { color: var(--g-2); }
.l-float.f1 { left: 0; top: 22%; animation: lFloat 6s ease-in-out infinite; }
.l-float.f2 { right: 0; bottom: 20%; animation: lFloat 6s ease-in-out -3s infinite; }
@keyframes lFloat { 50% { transform: translateY(-8px); } }
.l-cap { margin-top: 14px; font-size: 12px; color: #8fc7aa; text-align: center; }
@media (min-width: 560px) { .l-float { display: inline-flex; } .l-visual { padding-inline: 40px; } }
@media (min-width: 900px) {
  .l-hero-in { grid-template-columns: 1.1fr 0.9fr; padding: 72px 24px 84px; gap: 48px; }
  .l-hero-cta .btn { flex: 0 1 auto; }
  .l-visual { padding-inline: 0; }
  .l-float.f1 { left: -6px; }
  .l-float.f2 { right: -6px; }
}

/* ---------- Seksi umum ---------- */
.l-sec { max-width: 1120px; margin: 0 auto; padding: 64px 16px 0; }
.l-head { max-width: 62ch; margin-bottom: 30px; }
.l-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); background: var(--soft); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.l-eyebrow.light { background: rgba(255, 255, 255, 0.12); color: #c9f3dc; }
.l-head h2, .l-trans-h h2 { font-family: var(--font); font-size: clamp(25px, 5.4vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.l-head p, .l-trans-h p { color: var(--mut); margin-top: 10px; font-size: 15.5px; }
.l-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh); }
.l-grid3 { display: grid; gap: 14px; }
.l-ico { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--soft); color: var(--teal); }
.l-ico.sm { width: 40px; height: 40px; border-radius: 13px; }
.l-ico.dark { background: rgba(255, 255, 255, 0.1); color: #5be08f; border: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 640px) { .l-grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .l-grid3 { grid-template-columns: repeat(3, 1fr); } .l-sec { padding: 92px 24px 0; } }

/* Keunggulan */
.l-feat { padding: 24px; display: grid; gap: 8px; align-content: start; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, border-color 0.25s; }
.l-feat .l-ico { margin-bottom: 8px; }
.l-feat h3, .l-step h3, .l-trans h3, .l-example h3 { font-family: var(--font); font-size: 17px; font-weight: 800; letter-spacing: -0.015em; }
.l-feat p, .l-step p { color: var(--mut); font-size: 14.5px; line-height: 1.6; }
@media (hover: hover) { .l-feat:hover { transform: translateY(-4px); border-color: #c9e4d6; box-shadow: 0 22px 40px -22px rgba(7, 94, 84, 0.35); } }

/* Cara kerja */
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.l-step { position: relative; padding: 24px; border-radius: 22px; background: linear-gradient(180deg, #f7fbf9, #fff); border: 1px solid var(--line); display: grid; gap: 8px; }
.l-step .l-ico { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); margin-bottom: 6px; }
.l-num { position: absolute; top: 20px; right: 22px; font-family: var(--font); font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #bfe3cf; }
@media (min-width: 640px) { .l-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .l-steps { grid-template-columns: repeat(4, 1fr); } .l-step:not(:last-child)::after { content: ""; position: absolute; top: 47px; right: -15px; width: 16px; height: 2px; background: repeating-linear-gradient(90deg, #a9d8c0 0 4px, transparent 4px 8px); } }

/* Fitur platform */
.plat { gap: 10px; }
.l-plat { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: #f7fbf9; border: 1px solid var(--line); transition: transform 0.25s, background 0.25s, border-color 0.25s; }
.l-plat .l-ico { background: #fff; border: 1px solid var(--line); }
.l-plat b { display: block; font-size: 15px; font-weight: 800; }
.l-plat span:not(.l-ico) { display: block; font-size: 13px; color: var(--mut); }
@media (hover: hover) { .l-plat:hover { transform: translateY(-2px); background: #fff; border-color: #c9e4d6; } }
.l-trans-wrap { margin-top: 28px; border-radius: 26px; padding: 26px 18px; background: radial-gradient(90% 120% at 100% 0%, #0f7a5c 0%, var(--deep) 45%, var(--night) 100%); color: #fff; display: grid; gap: 16px; }
.l-trans-h h2 { color: #fff; font-size: clamp(22px, 4.6vw, 30px); }
.l-trans-h p { color: #b9ead0; }
.l-trans { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); }
.l-trans h3 { font-size: 15.5px; color: #fff; }
.l-trans p { color: #b9ead0; font-size: 13.5px; margin-top: 3px; line-height: 1.55; }
@media (min-width: 900px) { .l-trans-wrap { grid-template-columns: repeat(3, 1fr); padding: 36px; gap: 18px; } .l-trans-h { grid-column: 1 / -1; } .l-trans { flex-direction: column; } }

/* Reward */
.l-pricing { display: grid; gap: 14px; }
.l-reward { position: relative; overflow: hidden; border-radius: 24px; padding: 28px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #25c866 0%, var(--deep) 55%, var(--night) 100%); box-shadow: 0 24px 48px -26px rgba(7, 94, 84, 0.85); }
.l-reward::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, 0.07); }
.l-reward p { color: #c4f0d8; font-weight: 600; position: relative; z-index: 1; }
.l-big { font-family: var(--font); font-size: clamp(46px, 12vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: 6px 0 10px; position: relative; z-index: 1; font-variant-numeric: tabular-nums; }
.l-fine { font-size: 13px !important; font-weight: 500 !important; opacity: 0.9; }
.l-fine.dark { color: var(--mut) !important; opacity: 1; margin: 6px 0 12px; line-height: 1.55; }
.l-example { padding: 24px; }
.l-example .kv > div { padding: 11px 0; align-items: center; }
.l-example .kv b { font-family: var(--font); font-weight: 800; font-variant-numeric: tabular-nums; }
@media (min-width: 820px) { .l-pricing { grid-template-columns: 1fr 1.1fr; } .l-reward, .l-example { padding: 32px; } }

/* FAQ */
.l-faq { display: grid; gap: 10px; max-width: 820px; }
.l-faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; transition: border-color 0.2s, box-shadow 0.2s; }
.l-faq details[open] { border-color: #bfe3cf; box-shadow: var(--sh); }
.l-faq summary { cursor: pointer; font-weight: 800; padding: 18px 28px 18px 0; list-style: none; position: relative; min-height: 44px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform 0.25s; }
.l-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.l-faq details p { padding: 0 0 18px; color: var(--mut); font-size: 14.5px; line-height: 1.65; }

/* CTA */
.l-cta-sec { padding-bottom: 0; }
.l-cta-card { position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: 44px 22px; color: #fff; background: radial-gradient(90% 130% at 50% 0%, #1a9a6f 0%, var(--deep) 50%, var(--night) 100%); box-shadow: 0 30px 60px -30px rgba(7, 94, 84, 0.9); }
.l-cta-card::before, .l-cta-card::after { content: ""; position: absolute; border-radius: 50%; border: 26px solid rgba(255, 255, 255, 0.05); pointer-events: none; }
.l-cta-card::before { width: 220px; height: 220px; left: -70px; bottom: -90px; }
.l-cta-card::after { width: 180px; height: 180px; right: -50px; top: -70px; }
.l-cta-card h2 { position: relative; font-family: var(--font); font-size: clamp(26px, 6vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.l-cta-card p { position: relative; color: #c4e8d6; max-width: 52ch; margin: 12px auto 0; font-size: 15.5px; }
.l-cta-btns { position: relative; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.l-cta-btns .btn { flex: 1 1 160px; max-width: 240px; }
.page-landing .btn-white-solid { background: #fff; color: var(--deep); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.6); }
.page-landing .btn-white-solid:hover { transform: translateY(-1px); background: #f1faf5; }
.page-landing .btn-glass { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.page-landing .btn-glass:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }

/* Footer */
.l-foot { margin-top: 72px; background: var(--night); color: #9cc4b6; }
.l-foot-in { max-width: 1120px; margin: 0 auto; padding: 44px 16px 28px; display: grid; gap: 30px; }
.l-foot-brand p { margin-top: 14px; max-width: 42ch; font-size: 14px; line-height: 1.65; }
.l-foot-col { display: grid; gap: 4px; align-content: start; }
.l-foot-col h4 { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6fa491; }
.l-foot-col a { padding: 5px 0; font-size: 14px; color: #cfeedf; transition: color 0.2s; width: fit-content; }
.l-foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.l-foot-bot { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.l-foot-bot p { max-width: 1120px; margin: 0 auto; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); font-size: 13px; color: #7fb09d; }
@media (min-width: 760px) { .l-foot-in { grid-template-columns: 1.6fr 1fr 1fr; padding: 56px 24px 36px; } .l-foot-bot p { padding-inline: 24px; } .l-cta-card { padding: 64px 40px; } }

/* Animasi muncul (hanya aktif bila JS + IntersectionObserver tersedia) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease var(--d, 0ms), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; }
.l-feat[data-reveal].in { transition: opacity 0.6s ease var(--d, 0ms), transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, border-color 0.25s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .l-float { animation: none !important; } }
@media (max-width: 380px) { .l-hero-in { padding-inline: 14px; } .l-sec { padding-inline: 14px; } .l-step, .l-feat { padding: 20px; } }
