    :root {
      --primary: #2563eb;
      --primary-dark: #1e40af;
      --bg: #f8fafc;
      --card: #ffffff;
      --text: #0f172a;
      --muted: #64748b;
      --border: #e5e7eb;
      --radius: 14px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }
    /* iOS GLASS */
    .glass {
      background: var(--glass-bg);
      backdrop-filter: blur(22px) saturate(180%);
      -webkit-backdrop-filter: blur(22px) saturate(180%);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      box-shadow: var(--glass-shadow);
    }

    .navbar {
      border-radius: 20px;
      background-color: var(--primary);
      border-bottom: 1px solid var(--primary);
      padding: 16px 24px;
      margin: 5px;
      display: flex;
      box-shadow: #3e79e6c0 0px 8px 24px;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      position: sticky;
      top: 10px;
      z-index: 9999;
    }

#theme-toggle {
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 16px;
  cursor: pointer;
  color: white;
  transition: background .2s ease;
}

#theme-toggle:hover {
  background: rgba(255,255,255,.25);
}

:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;

  --primary: #2563eb;

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 20px 40px rgba(0,0,0,.15);
}

[data-theme="dark"] {
  --bg: #020617;
  --text: #e5e7eb;
  --muted: #94a3b8;

  --primary: #1e40af;

  --glass-bg: rgba(2, 6, 23, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 20px 50px rgba(0,0,0,.6);
}

[data-theme="dark"] .form-box {
  background: rgba(2, 6, 23, 0.75);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);

}

[data-theme="dark"] .form-box input {
  background: rgba(2, 6, 23, 0.6);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] input::placeholder {
  color: white;
}

[data-theme="dark"] .step {
  background: rgba(2, 6, 23, 0.75);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .table-wrap table {
  background: transparent;
  color: #e5e7eb;
}

[data-theme="dark"] .table-wrap th {
  background: rgba(255,255,255,.04);
  color: #e5e7eb;
}

[data-theme="dark"] .table-wrap td {
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

[data-theme="dark"] .table-wrap a {
  color: white !important;
}

[data-theme="dark"] .table-wrap a:hover {
  color: white;
  text-decoration: underline;
}

/* =========================
   PAGINATION – DARK MODE
   ========================= */
[data-theme="dark"] .pagination .page-link {
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(255,255,255,.12);
  color: #e5e7eb;
}

[data-theme="dark"] .pagination .page-link:hover {
  background: rgba(30, 41, 59, 0.9);
}

/* ACTIVE */
[data-theme="dark"] .pagination .page-item.active .page-link {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

/* DISABLED (kalau nanti dipakai) */
[data-theme="dark"] .pagination .page-item.disabled .page-link {
  color: #64748b;
  background: rgba(2, 6, 23, 0.6);
  border-color: rgba(255,255,255,.08);
}

[data-theme="dark"] .pagination .page-link {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body {
  background: var(--bg);
  color: var(--text);
  transition: background .3s ease, color .3s ease;
}
    /* NAVBAR */
    /* .navbar {
      background: var(--card);
      border-bottom: 1px solid var(--border);
      padding: 16px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    } */

    .logo {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.4px;
      color: var(--primary);
    }

    .nav-links a {
      margin-left: 20px;
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      color: var(--muted);
    }

    .nav-links a:hover { color: var(--primary); }

    /* HERO */
    .hero {
      position: relative;
      max-width: 960px;
      margin: 80px auto 60px;
      padding: 0 20px;
      text-align: center;
    }

    .hero h1 {
      font-size: clamp(28px, 5vw, 44px);
      font-weight: 700;
      letter-spacing: -0.8px;
      margin-bottom: 12px;
    }

    .hero p {
      font-size: clamp(14px, 3.5vw, 17px);
      color: var(--muted);
      margin-bottom: 36px;
      min-height: 24px;
    }

    /* FLOATING ICONS */
    .floating-icons {
      position: absolute;
      top: 0;
      left: 50%;
      width: 100vw;
      height: 100%;
      transform: translateX(-50%);
      z-index: -1;
      overflow: hidden;
    }

    .floating-icons span {
      position: absolute;
      font-size: clamp(18px, 4vw, 26px);
      opacity: 0.35;
      animation: floatY linear infinite;
    }

    @keyframes floatY {
      from { transform: translateY(120%); }
      to { transform: translateY(-120%); }
    }

    .form-box {
      background: var(--card);
      padding: 24px;
      border-radius: var(--radius);
      box-shadow: 0 12px 30px rgba(0,0,0,0.06);
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .form-box input {
      width: 260px;
      max-width: 100%;
      padding: 14px 16px;
      border-radius: 10px;
      border: 1px solid var(--border);
      font-size: 14px;
    }

    .form-box button {
      padding: 14px 28px;
      border-radius: 10px;
      border: none;
      background: var(--primary);
      color: white;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      width: 100%;
      max-width: 220px;
    }

    .form-box button:hover { background: var(--primary-dark); }

    /* TABLE */
    .table-wrap {
      max-width: 1000px;
      margin: 90px auto;
      padding: 0 20px;
      overflow-x: auto;
    }

    table {
      width: 100%;
      min-width: 600px;
      border-collapse: collapse;
      background: var(--card);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    }

    th, td {
      padding: 14px;
      border-bottom: 1px solid var(--border);
      font-size: 13px;
      text-align: left;
    }

    th { background: #f1f5f9; font-weight: 600; }

    /* HOW IT WORKS */
    .how {
      max-width: 1000px;
      margin: 100px auto 40px;
      padding: 0 20px;
      text-align: center;
    }

    .how h2 {
      font-size: clamp(22px, 4vw, 32px);
      margin-bottom: 32px;
      letter-spacing: -0.5px;
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    .step {
      background: var(--card);
      padding: 26px 20px;
      border-radius: var(--radius);
      box-shadow: 0 10px 26px rgba(0,0,0,0.06);
      font-size: 15px;
      font-weight: 500;
    }

    .step span {
      display: block;
      font-size: 28px;
      margin-bottom: 12px;
    }

    /* FOOTER */
    footer {
      margin: 100px auto 40px;
      text-align: center;
      font-size: 13px;
      color: var(--muted);
    }

    /* MOBILE ADJUSTMENTS */
    @media (max-width: 640px) {
      .nav-links a { margin-left: 12px; font-size: 13px; }
      .form-box { padding: 18px; }
      .form-box button { max-width: 100%; }
    }


    .api-docs {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.code-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.code-tabs .tab {
  background: rgba(0,0,0,.05);
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}

.code-tabs .tab.active {
  background: #2563eb;
  color: white;
}

[data-theme="dark"] .code-tabs .tab {
  background: rgba(255,255,255,.08);
  color: #e5e7eb;
}

.code-box {
  background: #0d1117; /* VS Code bg */
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  position: relative;
}

[data-theme="light"] .code-box {
  background: #1e1e1e;
}

.code-block {
  display: none;
  margin: 0;
}

.code-block.active {
  display: block;
}

pre[class*="language-"] {
  background: transparent !important;
  font-size: 14px;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}