/* =============================================================
   nCHAT DESIGN SYSTEM
   Version: 1.0.0
   Last Update: 2026
   =============================================================
   Cara pakai:
   
   1. Simpan file ini di /assets/css/design-system.css
   2. Di setiap halaman HTML, tambahkan di <head>:
   
      <link rel="stylesheet" href="/assets/css/design-system.css">
   
   3. Gunakan class & variable yang sudah tersedia
   4. JANGAN ubah file ini tanpa koordinasi tim
   
   =============================================================
   DAFTAR ISI
   =============================================================
   01. THEME TOKENS (Variables)
   02. RESET & BASE
   03. CONTAINER
   04. TOP BAR
   05. NAVIGATION
   06. DROPDOWN SUBMENU
   07. THEME TOGGLE
   08. BUTTONS
   09. BADGE & PILLS
   10. HERO
   11. HERO VISUAL MOCKUPS
   12. SECTIONS
   13. CARDS & GRID
   14. ICONS
   15. HIGHLIGHT BOX
   16. FEATURE BIG CARDS
   17. APP CARDS (Mini Program)
   18. STEPS
   19. ROLES
   20. TIMELINE / ROADMAP
   21. TABLES
   22. FINANCIAL CARDS
   23. CHART BARS
   24. FUNDS LIST
   25. FAQ / DETAILS
   26. CTA
   27. MARQUEE
   28. FOOTER
   29. UTILITY CLASSES
   30. RESPONSIVE
   ============================================================= */


/* =============================================================
   01. THEME TOKENS (Variables)
   ============================================================= */

:root {
  /* Colors — Light Theme (Orange) */
  --bg: #ffffff;
  --bg-alt: #fff8f1;
  --bg-soft: #fff3e6;
  --text: #1a1410;
  --text-muted: #6b5d52;
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-soft: #fed7aa;
  --card: #ffffff;
  --border: #f0e2d3;
  --shadow: rgba(249, 115, 22, 0.15);
  --shadow-lg: rgba(120, 60, 10, 0.12);
  --hero-grad-1: #fff1e0;
  --hero-grad-2: #ffe4cc;

  /* Status Colors */
  --success: #10b981;
  --danger: #ef4444;
  --info: #3b82f6;
  --warning: #f59e0b;

  /* Typography */
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: 'Oxanium', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.35s ease;
}

[data-theme="dark"] {
  --bg: #071410;
  --bg-alt: #0c1f17;
  --bg-soft: #0f2a1e;
  --text: #e6f5ec;
  --text-muted: #9bb3a7;
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-soft: #14532d;
  --card: #0d2018;
  --border: #1a3a29;
  --shadow: rgba(34, 197, 94, 0.22);
  --shadow-lg: rgba(0, 0, 0, 0.4);
  --hero-grad-1: #0c2418;
  --hero-grad-2: #071a12;
}


/* =============================================================
   02. RESET & BASE
   ============================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  transition: background var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}


/* =============================================================
   03. CONTAINER
   ============================================================= */

.container {
  width: min(1120px, calc(100% - 32px));
  margin: auto;
}


/* =============================================================
   04. TOP BAR (Opsional — untuk dokumen confidential)
   ============================================================= */

.topbar {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 8px 0;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.topbar strong {
  color: #fff;
  opacity: .85;
  font-weight: 900;
}


/* =============================================================
   05. NAVIGATION
   ============================================================= */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

.nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.brand img {
  width: 130px;
  height: auto;
  transition: filter var(--transition-slow);
}

[data-theme="dark"] .brand img {
  filter: brightness(1.15) saturate(1.1);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.nav-links > a,
.nav-links .nav-link {
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links > a:hover,
.nav-links .nav-link:hover {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
}

.nav-cta:hover {
  text-decoration: underline;
}


/* =============================================================
   06. DROPDOWN SUBMENU
   ============================================================= */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: 200;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--bg-soft);
  color: var(--primary);
  padding-left: 18px;
}

.dropdown-menu a.active {
  background: var(--bg-soft);
  color: var(--primary);
}

.dropdown-menu a span.emoji {
  font-size: 15px;
  flex: 0 0 auto;
}

.dropdown-header {
  padding: 10px 14px 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: 4px;
  border-top: 1px dashed var(--border);
}

.dropdown-header:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 6px;
}


