/* =========================
   1. RESET & COLOR THEME
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: dark;

  --bg: #090d1b;
  --surface: #11182b;
  --surface-alt: #18233c;
  --surface-hover: #202f4e;

  --text: #f4f7ff;
  --text-muted: #bdc8dc;

  --primary: #8b5cf6;
  --primary-dark: #6d3be0;
  --cyan: #40e0d0;
  --border: #293653;

  --radius: 16px;
  --content-width: 1050px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(
      ellipse at top left,
      rgba(87, 64, 180, 0.18),
      transparent 42%
    ),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

a:hover {
  color: #a6fff5;
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.space-atas,
.space-bottom {
  display: none;
}

/* =========================
   2. MAIN CONTAINER
========================= */
.container {
  width: min(calc(100% - 36px), var(--content-width));
  margin: 32px auto;
}

/* =========================
   3. HEADER & LOGO
========================= */
.head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 150px;
  padding: 26px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(64, 224, 208, 0.15),
      transparent 35%
    ),
    linear-gradient(135deg, #25194e, #11182b 65%, #102e46);

  border: 1px solid #493b7b;
  border-radius: 22px 22px 8px 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
}

.head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 3px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--cyan),
    var(--primary),
    transparent
  );
}

.head .logo {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
}

.head .logo img {
  width: auto;
  max-width: 100%;
  max-height: 105px;
  object-fit: contain;
}

/* =========================
   4. NAVIGATION MENU
========================= */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;

  margin: 14px 0;
  padding: 12px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 9px 17px;

  color: var(--text-muted);
  background: var(--surface-alt);

  border: 1px solid #303e5d;
  border-radius: 9px;

  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: #07151b;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 4px 15px rgba(64, 224, 208, 0.12);
  text-decoration: none;
}

/* =========================
   5. CONTACT PANEL
========================= */
.contact-box {
  width: min(100%, 480px);
  margin: 20px auto;
  padding: 14px 18px;

  color: var(--text);
  background: linear-gradient(
    120deg,
    rgba(139, 92, 246, 0.14),
    rgba(64, 224, 208, 0.06)
  );

  border: 1px solid #44396e;
  border-radius: 12px;

  text-align: center;
}

.contact-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.contact-box a {
  color: var(--cyan);
  font-weight: 650;
}

/* =========================
   6. CONTENT PANEL
========================= */
.content {
  width: 100%;
  padding: 32px;

  background: linear-gradient(
    145deg,
    rgba(24, 35, 60, 0.98),
    rgba(15, 22, 40, 0.98)
  );

  border: 1px solid var(--border);
  border-radius: var(--radius);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.content article {
  width: 100%;
  min-width: 0;
}

.content p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.content p a {
  color: var(--cyan);
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: rgba(64, 224, 208, 0.35);
  text-underline-offset: 3px;
}

.content p a:hover {
  text-decoration-color: var(--cyan);
}

.content ol,
.content ul {
  margin: 0 0 24px;
  padding: 18px 22px 18px 42px;

  color: var(--text-muted);
  background: rgba(7, 12, 26, 0.45);

  border: 1px solid var(--border);
  border-radius: 12px;
}

.content li {
  margin-bottom: 9px;
  padding-left: 4px;
}

.content li:last-child {
  margin-bottom: 0;
}

.content li::marker {
  color: var(--cyan);
}

/* =========================
   7. HEADING STYLES
========================= */
.content h1 {
  margin: 0 0 26px;
  padding: 0 0 22px;

  color: #fff;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.7px;
  text-align: center;

  border-bottom: 1px solid var(--border);
}

.title-head {
  color: #fff;
  text-decoration: none;
  text-wrap: balance;
}

.title-head:hover {
  color: var(--cyan);
  text-decoration: none;
}

.content h2 {
  position: relative;

  margin: 34px 0 18px;
  padding: 0 0 12px 16px;

  color: #f4f0ff;
  font-size: clamp(20px, 2.5vw, 25px);
  font-weight: 750;
  line-height: 1.45;

  border-bottom: 1px solid #303d5c;
}

.content h2::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 14px;
  left: 0;

  width: 4px;

  background: linear-gradient(
    180deg,
    var(--cyan),
    var(--primary)
  );

  border-radius: 4px;
}

.content h3 {
  margin: 26px 0 12px;
  color: #d7caff;
  font-size: 19px;
  line-height: 1.45;
}

/* =========================
   8. TABLE STYLES
========================= */
.table-container {
  width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

table th {
  color: #fff;
  background: linear-gradient(100deg, #5536a5, #294b7a);
  font-weight: 700;
  white-space: nowrap;
}

table td {
  color: var(--text-muted);
  background: var(--surface);
}

table tr:nth-child(even) td {
  background: var(--surface-alt);
}

table tr:last-child td {
  border-bottom: 0;
}

.lassres {
  width: 100%;
  margin: 20px auto;
  overflow-x: auto;
}

.lassres table {
  width: 100%;
}

.t1,
.t2,
.t3 {
  padding: 10px;
  color: var(--text);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 14px;
}

.t1 {
  width: 40%;
}

.t2,
.t3 {
  width: 30%;
}

.kepala {
  color: #fff;
  background: linear-gradient(100deg, #5536a5, #294b7a);
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

/* =========================
   9. ACCESSIBILITY
========================= */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;

  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;

  border: 0;
}

/* =========================
   10. FOOTER
========================= */
.footer_container {
  width: 100%;
  margin-top: 22px;
  padding: 22px 16px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;

  text-align: center;
}

.footer_container p {
  margin: 0;
  color: #9ba9c3;
  font-size: 13px;
}

/* =========================
   11. TABLET
========================= */
@media (max-width: 768px) {
  .container {
    width: 100%;
    margin: 0 auto;
  }

  .head {
    min-height: 115px;
    padding: 20px 14px;
    border-radius: 0;
  }

  .head .logo img {
    max-height: 85px;
  }

  .menu {
    gap: 8px;
    margin: 10px;
    padding: 10px;
  }

  .menu a {
    flex: 1 1 calc(50% - 8px);
    padding: 10px;
    font-size: 14px;
  }

  .contact-box {
    width: calc(100% - 24px);
    margin: 14px auto;
  }

  .content {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .content h1 {
    font-size: 28px;
  }
}

/* =========================
   12. MOBILE
========================= */
@media (max-width: 480px) {
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  .head {
    min-height: 95px;
    padding: 15px 10px;
  }

  .head .logo img {
    max-height: 70px;
  }

  .menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .menu a {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 6px;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .contact-box {
    padding: 12px;
  }

  .content {
    padding: 22px 15px;
    border-radius: 10px;
  }

  .content h1 {
    margin-bottom: 22px;
    padding-bottom: 18px;
    font-size: 24px;
    letter-spacing: -0.3px;
  }

  .content h2 {
    margin-top: 28px;
    font-size: 20px;
  }

  .content h3 {
    font-size: 17px;
  }

  .content p {
    font-size: 15px;
    line-height: 1.8;
  }

  .content ol,
  .content ul {
    padding: 15px 14px 15px 34px;
  }

  table th,
  table td {
    padding: 9px 10px;
    font-size: 13px;
  }

  .footer_container {
    margin-top: 14px;
    padding: 18px 12px;
    border-radius: 0;
  }
}

/* =========================
   13. REDUCE MOTION
========================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
