:root { --lime:#8df500; --lime-deep:#5ea900; --ink:#11140f; --ink-2:#1b2018; --paper:#f6f7f2; --white:#fff; --muted:#697064; --line:#e3e7dc; --success:#187b48; --danger:#d74545; --shadow:0 24px 70px rgba(25,32,19,.10); --font-display:"Segoe UI Variable Display","Segoe UI",Arial,sans-serif; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:"Segoe UI Variable","Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
button,input,select { font:inherit; }
.container { width:min(1180px,calc(100% - 40px)); margin-inline:auto; }
.display { font-family:"Segoe UI Variable Display","Segoe UI",Arial,sans-serif; letter-spacing:-.045em; }

.splash { position:fixed; inset:0; z-index:999; display:grid; place-items:center; background:var(--ink); color:#fff; transition:opacity .55s ease,visibility .55s ease; }
.splash.hide { opacity:0; visibility:hidden; }
.splash-inner { width:min(390px,84vw); text-align:center; }
.splash-logo { width:230px; height:200px; object-fit:contain; filter:drop-shadow(0 25px 38px rgba(0,0,0,.28)); }
.splash-title { margin-top:16px; font-family:var(--font-display); font-size:21px; font-weight:700; }
.splash-copy { color:#9ea697; font-size:13px; }
.loader { width:180px; height:4px; margin:22px auto; overflow:hidden; border-radius:20px; background:#30372d; }
.loader::after { content:""; display:block; width:42%; height:100%; border-radius:inherit; background:var(--lime); animation:slide 1s ease-in-out infinite; }
.app-credit { display:block; margin-top:18px; color:var(--lime); font-size:12px; font-weight:800; letter-spacing:.04em; }
@keyframes slide { from { transform:translateX(-120%); } to { transform:translateX(340%); } }

.top-strip { background:var(--ink); color:#b6bdb0; font-size:11px; letter-spacing:.04em; }
.top-strip .container { min-height:34px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.live-dot { display:inline-flex; align-items:center; gap:8px; }
.live-dot::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--lime); box-shadow:0 0 0 4px rgba(141,245,0,.12); }
.topbar { position:sticky; top:0; z-index:50; background:rgba(246,247,242,.88); border-bottom:1px solid rgba(227,231,220,.9); backdrop-filter:blur(18px); }
.nav { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:12px; font-family:var(--font-display); font-size:16px; font-weight:700; }
.brand img { width:52px; height:48px; object-fit:contain; }
.brand small { display:block; margin-top:1px; color:var(--muted); font:800 9px "Segoe UI",Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.nav-links { display:flex; align-items:center; gap:28px; color:#4e554a; font-size:13px; font-weight:700; }
.nav-links a { transition:color .2s; }
.nav-links a:hover { color:var(--ink); }
.btn { min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:9px; border:0; border-radius:12px; padding:0 17px; background:var(--ink); color:#fff; font-size:13px; font-weight:800; cursor:pointer; transition:transform .2s,box-shadow .2s,background .2s; }
.btn:hover { transform:translateY(-2px); box-shadow:0 12px 26px rgba(17,20,15,.15); }
.btn-lime { background:var(--lime); color:var(--ink); }
.btn-ghost { background:transparent; color:var(--ink); border:1px solid var(--line); }

.hero { position:relative; overflow:hidden; padding:82px 0 58px; }
.hero::after { content:""; position:absolute; z-index:-1; width:620px; height:620px; right:-210px; top:-260px; border-radius:50%; background:radial-gradient(circle,rgba(141,245,0,.22),rgba(141,245,0,0) 67%); }
.hero-grid { display:grid; grid-template-columns:1.18fr .82fr; gap:60px; align-items:center; }
.kicker { display:inline-flex; align-items:center; gap:10px; border:1px solid #d7e7c2; border-radius:100px; padding:8px 12px; background:#f5ffe7; color:#467900; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.kicker i { width:7px; height:7px; border-radius:50%; background:var(--lime-deep); }
.hero h1 { max-width:750px; margin:24px 0 22px; font-size:clamp(46px,6.4vw,82px); line-height:.97; }
.hero h1 em { color:var(--lime-deep); font-style:normal; }
.hero-copy { max-width:650px; margin:0; color:var(--muted); font-size:17px; line-height:1.8; }
.hero-actions { display:flex; align-items:center; gap:12px; margin-top:30px; }
.hero-note { display:flex; gap:9px; align-items:center; color:var(--muted); font-size:11px; font-weight:700; }
.hero-note span { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:#fff; border:1px solid var(--line); color:var(--success); }
.logo-stage { position:relative; min-height:440px; display:grid; place-items:center; }
.logo-stage::before { content:""; position:absolute; inset:12% 4%; border-radius:44% 56% 49% 51%; background:var(--ink); transform:rotate(-4deg); box-shadow:var(--shadow); }
.logo-stage::after { content:"TRANSPARANSI"; position:absolute; right:-16px; bottom:44px; color:#b8c0b2; font-size:9px; font-weight:800; letter-spacing:.42em; writing-mode:vertical-rl; }
.logo-stage img { position:relative; z-index:1; width:min(420px,90%); max-height:390px; object-fit:contain; filter:drop-shadow(0 28px 30px rgba(0,0,0,.25)); }

.summary { padding:12px 0 56px; }
.summary-grid { display:grid; grid-template-columns:1fr 1fr 1.15fr; gap:14px; }
.money-card { min-height:162px; padding:23px; display:flex; flex-direction:column; justify-content:space-between; border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:0 10px 30px rgba(28,36,20,.045); }
.money-card .label { display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:12px; font-weight:700; }
.money-card .icon { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:#f0f4ed; font-size:15px; }
.money-card strong { font-family:var(--font-display); font-size:clamp(24px,3vw,36px); letter-spacing:-.045em; }
.money-card.income strong { color:var(--success); }
.money-card.expense strong { color:var(--danger); }
.money-card.balance { border-color:var(--lime); background:var(--lime); }
.money-card.balance .label { color:#385700; }
.money-card.balance .icon { background:rgba(17,20,15,.12); }

.section { padding:54px 0; }
.section-dark { background:var(--ink); color:#fff; }
.section-head { margin-bottom:24px; display:flex; align-items:end; justify-content:space-between; gap:28px; }
.section-head h2 { margin:0 0 7px; font-family:var(--font-display); font-size:clamp(28px,4vw,42px); letter-spacing:-.04em; }
.section-head p { margin:0; color:var(--muted); font-size:13px; }
.section-dark .section-head p { color:#949d90; }
.legend { display:flex; gap:18px; color:#aeb6aa; font-size:11px; }
.legend span { display:inline-flex; align-items:center; gap:7px; }
.legend i { width:8px; height:8px; border-radius:3px; }
.chart-shell { padding:24px 28px 38px; border:1px solid #30372d; border-radius:24px; background:#181d16; }
.bars { height:245px; display:flex; align-items:end; gap:18px; border-bottom:1px solid #363d33; }
.bar-group { position:relative; height:100%; flex:1; display:flex; align-items:end; justify-content:center; gap:6px; }
.bar { width:min(30px,34%); min-height:3px; border-radius:7px 7px 0 0; transition:opacity .2s; }
.bar:hover { opacity:.72; }
.bar.in { background:var(--lime); }
.bar.out { background:#ff716b; }
.bar-label { position:absolute; bottom:-25px; color:#8f978b; font-size:10px; text-transform:uppercase; }
.empty-chart { align-self:center; margin:auto; color:#899184; font-size:13px; }

.filters { display:flex; gap:9px; flex-wrap:wrap; }
.control { height:44px; min-width:180px; border:1px solid var(--line); border-radius:12px; padding:0 14px; outline:0; background:#fff; color:var(--ink); }
.control:focus { border-color:var(--lime-deep); box-shadow:0 0 0 4px rgba(141,245,0,.14); }
.transactions { overflow:hidden; border:1px solid var(--line); border-radius:23px; background:#fff; box-shadow:0 12px 40px rgba(20,28,15,.04); }
.table { width:100%; border-collapse:collapse; }
.table th { padding:14px 18px; background:#f0f2ec; color:var(--muted); font-size:9px; font-weight:800; letter-spacing:.11em; text-align:left; text-transform:uppercase; }
.table td { padding:17px 18px; border-top:1px solid var(--line); font-size:13px; vertical-align:middle; }
.table tbody tr { transition:background .18s; }
.table tbody tr:hover { background:#fafcf7; }
.person { font-weight:800; }
.description { max-width:330px; margin-top:4px; overflow:hidden; color:var(--muted); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.badge { display:inline-flex; align-items:center; border-radius:100px; padding:6px 9px; font-size:9px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.badge.income { background:#e4f7eb; color:var(--success); }
.badge.expense { background:#ffe7e6; color:#ae3737; }
.amount { font-family:var(--font-display); font-weight:700; white-space:nowrap; }
.amount.income { color:var(--success); }
.amount.expense { color:var(--danger); }
.empty-row { padding:38px!important; color:var(--muted); text-align:center!important; }

.footer { padding:30px 0; background:var(--ink); color:#aab2a6; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; font-size:11px; }
.footer-brand { display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; }
.footer-brand img { width:40px; height:38px; object-fit:contain; }

.login-page { min-height:100vh; display:grid; place-items:center; padding:34px; overflow:hidden; background:#eef1e9; }
.login-page::before { content:""; position:fixed; width:640px; height:640px; left:-250px; top:-330px; border-radius:50%; background:rgba(141,245,0,.20); filter:blur(12px); }
.login-page::after { content:""; position:fixed; width:500px; height:500px; right:-240px; bottom:-250px; border-radius:50%; background:rgba(17,20,15,.08); }
.login-shell { position:relative; z-index:1; width:min(1020px,100%); min-height:630px; display:grid; grid-template-columns:.92fr 1.08fr; overflow:hidden; border:1px solid rgba(255,255,255,.75); border-radius:30px; background:#fff; box-shadow:0 38px 90px rgba(30,38,23,.16); }
.login-brand { position:relative; padding:38px 42px; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; background:var(--ink); color:#fff; }
.login-brand::after { content:""; position:absolute; width:340px; height:340px; right:-150px; bottom:-160px; border-radius:50%; background:var(--lime); filter:blur(70px); opacity:.24; }
.mini-brand { position:relative; z-index:1; font-family:var(--font-display); font-size:15px; font-weight:700; }
.mini-brand small { display:block; margin-top:3px; color:#8f988b; font:800 8px "Segoe UI",Arial,sans-serif; letter-spacing:.18em; }
.login-logo-wrap { position:relative; z-index:1; display:grid; place-items:center; }
.login-logo-wrap img { width:min(330px,90%); max-height:310px; object-fit:contain; filter:drop-shadow(0 28px 30px rgba(0,0,0,.33)); }
.login-brand-copy { position:relative; z-index:1; }
.login-brand-copy h2 { margin:0 0 10px; font-family:var(--font-display); font-size:27px; letter-spacing:-.04em; }
.login-brand-copy p { margin:0; color:#aab2a6; font-size:12px; line-height:1.7; }
.login-panel { padding:56px 64px; display:grid; align-items:center; }
.login-box { width:100%; max-width:420px; margin:auto; }
.back-link { display:inline-flex; align-items:center; gap:8px; margin-bottom:42px; color:var(--muted); font-size:12px; font-weight:700; }
.back-link:hover { color:var(--ink); }
.login-box h1 { margin:0 0 10px; font-family:var(--font-display); font-size:39px; letter-spacing:-.05em; }
.login-subtitle { margin:0 0 28px; color:var(--muted); font-size:13px; line-height:1.65; }
.field { margin-top:16px; }
.field label { display:block; margin-bottom:7px; font-size:11px; font-weight:800; }
.input-wrap { position:relative; }
.field input { width:100%; height:52px; border:1px solid var(--line); border-radius:13px; padding:0 15px; outline:0; background:#fbfcf9; color:var(--ink); }
.field input:focus { border-color:var(--lime-deep); background:#fff; box-shadow:0 0 0 4px rgba(141,245,0,.13); }
.toggle-password { position:absolute; top:50%; right:10px; transform:translateY(-50%); border:0; padding:8px; background:transparent; color:var(--muted); font-size:11px; font-weight:800; cursor:pointer; }
.login-button { width:100%; height:52px; margin-top:22px; }
.login-credit { margin:19px 0 0; color:var(--lime-deep); font-size:11px; font-weight:800; text-align:center; }
.alert { margin:0 0 18px; border-radius:12px; padding:12px 14px; font-size:11px; font-weight:700; }
.alert.error { border:1px solid #ffcaca; background:#fff0ef; color:#a73131; }
.login-help { margin-top:18px; color:#8a9186; font-size:10px; line-height:1.6; text-align:center; }

@media (max-width:840px) {
  .container { width:min(100% - 28px,1180px); }
  .top-strip .container span:last-child,.nav-links a:not(.btn) { display:none; }
  .nav { min-height:66px; }
  .brand img { width:46px; height:42px; }
  .hero { padding:52px 0 34px; }
  .hero-grid { grid-template-columns:1fr; gap:24px; }
  .hero h1 { font-size:clamp(43px,13vw,66px); }
  .hero-copy { font-size:14px; }
  .logo-stage { min-height:300px; }
  .logo-stage::before { inset:8% 7%; border-radius:34px; }
  .logo-stage img { width:min(340px,84%); max-height:280px; }
  .logo-stage::after { display:none; }
  .summary-grid { grid-template-columns:1fr 1fr; }
  .money-card.balance { grid-column:1/-1; }
  .section { padding:42px 0; }
  .section-head { align-items:start; flex-direction:column; }
  .filters { width:100%; }
  .control { flex:1; min-width:130px; }
  .transactions { border-radius:17px; overflow:auto; }
  .table { min-width:740px; }
  .login-page { padding:18px; }
  .login-shell { min-height:auto; grid-template-columns:1fr; border-radius:24px; }
  .login-brand { min-height:210px; padding:24px; }
  .login-logo-wrap img { width:170px; max-height:145px; }
  .login-brand-copy { display:none; }
  .login-panel { padding:32px 24px 28px; }
  .back-link { margin-bottom:28px; }
}
@media (max-width:520px) {
  .hero-actions { align-items:stretch; flex-direction:column; }
  .hero-actions .btn { width:100%; }
  .hero-note { justify-content:center; }
  .summary-grid { grid-template-columns:1fr; }
  .money-card.balance { grid-column:auto; }
  .money-card { min-height:138px; }
  .chart-shell { padding-inline:16px; }
  .bars { gap:8px; height:205px; }
  .footer-inner { align-items:flex-start; flex-direction:column; }
  .login-page { align-items:start; padding:0; background:#fff; }
  .login-shell { width:100%; min-height:100vh; border:0; border-radius:0; box-shadow:none; }
  .login-brand { min-height:190px; border-radius:0 0 28px 28px; }
  .login-panel { padding:30px 22px; }
  .login-box h1 { font-size:34px; }
}