/* =============================================================
   07. THEME TOGGLE
   ============================================================= */

.toggle {
  position: relative;
  width: 62px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 3px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  flex: 0 0 auto;
}

.toggle-knob {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform var(--transition-slow) cubic-bezier(.4,0,.2,1), background var(--transition-slow);
  transform: translateX(0);
  color: #fff;
  box-shadow: 0 2px 8px var(--shadow);
}

[data-theme="dark"] .toggle-knob {
  transform: translateX(30px);
}


/* =============================================================
   08. BUTTONS
   ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 14px;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 25px var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-light:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 14px;
}


/* =============================================================
   09. BADGE & PILLS
   ============================================================= */

.badge {
  display: inline-flex;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pills {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pill {
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 7px 12px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--card);
  font-weight: 700;
}

.num {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
}


/* =============================================================
   10. HERO
   ============================================================= */

.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(circle at 15% 20%, var(--hero-grad-1) 0, transparent 40%),
    radial-gradient(circle at 85% 20%, var(--hero-grad-2) 0, transparent 38%),
    linear-gradient(135deg, var(--bg), var(--bg-alt));
  overflow: hidden;
  position: relative;
  transition: background var(--transition-slow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 55px;
  align-items: center;
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -3px;
  margin: 0 0 22px;
  font-weight: 900;
}

h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 0 20px;
}

.hero p.lead {
  font-size: 20px;
  color: var(--text);
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}


/* =============================================================
   11. HERO VISUAL MOCKUPS
   ============================================================= */

.hero-visual {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(145deg, var(--hero-grad-1), var(--hero-grad-2));
  display: grid;
  place-items: center;
  min-height: 500px;
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

/* Eco Mock — Grid produk */
.eco-mock {
  width: min(380px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 20px;
}

.eco-mock-head {
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.eco-mock-head strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  font-family: var(--font-display);
}

.eco-mock-head small {
  color: var(--text-muted);
  font-size: 12px;
}

.eco-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eco-cat-head {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

.eco-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.eco-icon {
  text-align: center;
  padding: 8px 2px;
  border-radius: 10px;
  transition: background var(--transition-fast);
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.eco-icon:hover {
  background: var(--bg-soft);
}

.eco-icon .em {
  font-size: 20px;
  margin-bottom: 3px;
  display: block;
}

.eco-icon .lbl {
  font-size: 9px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

/* KPI Cards — untuk proposal */
.kpi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 20px var(--shadow-lg);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.kpi-card:hover {
  transform: translateX(4px);
  border-color: var(--primary);
}

.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  border: 1px solid var(--border);
  flex: 0 0 auto;
}

.kpi-info {
  flex: 1;
}

.kpi-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.5px;
  line-height: 1.1;
}

.kpi-value.primary {
  color: var(--primary);
}

.kpi-trend {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(16,185,129,.12);
  color: var(--success);
  white-space: nowrap;
}

.hero-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* =============================================================
   12. SECTIONS
   ============================================================= */

section {
  padding: 85px 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 14px;
  font-weight: 900;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
}

/* Section variant: roles / alt background */
.roles {
  background:
    radial-gradient(circle at 85% 15%, var(--hero-grad-1), transparent 40%),
    var(--bg-alt);
  transition: background var(--transition-slow);
}


/* =============================================================
   13. CARDS & GRID
   ============================================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 25px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-slow);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px var(--shadow-lg);
  border-color: var(--primary);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.card-accent {
  border: 2px solid var(--primary);
}

/* App Cards — untuk Mini Program grid */
.app-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 25px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-slow);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.app-card.ready:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px var(--shadow-lg);
  border-color: var(--primary);
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.app-card.coming .app-icon {
  opacity: .65;
}

.app-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.app-card.coming h3 {
  color: var(--text-muted);
}

.app-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 13.5px;
  flex: 1;
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
}

.app-status.ready {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.app-status.soon {
  background: var(--bg-soft);
  color: var(--text-muted);
}

.app-card a.app-link {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
}


/* =============================================================
   14. ICONS
   ============================================================= */

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  font-size: 22px;
  margin-bottom: 17px;
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 800;
}


/* =============================================================
   15. HIGHLIGHT BOX
   ============================================================= */

.highlight {
  border: 1px solid var(--border);
  border-radius: 23px;
  padding: 38px 32px;
  background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2));
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

