@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #eef4f8;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.7);
  --text: #183147;
  --muted: #577389;
  --line: rgba(24, 49, 71, 0.11);
  --blue-700: #0f84c7;
  --blue-800: #0b6294;
  --blue-900: #103a5b;
  --gold: #d8a23a;
  --gold-soft: rgba(216, 162, 58, 0.14);
  --shadow: 0 24px 60px rgba(16, 58, 91, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(15, 132, 199, 0.18), transparent 26%),
    radial-gradient(circle at left 20% top 24%, rgba(216, 162, 58, 0.12), transparent 18%),
    linear-gradient(180deg, #f7fbfe 0%, var(--bg) 100%);
  line-height: 1.72;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(12, 72, 110, 0.92), rgba(8, 33, 52, 0.78));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(216, 162, 58, 0.65), rgba(255, 255, 255, 0.08));
}

.site-header-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(5, 26, 42, 0.22);
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-copy strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-copy span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.top-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.top-nav a.current {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.hero {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 28px auto 0;
  padding: 42px;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(140deg, var(--blue-800) 0%, var(--blue-700) 58%, #1ea0da 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px 24px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 66%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.8fr);
  gap: 28px;
  align-items: end;
}

.hero-copy {
  min-width: 0;
}

.hero-home {
  padding: 50px 42px;
}

.hero-home .hero-grid {
  gap: 34px;
  align-items: center;
}

.hero-home .hero-copy {
  padding: 8px 0 12px;
}

.hero-home .hero-copy p {
  max-width: 680px;
}

.hero-home .hero-sidecard {
  max-width: 320px;
  justify-self: end;
  align-self: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.lang-button.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.language-switch + h1 {
  margin-top: 16px;
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 760px;
}

.hero p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.04rem, 2.5vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-sidecard {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-sidecard-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: block;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 30px rgba(7, 31, 48, 0.2);
}

.hero-sidecard-label {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-sidecard-title {
  display: block;
  margin-top: 8px;
  font-size: 1.48rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-sidecard-copy {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.58;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 31, 48, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
}

.page-section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 28px auto 0;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card.soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.card h2 {
  font-size: 2rem;
}

.card h3 {
  font-size: 1.32rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue-800);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), #c47f16);
  box-shadow: 0 0 0 6px var(--gold-soft);
}

.muted {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(180deg, var(--blue-700), #0f78b5);
  box-shadow: 0 14px 32px rgba(15, 132, 199, 0.22);
}

.button.secondary {
  color: var(--blue-900);
  background: rgba(15, 132, 199, 0.1);
  border: 1px solid rgba(15, 132, 199, 0.14);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.doc-header {
  width: min(calc(100% - 32px), 980px);
  margin: 28px auto 0;
}

.doc-shell {
  width: min(calc(100% - 32px), 980px);
  margin: 20px auto 56px;
  display: grid;
  gap: 18px;
}

.doc-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 30px;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.doc-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 132, 199, 0.08);
  border: 1px solid rgba(15, 132, 199, 0.12);
  color: var(--blue-900);
  font-weight: 600;
}

.language-nav,
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-nav a,
.toc a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--blue-900);
  background: rgba(15, 132, 199, 0.08);
  border: 1px solid rgba(15, 132, 199, 0.12);
}

.doc-language {
  padding-top: 8px;
}

.doc-language + .doc-language {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.doc-language h2 {
  margin: 0 0 16px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.doc-language h3 {
  margin: 28px 0 10px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.doc-language ol,
.doc-language ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.doc-language li + li {
  margin-top: 8px;
}

.doc-language p {
  margin: 0 0 14px;
}

.note-box {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(15, 132, 199, 0.08), rgba(216, 162, 58, 0.08));
  border: 1px solid rgba(15, 132, 199, 0.1);
}

.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto 40px;
  padding: 24px 0 0;
  color: var(--muted);
}

.site-footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}

.small {
  font-size: 0.96rem;
}

body[data-home-lang="id"] [data-home-copy="en"] {
  display: none !important;
}

body[data-home-lang="en"] [data-home-copy="id"] {
  display: none !important;
}

@media (max-width: 980px) {
  .grid.cards-3 {
    grid-template-columns: 1fr;
  }

  .site-header-inner,
  .hero,
  .page-section,
  .site-footer,
  .doc-header,
  .doc-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 30px 22px;
    border-radius: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-home {
    padding: 32px 22px;
  }

  .hero-home .hero-copy {
    padding: 0;
  }

  .hero-home .hero-sidecard {
    max-width: none;
    justify-self: stretch;
  }

  .language-switch {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .card,
  .doc-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .brand-copy strong {
    font-size: 1.35rem;
  }
}
