/* PekaAnalytics v5 - design system dari referensi attio.com dan dahono.com.
   Bahasa desain, bukan identitas mereka: token yang diambil dicatat di
   verification-v5/DESIGN_TOKENS.md. Aset tetap vendored lokal, tanpa CDN. */

/* --- Token --- */
:root {
  --bg: #FAF8F1;            /* kertas hangat, lebih terang dari v4 */
  --bg-soft: #F4F1E8;
  --surface: #FFFFFF;
  --surface-soft: #F8F6F0;
  --ink: #111827;           /* Attio: nyaris hitam, tajam */
  --ink-2: #12203E;         /* navy Peka */
  --ink-serif: #1B2436;
  --muted: #6B7280;         /* Attio: abu sekunder */
  --muted-2: #9CA3AF;
  --line: #E8E5DB;          /* hairline hangat */
  --line-cool: #E5E7EB;     /* hairline netral ala Attio */
  --accent: #FFD60A;        /* kuning Peka, aksen utama */
  --accent-soft: #FFF3C4;
  --accent-dark: #C9A227;
  --accent-deep: #A98307;
  --navy: #12203E;
  --navy-soft: #2A3A5F;
  --ink-black: #0A0A0B;     /* band gelap ala Attio */
  --band-card: #17181C;
  --band-line: #26272C;
  --green: #15803D;
  --green-bg: #DCFCE7;
  --red: #B42318;
  --red-bg: #FEE4E2;
  --amber: #B45309;
  --amber-bg: #FEF3C7;
  --blue: #2563EB;
  --blue-bg: #DBEAFE;
  --gold: #B08D4F;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 8px 24px -16px rgba(17, 24, 39, 0.18);
  --shadow-hover: 0 2px 4px rgba(17, 24, 39, 0.06), 0 16px 32px -16px rgba(17, 24, 39, 0.28);
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--ink-2); text-decoration: underline; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: -0.01em; }
.muted { color: var(--muted); font-size: 12px; }

/* --- Tipografi display: sans rapat + aksen serif miring ala Dahono --- */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.display-h1 {
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
}
.display-h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.serif-it { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* --- Chip label kecil ala Attio --- */
.section-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.section-title .dim { color: var(--muted); font-weight: 600; }

/* --- Top navigation (legacy pages) --- */
.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  height: 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-cool);
}

.brand {
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: baseline;
}

.nav-links { display: flex; gap: 18px; }
.nav-links a { color: var(--ink); font-size: 13px; font-weight: 500; }
.nav-links a:hover { color: var(--accent-deep); text-decoration: none; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-sync { margin: 0; }
.nav-logout { color: var(--muted); font-size: 13px; }
.nav-logout:hover { color: var(--ink); text-decoration: none; }

/* --- Layout --- */
.container { max-width: 1180px; margin: 0 auto; padding: 20px; }

.page-head { margin: 2px 0 16px; }
.page-head h1 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 4px; color: var(--ink); }
.page-head p { color: var(--muted); font-size: 13px; margin: 0; }

h1 { font-size: 20px; margin: 4px 0 16px; color: var(--ink); letter-spacing: -0.01em; }
h2 { font-size: 15px; margin: 0 0 12px; color: var(--ink); }

.card {
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-2 .card { margin-bottom: 0; }
.grid-2 { margin-bottom: 16px; }

/* --- KPI cards ala Attio: bersih, label kecil kapital, angka besar --- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.kpi-card {
  padding: 16px;
  margin-bottom: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: #D8D5C9; }
.kpi-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.kpi-value { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.kpi-note { color: var(--muted); font-size: 12px; margin-top: 4px; }

/* --- Tabel padat ala Attio --- */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-cool);
  vertical-align: middle;
}
.table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.table tbody tr:hover { background: #FAFAF8; }
.table td { color: var(--ink); }
.table tr:last-child td { border-bottom: 0; }
.table .row-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: #D1D5DB; text-underline-offset: 2px; }
.table .row-link:hover { text-decoration-color: var(--ink); }

/* --- Avatar inisial ala Attio --- */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.avatar-lg { width: 56px; height: 56px; font-size: 20px; border-radius: 16px; }
.cell-person { display: inline-flex; align-items: center; gap: 10px; }

/* --- Status pill ala Attio --- */
.status-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.st-paid { background: var(--green-bg); color: var(--green); }
.st-pending { background: var(--amber-bg); color: var(--amber); }
.st-expired, .st-rejected, .st-cancelled { background: var(--red-bg); color: var(--red); }
.st-default { background: #F3F4F6; color: var(--muted); }

/* --- Source chip dengan titik warna --- */
.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line-cool);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.source-chip .dot { width: 8px; height: 8px; }

/* --- Daftar --- */
.plain-list { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.plain-list li { padding: 7px 0; border-bottom: 1px solid var(--line-cool); }
.plain-list li:last-child { border-bottom: 0; }
.notes-list li { white-space: pre-wrap; }

/* --- Form --- */
.field { display: block; margin-bottom: 12px; }
.field span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 4px; }

input[type="text"], input[type="password"], input[type="date"],
input[type="search"], select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-cool);
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 13px;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.35);
}
textarea { resize: vertical; }