.highlight h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin: 0 0 14px;
  font-weight: 900;
}

.highlight p {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.highlight .grid {
  margin-top: 24px;
}


/* =============================================================
   16. FEATURE BIG CARDS (3 Fitur Utama)
   ============================================================= */

.three-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-big {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px 28px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-slow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-big::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-big:hover::before {
  transform: scaleX(1);
}

.feature-big:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow-lg);
  border-color: var(--primary);
}

.feature-big .big-icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 38px;
  margin: 0 auto 20px;
  border: 1px solid var(--border);
}

.feature-big h3 {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: -.5px;
  font-family: var(--font-display);
}

.feature-big p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0 0 16px;
}

.feature-big .feature-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid var(--border);
  letter-spacing: .05em;
}


/* =============================================================
   17. SHOWCASE (Product Showcase 2x2)
   ============================================================= */

.showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.showcase-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px 28px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.showcase-card:hover::before {
  transform: scaleX(1);
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px var(--shadow-lg);
  border-color: var(--primary);
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.showcase-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 30px;
  border: 1px solid var(--border);
  flex: 0 0 auto;
}

.showcase-title h3 {
  font-size: 22px;
  font-weight: 900;
  font-family: var(--font-display);
  margin: 0 0 3px;
  letter-spacing: -.5px;
}

.showcase-title small {
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.showcase-card > p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0 0 18px;
}

.showcase-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.showcase-features span {
  display: inline-block;
  padding: 5px 11px;
  background: var(--bg-soft);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.showcase-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.showcase-actions .btn {
  padding: 10px 18px;
  font-size: 13px;
}


/* =============================================================
   18. STEPS
   ============================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  background: var(--bg-alt);
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-slow);
}

.step:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.step-num {
  font-size: 13px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: var(--font-display);
  letter-spacing: .5px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}


/* =============================================================
   19. ROLES (2 kolom: visual + konten)
   ============================================================= */

.role-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 45px;
  align-items: center;
}

.role-box {
  min-height: 320px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 110px;
  box-shadow: 0 25px 60px var(--shadow);
}

.role-content h2 {
  font-size: 43px;
  margin: 0 0 15px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.role-content p {
  color: var(--text-muted);
}

.role-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.role-list div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 14px;
  font-weight: 800;
}


/* =============================================================
   20. TIMELINE / ROADMAP
   ============================================================= */

.timeline {
  position: relative;
  padding-left: 36px;
  margin-top: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border);
}

.tl-item {
  position: relative;
  padding: 0 0 28px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 3px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  color: var(--text-muted);
}

.tl-item.active .tl-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.tl-item.done .tl-dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.tl-quarter {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-bottom: 6px;
}

.tl-item h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.tl-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}


/* =============================================================
   21. TABLES
   ============================================================= */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 8px 30px var(--shadow-lg);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

thead th {
  padding: 18px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--bg-alt);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

thead th.highlight-col {
  background: var(--primary);
  color: #fff;
}

tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody td:first-child {
  font-weight: 800;
  color: var(--text);
}

tbody td.highlight-col {
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 900;
  font-family: var(--font-display);
}

