:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --text: #0f172a;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 34px rgba(15, 23, 42, 0.10);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }

.container { width: min(1120px, 92%); margin-inline: auto; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar.scrolled { background: rgba(255,255,255,0.82); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); width: min(1400px, 96%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { color: var(--text); }
.brand-line { display: block; line-height: 1.15; }
.navbar:not(.scrolled) .brand-text { color: #fff; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.85); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(37,99,235,0.08); }
.navbar:not(.scrolled) .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.15); }

.nav-cta { padding: 10px 18px; font-size: 0.88rem; }
.navbar:not(.scrolled) .nav-cta { box-shadow: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.navbar:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

/* ---------- Subpage hero ---------- */
.sub-hero { background: var(--grad); color: #fff; padding: calc(var(--nav-h) + 32px) 0 64px; }
.sub-hero .wrap { display: flex; align-items: center; gap: 36px; }
.sub-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 14px 0 12px; }
.sub-hero p { color: rgba(255,255,255,0.85); max-width: 620px; font-size: 1.05rem; }
.sub-hero .hero-icon {
  flex-shrink: 0; display: grid; place-items: center; width: 88px; height: 88px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 24px; font-size: 2.6rem; backdrop-filter: blur(8px);
}
.crumbs { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.crumbs a { color: rgba(255,255,255,0.9); }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(37,99,235,0.08);
  color: var(--primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.section-head p { color: var(--text-muted); margin-top: 12px; }

/* Intro: gambar + teks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split-text h3 { font-size: 1.5rem; margin-bottom: 14px; }
.split-text p { color: var(--text-muted); margin-bottom: 12px; }
.split-text ul { display: grid; gap: 10px; margin-top: 14px; }
.split-text li { position: relative; padding-left: 30px; color: #334155; font-weight: 500; }
.split-text li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; color: #fff;
  background: var(--grad); border-radius: 6px;
}
.split-visual {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid #eef2f7; background: #fff; padding: 8px;
}
.split-visual img { border-radius: 14px; }

/* Feature sub-cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mini-card {
  background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius); padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mini-card .m-ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; font-size: 1.3rem;
  background: rgba(37,99,235,0.08); margin-bottom: 14px;
}
.mini-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.mini-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Org people (KKPB, Dasawisma) */
.org-person { text-align: center; }
.org-person .org-avatar {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px;
  background: var(--grad); border-radius: 50%; font-size: 1.5rem; color: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.org-person .org-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Steps */
.steps { display: grid; gap: 18px; max-width: 760px; margin-inline: auto; }
.step {
  display: flex; gap: 20px; background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius); padding: 22px 24px;
}
.step-num {
  flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.05rem; box-shadow: var(--shadow-sm);
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* Callout */
.callout {
  background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius); padding: 28px;
  border-left: 5px solid var(--primary); box-shadow: var(--shadow-sm);
  display: flex; gap: 18px; align-items: flex-start;
}
.callout .c-ico { font-size: 1.6rem; }
.callout h4 { margin-bottom: 6px; }
.callout p { color: var(--text-muted); font-size: 0.93rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(140deg, #101a33 0%, #1e1b4b 100%); color: #fff;
  padding: 56px 0; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
}
.cta-band::before { width: 300px; height: 300px; background: #2563eb; top: -120px; left: -80px; }
.cta-band::after { width: 300px; height: 300px; background: #7c3aed; bottom: -120px; right: -60px; }
.cta-band .inner { text-align: center; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 26px; }
.cta-band .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer; border: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(37,99,235,0.35); }
.btn-light { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* Footer */
.footer { background: #0b1220; color: #94a3b8; padding: 56px 0 0; }
.footer .brand-text { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: #60a5fa; }
.footer-col p { font-size: 0.88rem; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; text-align: center; font-size: 0.85rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .sub-hero .wrap { flex-direction: column; text-align: center; }
  .sub-hero p { margin-inline: auto; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; bottom: 0; left: 0; z-index: 99;
    flex-direction: column; align-items: center; padding: 32px 24px; gap: 8px;
    background: #ffffff; backdrop-filter: blur(16px); box-shadow: 0 12px 40px rgba(15,23,42,0.12); border-top: 1px solid #e2e8f0;
    transform: translateY(-120%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 0.35s ease, opacity 0.25s ease, visibility 0.35s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { color: var(--text) !important; font-size: 1.05rem; padding: 12px 20px; border-radius: 10px; transition: background 0.2s, color 0.2s; }
  .nav-links a:hover { background: rgba(37,99,235,0.10) !important; color: #2563eb !important; }
  .nav-links #nav-cta { display: inline-flex; margin-top: 16px; width: min(280px, 85%); justify-content: center; }
  .nav-links a.active { background: linear-gradient(135deg,#2563eb 0%, #7c3aed 100%) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(37,99,235,0.25); }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

.scroll-top{position:fixed;right:24px;bottom:24px;z-index:90;width:42px;height:42px;border-radius:50%;border:none;cursor:pointer;display:grid;place-items:center;font-size:1.35rem;color:#fff;background:linear-gradient(135deg,#2563eb,#1e40af);box-shadow:0 8px 24px rgba(37,99,235,.35);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .3s ease,transform .3s ease,visibility .3s}
.scroll-top.visible{opacity:1;visibility:visible;transform:none}
.scroll-top:hover{transform:translateY(-3px)}
