
    :root {
      --bg: #f0f4ff; --card: #ffffff; --text: #111827; --muted: #6b7280;
      --accent: #2563eb; --accent2: #7c3aed; --border: rgba(0,0,0,0.07);
      --shadow: 0 4px 24px rgba(37,99,235,0.08);
      --glow: 0 0 40px rgba(37,99,235,0.15);
    }
    .dark-mode {
      --bg: #05060f; --card: #0d1025; --text: #e0e7ff; --muted: #818cf8;
      --accent: #818cf8; --accent2: #a8b5ff; --border: rgba(129,140,248,0.1);
      --shadow: 0 4px 32px rgba(129,140,248,0.07);
      --glow: 0 0 60px rgba(129,140,248,0.12);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; -webkit-font-smoothing: antialiased; line-height: 1.6; }

    .topbar { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; background: rgba(255,255,255,0.82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); box-shadow: 0 1px 12px rgba(0,0,0,0.05); }
    .dark-mode .topbar { background: rgba(5,6,15,0.88); }
    .topbar-brand { display: flex; align-items: center; gap: 12px; }
    .topbar-logo { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; color: white; text-align: center; line-height: 1.3; box-shadow: 0 4px 12px rgba(37,99,235,0.35); }
    .topbar-title { font-weight: 700; font-size: 16px; }
    .topbar-sub { font-size: 12px; color: var(--muted); }
    .topbar-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; border: 1px solid var(--border); background: var(--card); transition: all 0.2s; }
    .nav-link:hover { color: var(--accent); border-color: var(--accent); background: rgba(37,99,235,0.05); }
    .theme-btn { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); cursor: pointer; font-size: 16px; line-height: 1; transition: 0.2s; }
    .theme-btn:hover { border-color: var(--accent); }

    .hero { position: relative; overflow: hidden; padding: 72px 32px 56px; text-align: center; background: linear-gradient(160deg, rgba(37,99,235,0.06) 0%, rgba(124,58,237,0.04) 60%, transparent 100%); }
    .hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
    .blob1 { width: 500px; height: 500px; top: -150px; left: -100px; background: rgba(37,99,235,0.07); }
    .blob2 { width: 400px; height: 400px; bottom: -100px; right: -80px; background: rgba(124,58,237,0.07); }
    
    /* BADGE NDA & REPO */
    .hero-badges { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
    .hero-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 16px; border-radius: 999px; background: rgba(37,99,235,0.1); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; border: 1px solid rgba(37,99,235,0.2); }
    .badge-nda { background: rgba(245,158,11,0.1); color: #d97706; border-color: rgba(245,158,11,0.2); }
    .dark-mode .badge-nda { color: #fbbf24; }
    
    .hero h1 { font-size: clamp(26px, 4.5vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
    .hero h1 span { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .hero-desc { max-width: 600px; margin: 0 auto 28px; color: var(--muted); font-size: 16px; line-height: 1.7; }
    
    .page-body { max-width: 1000px; margin: 0 auto; padding: 20px 24px 60px; display: flex; flex-direction: column; gap: 36px; }

    .project-card { background: var(--card); border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.35s, box-shadow 0.35s; }
    .project-card:hover { transform: translateY(-4px); box-shadow: var(--glow); }

    .project-card-head { padding: 28px 32px 0; display: flex; align-items: flex-start; gap: 18px; }
    .project-icon-wrap { width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
    .icon-blue  { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
    .icon-purple{ background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
    .icon-green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
    .dark-mode .icon-blue  { background: rgba(37,99,235,0.2); }
    .dark-mode .icon-purple{ background: rgba(124,58,237,0.2); }
    .dark-mode .icon-green { background: rgba(16,185,129,0.2); }

    .project-meta { flex: 1; }
    .project-category { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
    .cat-blue   { background: rgba(37,99,235,0.1);  color: #2563eb; }
    .cat-purple { background: rgba(124,58,237,0.1); color: #7c3aed; }
    .cat-green  { background: rgba(16,185,129,0.1); color: #059669; }
    .dark-mode .cat-blue   { background: rgba(129,140,248,0.15); color: #818cf8; }
    .dark-mode .cat-purple { background: rgba(167,139,250,0.15); color: #a78bfa; }
    .dark-mode .cat-green  { background: rgba(52,211,153,0.15);  color: #34d399; }
    .project-name { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
    .project-desc { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

    .project-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 20px 32px 0; }
    .tag-chip { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(0,0,0,0.04); border: 1px solid var(--border); color: var(--text); }
    .dark-mode .tag-chip { background: rgba(255,255,255,0.04); }

    /* SYSTEM ARCHITECTURE */
    .sys-arch { padding: 24px 32px 0; }
    .sys-arch-box { background: rgba(37,99,235,0.03); border: 1px dashed rgba(37,99,235,0.3); border-radius: 16px; padding: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
    .arch-item { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; min-width: 80px; }
    .arch-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--accent); box-shadow: var(--shadow); }
    .arch-label { font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; }
    .arch-arrow { color: rgba(37,99,235,0.4); font-size: 14px; }
    @media(max-width: 600px) { .arch-arrow { display: none; } .sys-arch-box { gap: 20px; } }

    /* SCREENSHOT GALLERY */
    .showcase { padding: 24px 32px 0; }
    .showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
    .showcase-img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); cursor: zoom-in; transition: 0.3s; }
    .showcase-img:hover { transform: scale(1.02); box-shadow: var(--shadow); filter: brightness(0.9); }

    /* TAMBAHAN CSS UNTUK LIGHTBOX / POPUP GAMBAR */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.92);
      z-index: 99999;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      opacity: 0;
      pointer-events: none;
      transition: 0.3s;
    }
    .lightbox.show {
      opacity: 1;
      pointer-events: auto;
    }
    .lightbox img {
      max-width: 85%;
      max-height: 85%;
      border-radius: 16px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
      transform: scale(0.8);
      opacity: 0;
      transition: 0.4s;
    }
    .lightbox.show img {
      transform: scale(1);
      opacity: 1;
    }
    .lightbox-close {
      position: absolute;
      top: 24px;
      right: 32px;
      font-size: 36px;
      color: white;
      cursor: pointer;
      opacity: 0.7;
      transition: 0.2s;
    }
    .lightbox-close:hover {
      opacity: 1;
      transform: scale(1.1);
    }

    .project-divider { height: 1px; background: var(--border); margin: 24px 32px 0; }

    .project-highlights { padding: 20px 32px 32px; }
    .highlights-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
    .hl-blue   { color: #2563eb; } .hl-purple { color: #7c3aed; } .hl-green  { color: #059669; }
    .dark-mode .hl-blue { color: #818cf8; } .dark-mode .hl-purple { color: #a78bfa; } .dark-mode .hl-green { color: #34d399; }

    .hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    @media(max-width:768px){ .hl-grid { grid-template-columns: 1fr; } }
    .hl-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 13.5px; transition: 0.2s; }
    .hl-item-blue   { background: rgba(37,99,235,0.03);  border: 1px solid rgba(37,99,235,0.1); }
    .hl-item-purple { background: rgba(124,58,237,0.03); border: 1px solid rgba(124,58,237,0.1); }
    .hl-item-green  { background: rgba(16,185,129,0.03); border: 1px solid rgba(16,185,129,0.1); }
    .hl-item:hover { transform: translateX(4px); }
    .hl-check { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

    .resource-link { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; text-decoration: none; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; font-weight: 700; font-size: 14px; transition: 0.25s; box-shadow: 0 4px 16px rgba(37,99,235,0.3); }
    .resource-link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.4); }

    .page-footer { text-align: center; padding: 24px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }

    body, .topbar, .project-card, .nav-link, .tag-chip, .sys-arch-box, .arch-icon, .hl-item {
    transition: background-color 0.5s ease, background 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, transform 0.3s ease !important;
}