tbody tr.total td {
  background: var(--bg-alt);
  font-weight: 900;
  color: var(--text);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

tbody tr.total td.highlight-col {
  background: var(--primary);
  color: #fff;
}

.positive { color: var(--success) !important; font-weight: 800; }
.negative { color: var(--danger) !important; font-weight: 800; }

/* Comparison Table — center aligned */
.comp-table thead th {
  text-align: center;
}

.comp-table thead th:first-child {
  text-align: left;
}

.comp-table thead th.us {
  background: var(--primary);
  color: #fff;
}

.comp-table tbody td {
  text-align: center;
  font-weight: 600;
}

.comp-table tbody td:first-child {
  text-align: left;
}

.comp-table tbody td.us {
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 900;
}

.comp-table .check { color: var(--success); font-size: 18px; font-weight: 900; }
.comp-table .cross { color: var(--danger); font-size: 18px; font-weight: 900; }


/* =============================================================
   22. FINANCIAL CARDS
   ============================================================= */

.fin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.fin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  text-align: center;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.fin-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px var(--shadow-lg);
}

.fin-card.highlight-card {
  border: 2px solid var(--primary);
  background: linear-gradient(145deg, var(--bg-soft), var(--card));
}

.fin-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.fin-value {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.fin-value.dark {
  color: var(--text);
}

.fin-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}


/* =============================================================
   23. CHART BARS
   ============================================================= */

.chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 12px;
  height: 280px;
  padding: 20px 16px 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-top: 30px;
}

.chart-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 8px;
}

.chart-value {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  color: var(--primary);
  white-space: nowrap;
}

.chart-bar-fill {
  width: 100%;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  min-height: 8px;
  transition: height 0.5s ease, filter var(--transition-fast);
  box-shadow: 0 -4px 20px var(--shadow);
}

.chart-bar-fill:hover {
  filter: brightness(1.1);
}

.chart-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 800;
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  width: 100%;
  font-family: var(--font-display);
}


/* =============================================================
   24. FUNDS LIST (Use of Funds)
   ============================================================= */

.funds-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.fund-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.fund-item:hover {
  transform: translateX(4px);
  border-color: var(--primary);
}

.fund-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
}

.fund-info {
  flex: 1;
}

.fund-info strong {
  display: block;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 800;
}

.fund-info small {
  color: var(--text-muted);
  font-size: 12.5px;
}

.fund-pct {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
}


/* =============================================================
   25. FAQ / DETAILS
   ============================================================= */

.faq {
  max-width: 850px;
  margin: auto;
}

details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  padding: 18px 20px;
  transition: border-color var(--transition-base), background var(--transition-slow);
}

details[open] {
  border-color: var(--primary);
}

summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.3s;
  flex: 0 0 auto;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  color: var(--text-muted);
  margin: 14px 0 0;
}


/* =============================================================
   26. CTA
   ============================================================= */

.cta {
  text-align: center;
  padding: 90px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  transition: background var(--transition-slow);
}

.cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.cta p {
  max-width: 680px;
  margin: 0 auto 25px;
  color: rgba(255,255,255,.88);
}

.cta .btn {
  background: #fff;
  color: var(--primary);
}

.cta .btn:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
}

/* Invest Box (untuk proposal) */
.invest-box {
  border: 2px solid var(--primary);
  border-radius: var(--radius-2xl);
  padding: 48px 36px;
  text-align: center;
  background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2));
  position: relative;
  overflow: hidden;
  transition: background var(--transition-slow);
}

.invest-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--shadow) 0%, transparent 60%);
  animation: pulseGlow 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

.invest-box > * {
  position: relative;
  z-index: 1;
}

.invest-box h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 16px;
  font-weight: 900;
}

.invest-box .ask {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -2px;
  margin: 20px 0;
}

.invest-box p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  font-size: 16px;
}


/* =============================================================
   27. MARQUEE
   ============================================================= */

.marquee-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.marquee-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  border-radius: var(--radius-full);
  letter-spacing: .08em;
  flex: 0 0 auto;
  margin-left: 16px;
  font-family: var(--font-display);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.marquee-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.marquee-track::before,
.marquee-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}

.marquee-track::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-alt), transparent);
}

.marquee-track::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-alt), transparent);
}

