:root {
  --blue-500: #2f6feb;
  --blue-600: #1e4fc2;
  --blue-100: #eaf1fe;
  --ink: #14213d;
  --ink-soft: #4a5672;
  --ink-mute: #9aa6c0;
  --surface: #f6f8fc;
  --line: #e3e8f2;
  --gutter: 96px;
  --section-y: 120px;
  --radius-card: 28px;
  --max: 1440px;
  --nav-h: 104px;
  --nav-gap: 72px;
  --duration-fast: 250ms;
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

.icon { flex-shrink: 0; fill: currentColor; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible {
  outline: 3px solid #7fa8ff;
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(149deg, #3b7ef2 18%, #2459d6 82%);
  border-radius: 0 0 48px 48px;
  padding-top: calc(var(--nav-h) + var(--nav-gap));
  padding-bottom: 96px;
  isolation: isolate;
}

.bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 1.6px, transparent 2px);
  background-size: 28px 28px;
  background-position: 0 0;
  -webkit-mask-image: radial-gradient(ellipse 936px 698px at 78% 35%, rgba(0, 0, 0, 0.32), transparent);
  mask-image: radial-gradient(ellipse 936px 698px at 78% 35%, rgba(0, 0, 0, 0.32), transparent);
}
.bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid #fff;
}
.bg-ring.r1 { width: 520px; height: 520px; right: 70px; top: 140px; opacity: 0.18; }
.bg-ring.r2 { width: 820px; height: 820px; right: -80px; top: -10px; opacity: 0.12; }
.bg-ring.r3 { width: 1120px; height: 1120px; right: -230px; top: -160px; opacity: 0.08; }
.bg-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  left: -300px;
  top: -400px;
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(111, 163, 255, 0.35), rgba(111, 163, 255, 0));
}