.filter-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.filter-form .field { flex: 1; min-width: 160px; margin-bottom: 0; }

.inline-form { margin-top: 16px; border-top: 1px solid var(--line-cool); padding-top: 16px; }

.row-form { display: inline-block; margin: 0 4px 4px 0; }
.row-form select { width: auto; padding: 4px 6px; font-size: 12px; }

/* --- Tombol pill ala Attio --- */
.btn {
  display: inline-block;
  border: 1px solid var(--line-cool);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { border-color: #D1D5DB; text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #111111; box-shadow: 0 2px 8px -2px rgba(201, 162, 39, 0.5); }
.btn-primary:hover { background: #FFE14D; border-color: #FFE14D; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: #1F2937; border-color: #1F2937; color: #FFFFFF; }
.btn-ghost { background: transparent; }
.btn-danger { background: transparent; border-color: rgba(180, 35, 24, 0.5); color: var(--red); }
.btn-danger:hover { border-color: var(--red); background: rgba(180, 35, 24, 0.06); }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-block { width: 100%; }

/* --- Flash --- */
.flashes { margin-bottom: 16px; }
.flash {
  background: #FFF8D6;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--ink-2);
}

/* --- Info grid kontak --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
  margin: 0 0 8px;
}
.info-grid dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.info-grid dd { margin: 2px 0 0; font-size: 13px; overflow-wrap: anywhere; }

/* --- Header record ala Attio --- */
.record-head {
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
}
.record-id { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.record-id h1 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.record-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.record-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line-cool);
  padding-top: 16px;
}
.record-stat { padding: 0 18px; border-left: 1px solid var(--line-cool); }
.record-stat:first-child { padding-left: 0; border-left: 0; }
.record-stat .kpi-label { margin-bottom: 2px; }
.record-stat .kpi-value { font-size: 20px; }

/* --- Constellation --- */
.constellation-panel { position: relative; }
.panel-head { display: flex; align-items: center; justify-content: space-between; }
.panel-head h2 { margin-bottom: 0; }
#constellation-wrap {
  position: relative;
  height: 420px;
  margin-top: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line-cool);
  border-radius: 10px;
  overflow: hidden;
}
#constellation-canvas { display: block; width: 100%; height: 100%; cursor: grab; }
#constellation-canvas:active { cursor: grabbing; }
#constellation-tip {
  position: absolute;
  pointer-events: none;
  background: var(--surface);
  border: 1px solid var(--line-cool);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
  z-index: 5;
}
#constellation-tip .mono { color: var(--accent-deep); }
#constellation-fallback[hidden] { display: none; }
#constellation-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* --- Login --- */
.login-page { overflow: hidden; background: var(--bg); }
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  pointer-events: none;
}
.login-wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1;
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-hover);
}
.login-brand { margin: 0; color: var(--ink); font-size: 24px; letter-spacing: -0.02em; text-align: center; }
.login-sub { text-align: center; color: var(--muted); font-size: 13px; margin: 6px 0 20px; }
.login-note { text-align: center; color: var(--muted-2); font-size: 12px; margin: 16px 0 0; }

/* --- App shell ala Attio: sidebar putih, hairline, topbar dengan pencarian --- */
.app-shell { display: flex; min-height: 100vh; align-items: stretch; }
.sidebar {
  width: 232px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--line-cool);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar-brand { padding: 4px 10px 18px; font-size: 18px; color: var(--ink); }
.sidebar-brand:hover { color: var(--ink); }
.side-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 14px 10px 6px;
}
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
}
.side-nav a:hover { background: #F3F4F6; color: var(--ink); text-decoration: none; }
.side-nav a.active { background: var(--accent-soft); color: var(--ink); font-weight: 700; }
.side-nav a.active::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 1px;
}
.side-logout {
  margin-top: auto;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}