.marquee-content {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  padding-left: 20px;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.marquee-item strong {
  color: var(--primary);
  font-weight: 800;
}


/* =============================================================
   28. FOOTER
   ============================================================= */

footer {
  padding: 40px 0;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner img {
  width: 130px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-links a {
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-family: var(--font-display);
}

.footer-copy a {
  color: var(--primary);
  font-weight: 800;
}

/* Footer dengan kolom (untuk proposal) */
.footer-inner-cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  transition: color var(--transition-fast);
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-copy-full {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-copy-full a {
  color: var(--primary);
  font-weight: 800;
}


/* =============================================================
   29. UTILITY CLASSES
   ============================================================= */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.no-wrap { white-space: nowrap; }
.hide { display: none; }

/* Kategori grouping (untuk nBisnis) */
.catalog-group {
  margin-bottom: 50px;
}

.catalog-group:last-child {
  margin-bottom: 0;
}

.catalog-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.catalog-group-head h3 {
  font-size: 15px;
  font-weight: 900;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  white-space: nowrap;
}

.catalog-group-head .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.catalog-group-head .count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  background: var(--bg-soft);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  white-space: nowrap;
}


/* =============================================================
   30. RESPONSIVE
   ============================================================= */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid-4,
  .three-features,
  .fin-grid,
  .showcase {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .role-content h2 {
    font-size: 34px;
  }
}

@media (max-width: 560px) {
  .grid,
  .grid-2,
  .grid-4,
  .steps,
  .role-list,
  .three-features,
  .fin-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  h1 {
    letter-spacing: -2px;
  }

  .hero-visual {
    min-height: 320px;
    padding: 14px;
  }

  .highlight,
  .invest-box {
    padding: 28px 22px;
  }

  .section-head h2 {
    letter-spacing: -1px;
  }

  .footer-inner,
  .footer-inner-cols {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  .chart {
    height: 220px;
  }

  .chart-value {
    font-size: 11px;
  }

  .table-wrap {
    font-size: 12px;
  }

  thead th,
  tbody td {
    padding: 12px 10px;
  }
}


/* =============================================================
   PRINT STYLES (untuk PDF)
   ============================================================= */

@media print {
  nav,
  .topbar,
  .toggle,
  .marquee-bar,
  .nav-right {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  section {
    page-break-inside: avoid;
    padding: 40px 0;
  }

  .hero {
    padding: 40px 0;
  }

  .cta {
    background: #f0f0f0 !important;
    color: #000 !important;
  }

  .cta h2,
  .cta p {
    color: #000 !important;
  }

  a {
    color: #000 !important;
    text-decoration: none;
  }

  .highlight,
  .invest-box {
    background: #f8f8f8 !important;
    border: 2px solid #ccc !important;
  }

  .card,
  .showcase-card,
  .app-card,
  .fin-card,
  details {
    page-break-inside: avoid;
    box-shadow: none !important;
  }
}


/* =============================================================
   END OF DESIGN SYSTEM
   =============================================================
   Cara pakai di halaman HTML:

   <head>
     <!-- Fonts -->
     <link rel="preconnect" href="https://fonts.googleapis.com" />
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
     <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Oxanium:wght@700;800&display=swap" rel="stylesheet" />

     <!-- Design System -->
     <link rel="stylesheet" href="/assets/css/design-system.css" />
   </head>

   <body>
     <!-- Konten kamu -->
     
     <!-- Theme Script (copy-paste di bawah) -->
     <script>
       (function() {
         const html = document.documentElement;
         const toggle = document.getElementById('themeToggle');
         const knob = document.getElementById('toggleKnob');
         const saved = localStorage.getItem('nchat-theme');
         const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
         const initial = saved || (prefersDark ? 'dark' : 'light');
         html.setAttribute('data-theme', initial);
         knob.textContent = initial === 'dark' ? '🌙' : '☀️';
         toggle.addEventListener('click', () => {
           const current = html.getAttribute('data-theme');
           const next = current === 'dark' ? 'light' : 'dark';
           html.setAttribute('data-theme', next);
           knob.textContent = next === 'dark' ? '🌙' : '☀️';
           localStorage.setItem('nchat-theme', next);
         });
       })();
     </script>
   </body>

   ============================================================= */