/* FlexV landing — token + chrome (header/footer) bersama untuk semua halaman. */

:root {
  color-scheme: light;
  --landing-shell-bg: #fbf8ff;
  --landing-panel-bg: #ffffff;
  --landing-panel-soft: #fbf6ff;
  --landing-panel-warm: #fffaf4;
  --landing-text: #1c0b2d;
  --landing-muted: #5c4c66;
  --landing-muted-soft: #776b78;
  --landing-border: #dfd0e7;
  --landing-border-warm: #ddd1c4;
  --landing-nav-bg: rgba(255, 255, 255, .54);
  --landing-nav-border: rgba(255, 255, 255, .58);
  --landing-nav-shadow: 0 8px 30px rgba(30, 5, 47, .08);
  --landing-nav-link: rgba(28, 11, 45, .74);
  --landing-nav-control: rgba(28, 11, 45, .64);
  --landing-nav-control-active: #1c0b2d;
  --landing-scrollbar: #d1d5db;
  --landing-scrollbar-hover: #9ca3af;
}
html.dark {
  color-scheme: dark;
  --landing-shell-bg: #171717;
  --landing-panel-bg: #1d1d1d;
  --landing-panel-soft: #1f1f1f;
  --landing-panel-warm: #242424;
  --landing-text: #ececec;
  --landing-muted: #a8adb4;
  --landing-muted-soft: #87898f;
  --landing-border: rgba(255, 255, 255, .08);
  --landing-border-warm: rgba(255, 255, 255, .12);
  --landing-nav-bg: rgba(29, 29, 29, .72);
  --landing-nav-border: rgba(255, 255, 255, .1);
  --landing-nav-shadow: 0 8px 30px rgba(0, 0, 0, .32);
  --landing-nav-link: #d8dce1;
  --landing-nav-control: #b7bcc4;
  --landing-nav-control-active: #f3f4f6;
  --landing-scrollbar: #4b4b4b;
  --landing-scrollbar-hover: #6a6a6a;
}
html { scroll-behavior: smooth; background: var(--landing-shell-bg); scrollbar-color: var(--landing-scrollbar) transparent; }
body { background: var(--landing-shell-bg); color: var(--landing-text); font-family: 'Plus Jakarta Sans', sans-serif; transition: background-color .24s ease, color .24s ease; }
html.dark body.text-ink { color: var(--landing-text); }
::-webkit-scrollbar { width: .75rem; }
::-webkit-scrollbar-thumb { border: 3px solid var(--landing-shell-bg); border-radius: 999px; background: var(--landing-scrollbar); }
::-webkit-scrollbar-thumb:hover { background: var(--landing-scrollbar-hover); }
.font-display { font-family: 'Plus Jakarta Sans', sans-serif; }
.fi { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.fi.v { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.brand-logo { width: 104px; height: auto; display: block; }
html.dark .brand-logo { filter: brightness(0) invert(1); }

/* --- Header ------------------------------------------------------------- */
#nb { color: var(--landing-text); background: var(--landing-nav-bg); border-bottom: 1px solid var(--landing-nav-border); box-shadow: var(--landing-nav-shadow); backdrop-filter: blur(18px) saturate(145%); -webkit-backdrop-filter: blur(18px) saturate(145%); }
#nb .nav-link { color: var(--landing-nav-link); }
#nb .nav-link:hover { color: #FFA600; }
#nb .btn-login { border-color: var(--landing-border-warm); color: var(--landing-text); }
#nb .btn-login:hover { background: var(--landing-panel-soft); border-color: color-mix(in srgb, var(--landing-text) 48%, transparent); }
.help-center-link { align-items: center; justify-content: center; min-height: 2.35rem; box-sizing: border-box; gap: .42rem; border: 1px solid var(--landing-border-warm); border-radius: 999px; padding: .52rem .72rem; color: var(--landing-nav-control); background: color-mix(in srgb, var(--landing-panel-bg) 68%, transparent); font-size: .72rem; font-weight: 700; line-height: 1; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.help-center-link:hover { color: var(--landing-text); border-color: color-mix(in srgb, var(--landing-text) 32%, transparent); background: var(--landing-panel-soft); }
.help-center-link:focus-visible { outline: 2px solid #BF00FF; outline-offset: 2px; }
.help-center-icon { width: .95rem; height: .95rem; flex: none; }
#nb.scrolled { background: var(--landing-nav-bg); border-bottom-color: var(--landing-nav-border); box-shadow: var(--landing-nav-shadow); }
#nb.scrolled .nav-link { color: var(--landing-nav-link); }
#nb.scrolled .nav-link:hover { color: #FFA600; }
#nb.scrolled .btn-login { border-color: var(--landing-border-warm); color: var(--landing-text); }
#nb.scrolled .btn-login:hover { background: var(--landing-panel-soft); }
.language-switcher { display: inline-flex; height: 2.35rem; box-sizing: border-box; align-items: center; gap: .16rem; border: 1px solid var(--landing-border-warm); border-radius: .55rem; padding: .16rem; background: color-mix(in srgb, var(--landing-panel-bg) 68%, transparent); }
.language-button { display: inline-flex; min-width: 2.35rem; height: 1.85rem; box-sizing: border-box; align-items: center; justify-content: center; border-radius: .38rem; padding: 0 .42rem; color: var(--landing-nav-control); font-size: .65rem; font-weight: 800; letter-spacing: .08em; line-height: 1; background: transparent; border: 0; cursor: pointer; transition: background .2s ease, color .2s ease; }
.language-button:hover { color: var(--landing-text); background: var(--landing-panel-soft); }
.language-button.is-active { background: var(--landing-nav-control-active); color: var(--landing-panel-bg); }
.language-button:focus-visible,
.theme-button:focus-visible { outline: 2px solid #BF00FF; outline-offset: 2px; }
.theme-button { display: inline-flex; width: 2.35rem; height: 2.35rem; align-items: center; justify-content: center; border: 1px solid var(--landing-border-warm); border-radius: .55rem; color: var(--landing-nav-control); background: color-mix(in srgb, var(--landing-panel-bg) 68%, transparent); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.theme-button:hover { color: var(--landing-text); background: var(--landing-panel-soft); border-color: color-mix(in srgb, var(--landing-text) 32%, transparent); }
.theme-icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
html.dark .theme-icon-sun { display: none; }
html.dark .theme-icon-moon { display: block; }
#nb .nav-signup { display: inline-flex; align-items: center; justify-content: center; height: 2.35rem; box-sizing: border-box; padding: 0 1.18rem !important; line-height: 1; white-space: nowrap; }
#nb .btn-login { display: inline-flex; align-items: center; justify-content: center; height: 2.35rem; box-sizing: border-box; padding: 0 1.05rem; line-height: 1; white-space: nowrap; }
.nav-signup-full { display: inline; }
.nav-signup-short { display: none; }
@media (max-width: 640px) {
  #nb .mx-auto { padding-left: .75rem; padding-right: .75rem; gap: .5rem; }
  .brand-logo { width: 82px; flex: none; }
  .language-switcher { height: 2rem !important; flex: none; }
  .language-button { min-width: 2rem; height: 1.6rem; font-size: .58rem; padding: 0 .3rem; }
  .theme-button { width: 2rem !important; height: 2rem !important; flex: none; }
  .nav-menu-toggle { width: 2rem !important; height: 2rem !important; flex: none; }
  #nb .nav-signup { height: 2rem !important; padding: 0 .7rem !important; font-size: .7rem !important; }
  #nb .btn-login { height: 2rem !important; padding: 0 .7rem !important; font-size: .7rem !important; }
  .nav-signup-full { display: none !important; }
  .nav-signup-short { display: inline !important; }
}
@media (max-width: 1023px) { .nav-inline-control { display: none !important; } }
.nav-menu-toggle { display: none; width: 2.35rem; height: 2.35rem; align-items: center; justify-content: center; border: 1px solid var(--landing-border-warm); border-radius: .75rem; color: var(--landing-nav-control); background: color-mix(in srgb, var(--landing-panel-bg) 72%, transparent); box-shadow: 0 1px 8px rgba(28,11,45,.06); transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.nav-menu-toggle:hover { background: var(--landing-panel-soft); color: var(--landing-text); border-color: color-mix(in srgb, var(--landing-text) 22%, transparent); box-shadow: 0 4px 16px rgba(28,11,45,.10); transform: translateY(-1px); }
.nav-menu-toggle:active { transform: translateY(0); box-shadow: 0 1px 8px rgba(28,11,45,.06); }
.nav-menu-toggle:focus-visible { outline: 2px solid #BF00FF; outline-offset: 2px; }
.nav-menu-toggle[aria-expanded="true"] { background: var(--landing-nav-control-active); color: var(--landing-panel-bg); border-color: var(--landing-nav-control-active); box-shadow: 0 4px 18px rgba(28,11,45,.18); }
.nav-menu-icon { width: 1.05rem; height: 1.05rem; display: block; flex: none; }
.nav-menu-icon-line { transform-box: fill-box; transform-origin: center; transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .22s ease; }
.nav-menu-icon-line.mid { opacity: .95; }
.nav-menu-toggle[aria-expanded="true"] .nav-menu-icon-line.top { transform: translateY(3.5px) rotate(45deg); }
.nav-menu-toggle[aria-expanded="true"] .nav-menu-icon-line.mid { opacity: 0; transform: scaleX(.45); }
.nav-menu-toggle[aria-expanded="true"] .nav-menu-icon-line.bot { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 1023px) { .nav-menu-toggle { display: inline-flex; } }
#mobile-nav { position: fixed; inset: 0; z-index: 70; pointer-events: none; visibility: hidden; }
#mobile-nav[data-open="true"] { pointer-events: auto; visibility: visible; }
.mobile-nav-scrim { position: absolute; inset: 0; background: rgba(12,4,20,.46); opacity: 0; transition: opacity .3s ease; }
#mobile-nav[data-open="true"] .mobile-nav-scrim { opacity: 1; }
.mobile-nav-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(21.5rem, 88vw); display: flex; flex-direction: column; background: color-mix(in srgb, var(--landing-panel-bg) 97%, transparent); backdrop-filter: blur(18px) saturate(145%); -webkit-backdrop-filter: blur(18px) saturate(145%); box-shadow: -12px 0 40px rgba(28,11,45,.14); border-left: 1px solid var(--landing-nav-border); transform: translateX(100%); visibility: hidden; transition: transform .34s cubic-bezier(.4,0,.2,1), visibility .34s; }
#mobile-nav[data-open="true"] .mobile-nav-panel { transform: translateX(0); visibility: visible; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; flex: none; padding: 1.05rem 1rem; border-bottom: 1px solid var(--landing-nav-border); }
.mobile-nav-head .brand-logo { width: 8rem; }
.mobile-nav-close { display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border: 1px solid var(--landing-border-warm); border-radius: .7rem; color: var(--landing-nav-control); background: color-mix(in srgb, var(--landing-panel-bg) 72%, transparent); cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.mobile-nav-close:hover { color: var(--landing-text); background: var(--landing-panel-soft); border-color: color-mix(in srgb, var(--landing-text) 22%, transparent); }
.mobile-nav-close:focus-visible { outline: 2px solid #BF00FF; outline-offset: 2px; }
.mobile-nav-body { flex: 1 1 auto; overflow-y: auto; padding: 1.1rem 1rem 1.6rem; }
.mobile-nav-inner { display: grid; gap: .2rem; }
.mobile-nav-link { display: flex; align-items: center; gap: .85rem; padding: .78rem .55rem; border-radius: .7rem; color: var(--landing-nav-link); font-size: .95rem; font-weight: 600; }
.mobile-nav-link:hover { color: var(--landing-text); background: var(--landing-panel-soft); }
.mobile-nav-link:focus-visible { outline: 2px solid #BF00FF; outline-offset: 2px; }
.mobile-nav-icon { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.mobile-nav-label { flex: 1; }
.mobile-nav-arrow { color: var(--landing-nav-control); font-size: 1.05rem; line-height: 1; }
.mobile-nav-controls { display: grid; gap: .9rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--landing-nav-border); }
.mobile-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mobile-nav-control-label { color: var(--landing-nav-link); font-size: .85rem; font-weight: 600; }
.mobile-nav-cta { display: grid; gap: .6rem; margin-top: 1.2rem; }
.mobile-nav-scroll { display: inline-flex; align-items: center; justify-content: center; border-radius: .8rem; padding: .78rem 1rem; font-size: .9rem; font-weight: 700; }
.mobile-nav-scroll-login { border: 1px solid var(--landing-border-warm); color: var(--landing-text); }
.mobile-nav-scroll-login:hover { background: var(--landing-panel-soft); }
.mobile-nav-scroll-signup { background: linear-gradient(90deg, #BF00FF, #FFA600); color: #fff; }
.mobile-nav-scroll-signup:hover { transform: translateY(-1px); }
@media (min-width: 640px) { .mobile-nav-head { padding: 1.15rem 1.25rem; } .mobile-nav-body { padding: 1.25rem 1.25rem 1.8rem; } }

/* --- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--landing-border); background: var(--landing-shell-bg); padding: 3rem 0; }
.footer-title { margin-bottom: 1rem; font-size: .875rem; font-weight: 700; color: var(--landing-text); }
.footer-desc { font-size: .875rem; line-height: 1.6; color: var(--landing-muted); }
.footer-list { font-size: .875rem; color: var(--landing-muted); }
.footer-list > li + li { margin-top: .5rem; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid var(--landing-border); padding-top: 1.5rem; font-size: .875rem; color: var(--landing-muted-soft); }
.footer-link { transition: color .2s ease; }
.footer-link:hover { color: #bf00ff; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* --- Konten halaman legal ---------------------------------------------- */
.legal-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #FFA600; }
.legal-section h2 { font-size: 1.35rem; font-weight: 800; line-height: 1.25; margin-bottom: .9rem; }
.legal-section p,
.legal-section ul,
.legal-section ol { color: var(--landing-muted); line-height: 1.75; }
.legal-section li + li { margin-top: .45rem; }
.legal-section strong { color: var(--landing-text); font-weight: 700; }
.legal-section a { color: #bf00ff; }
.legal-section a:hover { text-decoration: underline; }
html.dark .legal-section a { color: #d98cff; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal-table th,
.legal-table td { padding: .8rem .9rem; text-align: left; vertical-align: top; border: 1px solid var(--landing-border); }
.legal-table th { background: var(--landing-panel-soft); color: var(--landing-text); font-weight: 700; }
.legal-table td { color: var(--landing-muted); }
.legal-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  font-size: .875rem;
  font-weight: 700;
  border-radius: .55rem;
  border: 1px solid var(--landing-border-warm);
  background: var(--landing-panel-soft);
  color: var(--landing-text);
  text-decoration: none !important;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.legal-contact-btn:hover {
  background: color-mix(in srgb, var(--landing-panel-bg) 70%, #bf00ff 30%);
  border-color: #bf00ff;
  color: #bf00ff;
  transform: translateY(-1px);
}
html.dark .legal-contact-btn:hover {
  color: #d98cff;
  border-color: #d98cff;
}
.legal-contact-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  color: currentColor;
}
.footer-contact-item {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: .875rem;
}
.footer-contact-item [data-contact-display],
.footer-contact-item [data-contact-email-display] {
  font-weight: 600;
  color: var(--landing-text);
}
.footer-contact-item:hover [data-contact-display],
.footer-contact-item:hover [data-contact-email-display] {
  color: #bf00ff;
}
html.dark .footer-contact-item:hover [data-contact-display],
html.dark .footer-contact-item:hover [data-contact-email-display] {
  color: #d98cff;
}