/* Nav */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.25s, box-shadow 0.25s;
}
.nav-bar.is-scrolled {
  background: rgba(36, 89, 214, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(11, 42, 122, 0.25);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  transition: padding-block 0.25s;
}
.nav-bar.is-scrolled .nav { padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.brand-name { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 0.5px; line-height: 1.2; }
.brand-sub { color: rgba(255, 255, 255, 0.7); font-size: 12px; line-height: 1.3; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 10px 18px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.nav-link.is-active { color: #fff; font-weight: 700; background: rgba(255, 255, 255, 0.15); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-login { padding: 12px 26px; background: #fff; color: var(--blue-600); font-size: 15px; }
.btn-login:hover { background: #eef3ff; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before,
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero content */
.hero {
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.eyebrow-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
}

.headline {
  width: 100%;
  color: #fff;
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  text-wrap: balance;
}
.lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.6;
  max-width: 62ch;
}

.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 8px; }
.btn-primary {
  padding: 18px 30px;
  background: #fff;
  color: var(--blue-600);
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(11, 42, 122, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11, 42, 122, 0.3); }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary {
  padding: 18px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.facts {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 624px;
  margin-top: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.fact-value { color: #fff; font-size: 30px; font-weight: 800; line-height: 1.2; }
.fact-caption { margin-top: 4px; color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.4; }

.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 560px;
  aspect-ratio: 560 / 600;
}
.hero-photo {
  position: absolute;
  left: 7.143%;
  top: 0;
  width: 92.857%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  outline: 6px solid rgba(255, 255, 255, 0.3);
  outline-offset: -3px;
}
.float-card {
  position: absolute;
  left: 0;
  top: 73.333%;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(300px, 80%);
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(11, 42, 122, 0.25);
}
.float-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-500);
}
.float-title { color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.3; }
.float-sub { margin-top: 2px; color: var(--ink-soft); font-size: 13px; line-height: 1.4; }

/* ---------- Tugas ---------- */
.tugas { padding-block: var(--section-y) 112px; }
.section-header {
  display: flex;
  align-items: flex-end;
  gap: 80px;
  margin-bottom: 64px;
}
.section-header .left { flex: 1 1 0; min-width: 0; }
.kicker { color: var(--blue-500); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.section-title {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  text-wrap: balance;
}
.section-intro { flex-shrink: 0; width: 480px; max-width: 100%; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius-card);
  background: var(--surface);
  transition:
    transform var(--duration-fast) var(--ease-smooth-out),
    box-shadow var(--duration-fast) var(--ease-smooth-out),
    background-color var(--duration-fast) var(--ease-smooth-out);
}
.role:hover,
.role:focus-within { transform: translateY(-4px); background: var(--blue-500); box-shadow: 0 18px 40px rgba(47, 111, 235, 0.3); }
.role-top { display: flex; align-items: center; justify-content: space-between; }
.role-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  color: var(--blue-500);
  transition:
    background-color var(--duration-fast) var(--ease-smooth-out),
    color var(--duration-fast) var(--ease-smooth-out);
}
.role-num { color: var(--ink-mute); font-size: 15px; font-weight: 700; transition: color var(--duration-fast) var(--ease-smooth-out); }
.role-title { font-size: 23px; font-weight: 800; line-height: 1.25; color: var(--ink); transition: color var(--duration-fast) var(--ease-smooth-out); }
.role-desc { margin-top: 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; transition: color var(--duration-fast) var(--ease-smooth-out); }
.role-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  transition: border-color var(--duration-fast) var(--ease-smooth-out);
}
.role-list li { display: flex; gap: 12px; color: var(--ink); font-size: 15px; line-height: 1.55; transition: color var(--duration-fast) var(--ease-smooth-out); }
.role-list .icon { margin-top: 1px; color: var(--blue-500); transition: color var(--duration-fast) var(--ease-smooth-out); }
.role:is(:hover, :focus-within) .role-icon { background: rgba(255, 255, 255, 0.15); color: #fff; }
.role:is(:hover, :focus-within) .role-num { color: rgba(255, 255, 255, 0.65); }
.role:is(:hover, :focus-within) .role-title { color: #fff; }
.role:is(:hover, :focus-within) .role-desc { color: rgba(255, 255, 255, 0.85); }
.role:is(:hover, :focus-within) .role-list { border-top-color: rgba(255, 255, 255, 0.2); }
.role:is(:hover, :focus-within) .role-list li,
.role:is(:hover, :focus-within) .role-list .icon { color: #fff; }

/* ---------- Regulasi ---------- */
.regulasi-wrap { padding-inline: 48px; max-width: var(--max); margin-inline: auto; }
.regulasi {
  display: flex;
  gap: 72px;
  padding: 88px 48px;
  border-radius: 40px;
  background: var(--ink);
}
.reg-header { flex-shrink: 0; width: 400px; }
.reg-header .kicker { color: #7fa8ff; }
.reg-header .section-title { margin-top: 18px; color: #fff; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.16; }
.reg-desc { margin-top: 18px; color: #b9c3d9; font-size: 16px; line-height: 1.65; }
.reg-list { flex: 1 1 0; min-width: 0; align-self: center; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.reg-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.reg-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.reg-text { flex: 1 1 0; min-width: 0; }
.reg-title { color: #fff; font-size: 20px; font-weight: 700; line-height: 1.3; }
.reg-sub { margin-top: 6px; color: #b9c3d9; font-size: 15px; line-height: 1.5; }
.btn-view {
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.btn-view:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

/* ---------- CTA ---------- */
.cta { padding-block: var(--section-y); text-align: center; }
.cta .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta .section-title { margin-top: 0; max-width: 960px; }
.cta-desc { max-width: 560px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.btn-cta {
  padding: 18px 32px;
  background: var(--blue-500);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 14px 30px rgba(47, 111, 235, 0.3);
}
.btn-cta:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-cta:active { transform: scale(0.97); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-block: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.copyright { color: var(--ink-soft); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  :root { --gutter: 56px; }
  .hero { gap: 48px; }
  .hero-visual { width: 480px; }
  .section-header { gap: 48px; }
  .regulasi { gap: 48px; padding-inline: 40px; }
  .reg-header { width: 340px; }
}

@media (max-width: 1080px) {
  :root { --gutter: 40px; --section-y: 96px; }
  :root { --nav-gap: 48px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 8px);
    z-index: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 48px rgba(11, 42, 122, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 14px 18px; color: var(--ink-soft); font-size: 16px; }
  .nav-link:hover { color: var(--blue-600); background: var(--blue-100); }
  .nav-link.is-active { color: var(--blue-600); background: var(--blue-100); }

  .hero { flex-direction: column; align-items: stretch; gap: 56px; }
  .hero-copy { align-items: flex-start; }
  .hero-visual { width: min(560px, 100%); margin-inline: auto; }
  .hero-wrap { padding-bottom: 72px; border-radius: 0 0 40px 40px; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 48px; }
  .section-intro { width: 100%; max-width: 62ch; }
  .tugas { padding-bottom: 96px; }
  .roles { grid-template-columns: 1fr; }

  .regulasi-wrap { padding-inline: 24px; }
  .regulasi { flex-direction: column; gap: 40px; padding: 64px 40px; }
  .reg-header { width: 100%; max-width: 560px; }
  .reg-list { align-self: stretch; width: 100%; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --section-y: 72px; --radius-card: 24px; }
  :root { --nav-h: 72px; --nav-gap: 32px; }
  .nav { padding-block: 16px; }
  .nav-bar.is-scrolled .nav { padding-block: 10px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 16px; }
  .btn-login { padding: 10px 18px; font-size: 14px; }
  .nav-links { top: calc(100% - 4px); }

  .hero-wrap { padding-bottom: 56px; border-radius: 0 0 28px 28px; }
  .hero { gap: 40px; }
  .hero-copy { gap: 22px; }
  .eyebrow { font-size: 13px; padding-right: 14px; }
  .lead { font-size: 16px; }
  .ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; padding-block: 16px; }
  .facts { gap: 12px; padding-top: 22px; }
  .fact { flex: 1 1 0; min-width: 0; }
  .fact-value { font-size: 24px; }
  .fact-caption { font-size: 12.5px; }
  .hero-photo { border-radius: 24px; }
  .float-card { top: auto; bottom: -20px; padding: 14px; gap: 12px; width: min(280px, 86%); border-radius: 18px; }
  .hero-visual { margin-bottom: 20px; }
  .bg-ring.r1 { width: 320px; height: 320px; right: -60px; top: 80px; }
  .bg-ring.r2 { width: 520px; height: 520px; right: -160px; top: -20px; }
  .bg-ring.r3 { width: 760px; height: 760px; right: -300px; top: -120px; }
  .bg-glow { width: 560px; height: 560px; left: -200px; top: -240px; }

  .tugas { padding-bottom: 72px; }
  .section-intro { font-size: 16px; }
  .role { padding: 28px 24px; gap: 20px; }
  .role-title { font-size: 21px; }

  .regulasi-wrap { padding-inline: 12px; }
  .regulasi { padding: 48px 24px; border-radius: 28px; }
  .reg-item { flex-wrap: wrap; gap: 16px; padding-block: 24px; }
  .reg-icon { width: 48px; height: 48px; border-radius: 14px; }
  .reg-text { flex-basis: calc(100% - 64px); }
  .reg-title { font-size: 18px; }
  .btn-view { margin-left: 64px; }

  .cta .container { gap: 20px; }
  .cta-desc { font-size: 16px; }
  .btn-cta { width: 100%; }

  .footer .container { flex-direction: column; align-items: flex-start; padding-block: 28px; }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
  .facts { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { transition: none !important; }
  .role:hover, .role:focus-within { transform: none; }
}