.side-logout:hover { background: #F3F4F6; color: var(--ink); text-decoration: none; }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--bg); }
.app-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-cool);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-title { font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.topbar-search { flex: 1; max-width: 420px; margin: 0 auto; }
.topbar-search input {
  border-radius: 999px;
  background: #F3F4F6;
  border-color: transparent;
  padding: 7px 14px;
}
.topbar-search input:focus { background: var(--surface); border-color: var(--accent-dark); }
.topbar-user { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* --- Charts (SVG / CSS murni, tanpa CDN) --- */
.kpi-grid-6 { grid-template-columns: repeat(6, 1fr); }
.chart-card { overflow: hidden; }
.donut-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.donut { flex-shrink: 0; }
.donut-total { fill: var(--ink); font-size: 26px; font-weight: 700; }
.donut-caption { fill: var(--muted); font-size: 11px; }
.donut-legend { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.donut-legend li { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.donut-legend .mono { margin-left: auto; color: var(--muted); padding-left: 16px; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 48px;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  font-size: 13px;
}
.bar-label { overflow-wrap: anywhere; }
.bar-track { background: var(--surface-soft); border: 1px solid var(--line-cool); border-radius: 4px; height: 14px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 4px; }
.bar-sub { margin: 0 0 8px 150px; }
.stat-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.mini-stat { background: var(--surface-soft); border: 1px solid var(--line-cool); border-radius: 10px; padding: 12px; }
.mini-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.mini-value { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.stack-col { display: flex; flex-direction: column; gap: 16px; }
.stack-col .card { margin-bottom: 0; }
.cell-ellipsis {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Landing v5: ritme editorial Dahono + kejelasan SaaS Attio --- */
.landing-wrap { position: relative; z-index: 1; }
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-cool);
  background: rgba(250, 248, 241, 0.9);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.landing-nav .brand { font-size: 18px; }
.landing-nav-links { display: flex; gap: 20px; }
.landing-nav-links a { color: var(--ink); font-size: 13px; font-weight: 500; }
.landing-nav-links a:hover { color: var(--accent-deep); text-decoration: none; }
.landing-search {
  flex: 1;
  max-width: 380px;
  display: flex;
  gap: 8px;
}
.landing-search input { border-radius: 999px; background: var(--surface); }
.status-bar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  vertical-align: 1px;
}
.landing-hero {
  text-align: left;
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 24px 24px;
}
.landing-sub { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 620px; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Blok statistik besar ala Dahono: angka serif, pembatas hairline */
.hero-stats {
  max-width: 1160px;
  margin: 40px auto 0;
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-stat { padding: 0 28px; border-left: 1px solid var(--line); }
.hero-stat:first-child { padding-left: 0; border-left: 0; }
.hero-stat .stat-num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-stat .stat-cap { color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.45; }

.landing-section { max-width: 1160px; margin: 0 auto; padding: 56px 24px 16px; }
.landing-section.sec-white { max-width: none; background: var(--surface); border-top: 1px solid var(--line-cool); border-bottom: 1px solid var(--line-cool); }
.landing-section.sec-white > .sec-inner { max-width: 1160px; margin: 0 auto; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-note { color: var(--muted); font-size: 12px; margin: 0 0 14px; }
.sync-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-grid-3 { grid-template-columns: repeat(3, 1fr); }
.stat-grid .card { margin-bottom: 0; }

/* Chart grid */
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.chart-grid .card { margin-bottom: 0; }
.chart-card-wide { grid-column: 1 / -1; }
.chart-title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.chart-sub { color: var(--muted); font-size: 12px; margin: 0 0 14px; }

/* Vertical bar chart (CSS murni) */
.vbar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  padding: 8px 4px 0;
  border-bottom: 2px solid var(--line-cool);
}
.vbar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.vbar-bar {
  width: 100%;
  max-width: 34px;
  min-height: 3px;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 4px 4px 0 0;
}
.vbar-bar.alt { background: var(--navy); border-color: var(--navy); }
.vbar-value { font-size: 11px; color: var(--muted); margin-bottom: 3px; white-space: nowrap; }
.vbar-labels { display: flex; gap: 6px; padding: 6px 4px 0; }
.vbar-labels span { flex: 1; text-align: center; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Period pills + filter pills + filter chips */
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-cool);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.pill:hover { border-color: var(--accent-dark); text-decoration: none; }
.pill-active { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.pill-active:hover { color: #FFFFFF; }
.filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.filter-row .search-inline { flex: 1; min-width: 200px; display: flex; gap: 8px; }
.filter-row .search-inline input { flex: 1; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-cool);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.chip:hover { border-color: #D1D5DB; text-decoration: none; }
.chip-active { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.chip-active:hover { color: #FFFFFF; }

/* Band gelap ala Attio untuk Postingan Terbaru */
.sec-navy {
  max-width: none;
  background: var(--ink-black);
  color: #F3F4F6;
  margin: 40px 0 0;
  padding: 56px 0 64px;
}
.sec-navy > .sec-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sec-navy .section-title { color: #FFFFFF; }
.sec-navy .section-title .dim { color: #9CA3AF; }
.sec-navy .section-note { color: #9CA3AF; }
.sec-navy .section-chip { background: rgba(255, 214, 10, 0.16); color: var(--accent); }
.sec-navy .post-card {
  background: var(--band-card);
  border-color: var(--band-line);
  color: #E5E7EB;
  box-shadow: none;
}
.sec-navy .post-card h3, .sec-navy .post-card h3 a { color: #FFFFFF; }
.sec-navy .post-excerpt { color: #9CA3AF; }
.sec-navy .post-date { color: #6B7280; }
.sec-navy .tag-chip { background: #26272C; border-color: #33343A; color: #9CA3AF; }
.sec-navy .post-card .btn { border-color: #3A3B41; color: #E5E7EB; background: transparent; }
.sec-navy .post-card .btn:hover { border-color: var(--accent); color: var(--accent); }
.sec-navy .post-card .btn-ghost { color: #9CA3AF; }

/* Post cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.post-card h3 { font-size: 14px; margin: 0; line-height: 1.4; color: var(--ink); }
.post-card h3 a { color: var(--ink); }
.post-excerpt { font-size: 12px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-date { font-size: 12px; color: var(--muted-2); }
.post-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.platform-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
}
.pb-ig { background: #C026D3; }
.pb-threads { background: var(--navy); }
.pb-fb { background: #2563EB; }
.pb-blog { background: var(--gold); }
.tag-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line-cool);
  font-size: 11px;
  color: var(--muted);
}

/* Best content */
.best-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.best-card {
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-cool);
  background: var(--surface-soft);
}
.best-card.gold { background: #FFF7CC; border-color: #F2D98C; }
.best-card.navy { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.best-card.navy h3, .best-card.navy .best-title { color: #FFFFFF; }
.best-card.navy .muted { color: #CBD5E1; }
.best-kind { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.best-card.navy .best-kind { color: var(--accent); }
.best-title { font-size: 15px; font-weight: 700; margin: 6px 0; color: var(--ink); }
.best-title a { color: inherit; }

/* Blog article cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.cover-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-soft); }
.cover-fallback {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, #31456E 55%, var(--gold) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.article-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.article-body h3 { font-size: 14px; margin: 0; line-height: 1.4; color: var(--ink); }
.article-body h3 a { color: var(--ink); }
.article-meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.article-meta .mono { font-size: 12px; }
.article-body .post-excerpt { margin-top: 2px; }
.article-body .btn { margin-top: auto; align-self: flex-start; }

/* Detail rows */
.detail-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-cool);
  font-size: 13px;
}
.detail-row:last-child { border-bottom: 0; }
.detail-pct { color: var(--muted); font-size: 12px; min-width: 52px; text-align: right; }

/* Activity feed */
.activity-list { margin: 0; padding: 0; list-style: none; }
.activity-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-cool);
  font-size: 13px;
}
.activity-item:last-child { border-bottom: 0; }
.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  flex-shrink: 0;
  margin-top: 5px;
}
.activity-dot.navy { background: var(--navy); border-color: var(--navy); }
.activity-dot.green { background: var(--green); border-color: var(--green); }

/* Tool cards */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-card {
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.tool-card h3 { font-size: 14px; margin: 0; color: var(--ink); }
.tool-card h3 a { color: var(--ink); }
.tool-cat {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-cool);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.tool-stars { font-size: 12px; color: var(--accent-deep); font-weight: 700; }
.tool-card p { font-size: 12px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Landing CTA gelap + footer hitam ala Dahono */
.landing-cta {
  max-width: 1160px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.landing-cta .card {
  background: var(--ink-black);
  color: #FFFFFF;
  border-color: var(--ink-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px;
}
.landing-cta h2 { color: #FFFFFF; margin: 0 0 4px; font-size: 22px; letter-spacing: -0.02em; }
.landing-cta h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.landing-cta p { color: #9CA3AF; margin: 0; font-size: 13px; }
.landing-foot {
  background: var(--ink-black);
  color: #9CA3AF;
  margin-top: 48px;
  padding: 48px 24px 32px;
}
.landing-foot-inner { max-width: 1160px; margin: 0 auto; }
.landing-foot .foot-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.3;
  color: #FFFFFF;
  max-width: 520px;
  margin: 0 0 8px;
}
.landing-foot .foot-sub { font-size: 13px; margin: 0 0 32px; max-width: 520px; }
.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--band-line);
  padding-top: 28px;
}
.foot-cols h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7280;
  margin: 0 0 12px;
}
.foot-cols a { display: block; color: #D1D5DB; font-size: 13px; padding: 3px 0; }
.foot-cols a:hover { color: #FFFFFF; text-decoration: none; }
.foot-base {
  max-width: 1160px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--band-line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6B7280;
}

@media (max-width: 1200px) {
  .kpi-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid, .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .display-h1 { font-size: 46px; }
}

@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 10px; }
  .topnav { gap: 12px; padding: 0 12px; }
  .app-shell { flex-direction: column; }
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line-cool);
  }
  .sidebar-brand { padding: 4px 8px; }
  .side-label { display: none; }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .side-logout { margin: 0 0 0 auto; padding: 9px 10px; }
  .app-topbar { padding: 0 12px; }
  .topbar-search { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .landing-hero { padding: 48px 16px 16px; }
  .display-h1 { font-size: 38px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 20px 16px; gap: 16px 0; }
  .hero-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stat .stat-num { font-size: 34px; }
  .bar-row { grid-template-columns: 100px 1fr 40px; }
  .bar-sub { margin-left: 110px; }
  .chart-grid { grid-template-columns: 1fr; }
  .best-grid { grid-template-columns: 1fr; }
  .landing-nav { flex-wrap: wrap; }
  .landing-nav-links { display: none; }
  .landing-search { max-width: none; order: 3; flex-basis: 100%; }
  .foot-cols { grid-template-columns: 1fr; }
  .record-stats { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .record-stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .landing-section .stat-grid { grid-template-columns: 1fr; }
  .donut-wrap { justify-content: center; }
  .post-grid, .article-grid, .tool-grid { grid-template-columns: 1fr; }
  .vbar-value { display: none; }
  .display-h1 { font-size: 32px; }
}

/* ==================================================================
   v6 - lebih menarik, tetap dalam bahasa desain v5 (Attio + Dahono).
   Reveal on scroll, denyut aktivitas, mockup hero, grafik beranimasi,
   transisi panel, empty state, tooltip, login split-screen.
   ================================================================== */

/* --- Reveal on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* --- Denyut aktivitas: titik hijau dengan cincin berdenyut --- */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  vertical-align: 1px;
  flex-shrink: 0;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.5); opacity: 0.6; }
  80%, 100% { transform: scale(1.4); opacity: 0; }
}

/* --- Hero lebih kuat: judul lebih besar + mockup panel --- */
@media (min-width: 1201px) {
  .display-h1 { font-size: 66px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 24px 24px;
}
.hero-grid .landing-hero { padding: 0; margin: 0; max-width: none; }
.hero-mockup {
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: 16px;
  box-shadow: 0 24px 48px -24px rgba(17, 24, 39, 0.35);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-mockup:hover {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 28px 56px -24px rgba(17, 24, 39, 0.45);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line-cool);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mockup-url {
  margin-left: 6px;
  font-size: 11px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line-cool);
  border-radius: 999px;
  padding: 3px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mockup-body { padding: 16px; }
.mockup-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mockup-kpi {
  background: var(--surface-soft);
  border: 1px solid var(--line-cool);
  border-radius: 10px;
  padding: 10px 12px;
}
.mockup-kpi .mk-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.mockup-kpi .mk-value { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-top: 2px; overflow-wrap: anywhere; }
.mockup-chart { display: flex; gap: 16px; align-items: center; }
.mockup-legend { list-style: none; margin: 0; padding: 0; font-size: 12px; flex: 1; min-width: 0; }
.mockup-legend li { display: flex; align-items: center; gap: 7px; padding: 3px 0; }
.mockup-legend .mono { margin-left: auto; color: var(--muted); }
.mockup-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-cool);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

/* --- Grafik beranimasi: batang tumbuh, donat muncul halus --- */
.bar-fill {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.vbar-bar {
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.donut {
  opacity: 0;
  transform: scale(0.94);
  transform-origin: center;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.chart-live .bar-fill, .chart-live .vbar-bar { transform: scale(1); }
.chart-live .donut, .reveal.in .donut { opacity: 1; transform: scale(1); }

/* --- Transisi panel: halaman masuk dengan fade halus --- */
.app-main { animation: pageIn 0.32s ease both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* --- Tombol dan baris tabel: micro-interaction --- */
.btn-primary:hover, .btn-dark:hover { transform: translateY(-1px); }
.table tbody tr { transition: background 0.12s ease; }

/* --- Empty state: ilustrasi sederhana + teks membantu + aksi --- */
.empty-state { text-align: center; padding: 32px 20px; }
.empty-state svg { width: 52px; height: 52px; margin-bottom: 10px; }
.empty-title { font-weight: 700; font-size: 14px; margin: 0 0 4px; color: var(--ink); }
.empty-text { color: var(--muted); font-size: 13px; margin: 0 0 14px; }

/* --- Tooltip CSS murni lewat data-tip --- */
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 30;
  pointer-events: none;
  box-shadow: var(--shadow-hover);
}

/* --- Timeline aktivitas kontak --- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line-cool);
}
.timeline li { position: relative; padding: 0 0 16px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--line-cool);
}
.timeline-dot.tl-order { background: var(--green); }
.timeline-dot.tl-note { background: var(--gold); }
.timeline-dot.tl-followup { background: var(--blue); }
.timeline-dot.tl-interaction { background: var(--navy); }
.timeline-title { font-weight: 700; font-size: 13px; }
.timeline-text { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.timeline-date { color: var(--muted-2); font-size: 12px; margin-top: 2px; }

/* --- Login split-screen --- */
.login-split {
  display: grid;
  grid-template-columns: minmax(400px, 470px) 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}
.login-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: var(--bg);
}
.login-form-col .login-card {
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 0;
  max-width: 400px;
}
.login-form-col .login-brand,
.login-form-col .login-sub,
.login-form-col .eyebrow,
.login-form-col .login-note { text-align: left; }
.login-form-col input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18, 32, 62, 0.18);
}
.login-story {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(18, 32, 62, 0.93), rgba(10, 16, 32, 0.97));
  color: #FFFFFF;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-story .eyebrow { color: #9CA3AF; }
.login-story h2 {
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: #FFFFFF;
}
.login-story h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.login-story > p { color: #CBD5E1; font-size: 14px; max-width: 480px; margin: 0; }
.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
}
.story-stat { padding: 6px 20px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.story-stat:nth-child(odd) { padding-left: 0; border-left: 0; }
.story-stat .stat-num { font-family: var(--serif); font-size: 34px; color: #FFFFFF; }
.story-stat .stat-cap { color: #9CA3AF; font-size: 12px; margin-top: 2px; }
.story-preview {
  background: #FFFFFF;
  color: var(--ink);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
  max-width: 460px;
}
.story-preview .sp-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.story-preview .sp-head b { color: var(--ink); }
.story-foot { color: #9CA3AF !important; font-size: 12px !important; margin-top: 20px !important; }

/* --- Responsif v6 --- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 48px 16px 8px; gap: 28px; }
  .hero-mockup { transform: none; }
  .hero-mockup:hover { transform: none; }
  .login-split { grid-template-columns: 1fr; }
  .login-page { overflow: auto; }
  .login-story { padding: 40px 20px; }
  .login-form-col { padding: 40px 20px; }
}

/* --- Semua animasi mati bila pengguna memilih reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot::after { animation: none; }
  .app-main { animation: none; }
  .bar-fill, .vbar-bar, .donut { transform: none; opacity: 1; transition: none; }
  .hero-mockup { transform: none; transition: none; }
  .btn-primary:hover, .btn-dark:hover { transform: none; }
  .kpi-card:hover, .post-card:hover, .article-card:hover, .tool-card:hover { transform: none; }
}

/* Nilai mockup hero di HP sempit: kecilkan supaya "Rp213.399" muat satu baris */
@media (max-width: 560px) {
  .mockup-kpi .mk-value { font-size: 14px; }
  .mockup-kpis { gap: 6px; }
}

