:root{
  --primary:#0d8fea;
  --primary-2:#39b9ff;
  --primary-dark:#0765c7;
  --bg:#eef7ff;
  --card:#ffffff;
  --ink:#10233a;
  --ink-2:#34516d;
  --muted:#6f8298;
  --line:#dceaf7;
  --soft:#f5faff;
  --success:#16a34a;
  --warning:#d97706;
  --danger:#dc2626;
  --violet:#7357d6;
  --radius-xl:30px;
  --radius-lg:24px;
  --radius-md:18px;
  --shadow-lg:0 28px 70px rgba(12,77,135,.15);
  --shadow-md:0 16px 38px rgba(12,77,135,.10);
  --shadow-sm:0 10px 24px rgba(12,77,135,.07);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(180deg,#d8edff,#f4faff);color:var(--ink)}
body{display:flex;justify-content:center}
button,input,textarea{font:inherit}button{border:0;cursor:pointer}button:disabled{opacity:.65;cursor:not-allowed}a{text-decoration:none;color:inherit}.hidden{display:none!important}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:1.08rem;height:1.08rem;display:block;flex:none}
.device-wrap{width:100%;display:flex;justify-content:center}.phone-shell{width:100%;max-width:430px;min-height:100vh;background:#f7fbff;position:relative;overflow:hidden;box-shadow:0 0 0 1px rgba(13,143,234,.08),var(--shadow-lg)}
.auth-screen,.main-screen{min-height:100vh}.main-screen{padding:0 18px 112px;background:linear-gradient(180deg,#eef8ff 0%,#f9fcff 55%,#f8fbff 100%)}

/* AUTH */
.auth-screen{position:relative;padding:20px 18px 34px;background:linear-gradient(180deg,#0d8fea 0%,#34b7ff 36%,#f7fbff 36%,#f7fbff 100%);overflow:hidden}.auth-glow{position:absolute;border-radius:999px;background:rgba(255,255,255,.16)}.auth-glow.one{width:220px;height:220px;right:-90px;top:14px}.auth-glow.two{width:150px;height:150px;left:-60px;top:165px}
.auth-brand{position:relative;z-index:1;color:#fff;padding:8px 2px 28px}.auth-brand p{margin:0 0 6px;font-size:11px;letter-spacing:.14em;font-weight:900;text-transform:uppercase;color:#dff4ff}.auth-brand h1{margin:0;font-size:35px;letter-spacing:-.055em;line-height:1}.auth-brand span{display:block;margin-top:12px;color:#effaff;font-size:14px;line-height:1.55}
.auth-card{position:relative;z-index:2;background:rgba(255,255,255,.98);border:1px solid rgba(220,234,247,.95);border-radius:30px;padding:16px;box-shadow:var(--shadow-lg)}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#edf6fd;border:1px solid #dcecf8;border-radius:18px;padding:5px;margin-bottom:18px}.tab{padding:12px;border-radius:14px;color:#6b8198;font-weight:900;background:transparent}.tab.active{background:#fff;color:var(--primary);box-shadow:0 10px 22px rgba(13,143,234,.12)}
.auth-form{display:none;flex-direction:column;gap:15px}.auth-form.active{display:flex}.field-group{display:flex;flex-direction:column;gap:8px}.field-group label{font-size:13px;font-weight:900;color:#152b43}.field-group small{color:var(--muted);font-size:12.2px;line-height:1.5}.input-shell{height:54px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--line);background:#f7fbff;border-radius:17px;transition:.18s}.input-shell:focus-within{background:#fff;border-color:#a7d7ff;box-shadow:0 0 0 4px rgba(13,143,234,.11)}.input-shell>.icon{color:#72a2cb}.input-shell input,.input-shell textarea{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:15px}.input-shell textarea{resize:none;padding:12px 0;height:88px}.textarea-shell{height:auto;align-items:flex-start}.toggle-pass{width:34px;height:34px;border-radius:12px;color:#6f98bd;background:#e9f5ff;display:grid;place-items:center}.strength-bar{height:8px;border-radius:999px;overflow:hidden;background:#edf3f8}.strength-bar span{display:block;width:5%;height:100%;background:var(--danger);transition:.2s}.strength-wrap p{margin:8px 0 0;color:#677d93;font-size:12px;font-weight:800}.otp-form{text-align:center}.otp-icon{width:64px;height:64px;border-radius:22px;background:#eef7ff;color:var(--primary);display:grid;place-items:center;margin:6px auto 8px}.otp-icon .icon{width:1.6rem;height:1.6rem}.otp-form h2{margin:0;font-size:28px;letter-spacing:-.04em}.otp-form p{margin:8px 0;color:var(--muted);font-size:13px}.otp-input{height:60px;text-align:center;border:1px solid var(--line);background:#f8fbff;border-radius:18px;font-size:28px;font-weight:950;letter-spacing:.36em;outline:0}
.primary-btn,.ghost-btn{height:54px;border-radius:17px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:10px}.primary-btn{color:#fff;background:linear-gradient(135deg,#39b9ff,#0d8fea 55%,#0765c7);box-shadow:0 16px 30px rgba(13,143,234,.24)}.ghost-btn{background:#eef6fd;color:#496982}.secure-note{display:flex;gap:8px;margin:0;color:#6d8195;font-size:12px;line-height:1.55}.secure-note .icon{color:#4b9de1}

/* HEADER */
.home-hero{position:relative;margin:0 -18px;padding:24px 18px 74px;background:linear-gradient(135deg,#0d8fea,#28a9f7 60%,#5bc7ff);overflow:hidden;color:#fff}.hero-bg-one,.hero-bg-two{position:absolute;border-radius:999px;background:rgba(255,255,255,.14)}.hero-bg-one{width:220px;height:220px;right:-95px;top:-12px}.hero-bg-two{width:150px;height:150px;left:-70px;bottom:12px}.home-hero-row{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.home-title{text-align:left}.home-title p{margin:0 0 6px;font-size:11px;line-height:1.35;font-weight:950;letter-spacing:.13em;text-transform:uppercase;color:#e9f8ff}.home-title h1{margin:0;font-size:34px;line-height:1;letter-spacing:-.055em}.home-title span{display:block;margin-top:8px;font-size:11px;font-weight:900;letter-spacing:.12em;color:#e4f5ff}.header-action{width:46px;height:46px;border-radius:16px;background:rgba(255,255,255,.18);color:#fff;display:grid;place-items:center;backdrop-filter:blur(14px);box-shadow:0 12px 24px rgba(4,65,125,.16)}.header-action.blue{background:#e9f5ff;color:var(--primary);box-shadow:none;border:1px solid #d7eafb}.page-header{height:104px;margin:0 -18px 0;padding:18px 18px 22px;background:#f7fbff;display:grid;grid-template-columns:46px 1fr 46px;align-items:center;gap:10px;border-bottom:1px solid #e2eff9}.back-btn,.header-spacer{width:46px;height:46px;border-radius:16px;background:#fff;color:#2c5f8f;display:grid;place-items:center;border:1px solid #dceaf7;box-shadow:var(--shadow-sm)}.page-title{text-align:left}.page-title h1{margin:0;font-size:26px;letter-spacing:-.045em;line-height:1.05}.page-title p{margin:6px 0 0;color:var(--muted);font-size:12.5px;line-height:1.35}

/* DASHBOARD */
.home-content{position:relative;margin-top:-46px;display:flex;flex-direction:column;gap:14px}.balance-card{display:flex;justify-content:space-between;align-items:center;gap:14px;background:rgba(255,255,255,.98);border:1px solid rgba(220,234,247,.95);border-radius:28px;padding:18px;box-shadow:var(--shadow-lg)}.balance-card p{margin:0;color:#5f7891;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:950}.balance-card h2{margin:8px 0 6px;font-size:32px;letter-spacing:-.06em;line-height:1}.balance-card span{font-size:12.5px;color:#6f8298;line-height:1.45}.topup-btn{height:46px;padding:0 14px;border-radius:16px;background:linear-gradient(135deg,#e8f5ff,#d9edff);color:var(--primary);font-weight:950;display:flex;align-items:center;gap:8px;border:1px solid #cfe7fb}.menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.menu-card{min-height:132px;background:#fff;border:1px solid rgba(220,234,247,.95);border-radius:24px;padding:16px;box-shadow:var(--shadow-md);position:relative;overflow:hidden}.menu-card:after{content:"";position:absolute;right:-26px;top:-26px;width:90px;height:90px;border-radius:999px;background:linear-gradient(180deg,rgba(13,143,234,.07),rgba(57,185,255,.14))}.menu-icon{width:48px;height:48px;border-radius:17px;display:grid;place-items:center;margin-bottom:16px}.menu-icon .icon{width:1.25rem;height:1.25rem}.blue{background:#e8f5ff;color:#1688e8}.gold{background:#fff2df;color:#c87812}.cyan{background:#e7faff;color:#0d8aa6}.red{background:#fff0f0;color:#d13d3d}.menu-card strong{display:block;font-size:17px;margin-bottom:5px}.menu-card small{display:block;color:#6f8298;font-size:12.5px;line-height:1.45}.panel-card{background:#fff;border:1px solid rgba(220,234,247,.95);border-radius:24px;padding:16px;box-shadow:var(--shadow-md)}.panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-head p{margin:0;color:#5f7891;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:950}.panel-head h3{margin:4px 0 0;font-size:22px;letter-spacing:-.04em}.panel-head span{font-size:12px;font-weight:900;color:#1688e8;background:#eaf6ff;border:1px solid #d4eafa;padding:7px 10px;border-radius:999px}

/* PAGES */
.page-body{padding:16px 0 0}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.stat-card{background:#fff;border:1px solid rgba(220,234,247,.95);border-radius:22px;padding:15px;box-shadow:var(--shadow-sm)}.stat-card p{margin:0 0 9px;color:#66819b;font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:950}.stat-card strong{font-size:23px;letter-spacing:-.04em}.stack-list,.compact-list{display:flex;flex-direction:column;gap:11px}.list-item{background:#fff;border:1px solid rgba(220,234,247,.95);border-radius:22px;padding:15px;box-shadow:var(--shadow-sm)}.list-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.list-item h4{margin:0 0 7px;font-size:16px;line-height:1.3}.list-item p{margin:0;color:#6d8195;font-size:12.8px;line-height:1.55}.pill{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:11.5px;font-weight:950;background:#eef6ff;color:#1a82dc;border:1px solid #d7eafb;white-space:nowrap}.pill.success{background:#ecfdf3;color:#14914b;border-color:#c8f0d6}.pill.warn{background:#fff8e8;color:#b76a04;border-color:#f7dfac}.pill.danger{background:#fff1f1;color:#c52f2f;border-color:#ffd0d0}.row-actions{display:flex;gap:8px;margin-top:12px}.mini-btn{height:36px;padding:0 12px;border-radius:12px;background:#eef6ff;color:#227bd2;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:900}.empty-card{padding:32px 18px;text-align:center}.empty-card .icon{margin:0 auto 10px;color:#2290e8;width:1.6rem;height:1.6rem}.empty-card h4{margin:0 0 7px;font-size:17px}.empty-card p{margin:0;color:#70859b;font-size:13px}.compact-item{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;background:#f8fbff;border:1px solid #e3eff9;border-radius:18px;padding:12px}.compact-item strong{font-size:14px}.compact-item span{font-size:12px;color:#73879d}.compact-item .pill{font-size:10.5px;padding:6px 8px}

/* INFORMATION */
.segmented{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#edf6fd;border:1px solid #dcecf8;border-radius:18px;padding:5px;margin-bottom:14px}.seg{height:42px;border-radius:14px;color:#6b8198;font-weight:950;background:transparent}.seg.active{background:#fff;color:var(--primary);box-shadow:0 10px 22px rgba(13,143,234,.10)}

/* PROFILE */
.profile-wrap{display:flex;flex-direction:column;gap:14px}.profile-card{background:#fff;border:1px solid rgba(220,234,247,.95);border-radius:24px;padding:16px;box-shadow:var(--shadow-md)}.profile-card h3{margin:0 0 12px;font-size:20px;letter-spacing:-.035em}.profile-row{display:grid;grid-template-columns:120px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid #eef4fa}.profile-row:last-child{border-bottom:0}.profile-row span{color:#6c8197;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.profile-row strong{font-size:13.4px;line-height:1.45;text-align:right;word-break:break-word}.qr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.qr-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;border-radius:18px;background:#f8fbff;border:1px solid #e2eff9;text-align:center}.qr-box{position:relative;width:76px;height:76px;border-radius:12px;background:#fff;padding:5px;border:1px solid #dceaf7}.qr-box img.qr-img{width:100%;height:100%;display:block;border-radius:8px}.qr-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:24px;height:24px;border-radius:8px;background:#fff;display:grid;place-items:center;color:#0d8fea;font-weight:950;font-size:14px;border:1px solid #dceaf7}.qr-card strong{font-size:12px;line-height:1.25}.logout-btn{width:100%;height:52px;border-radius:17px;background:#fff1f1;color:#c83232;border:1px solid #ffd0d0;font-weight:950;display:flex;align-items:center;justify-content:center;gap:9px}

/* AI */
.ai-card{height:calc(100vh - 128px);display:flex;flex-direction:column;background:#fff;border:1px solid rgba(220,234,247,.95);border-radius:24px;box-shadow:var(--shadow-md);overflow:hidden}.chat-list{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.chat-bubble{max-width:86%;padding:12px 14px;border-radius:18px;font-size:13.2px;line-height:1.55}.chat-bubble.bot{align-self:flex-start;background:#eef7ff;color:#25455f;border:1px solid #d6eaf9}.chat-bubble.me{align-self:flex-end;background:linear-gradient(135deg,#39b9ff,#0d8fea);color:#fff}.chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid #e4eff8;background:#f9fcff}.chat-form input{flex:1;border:1px solid #dceaf7;border-radius:16px;height:46px;padding:0 14px;outline:0}.chat-form button{width:46px;height:46px;border-radius:16px;background:#0d8fea;color:#fff;display:grid;place-items:center}

/* MODAL QRIS */
.modal{position:fixed;inset:0;z-index:90;display:flex;align-items:flex-end;justify-content:center}.modal-backdrop{position:absolute;inset:0;background:rgba(15,35,55,.48);backdrop-filter:blur(8px)}.modal-card{position:relative;width:min(430px,100%);background:#fff;border-radius:30px 30px 0 0;padding:18px;box-shadow:0 -24px 60px rgba(14,44,80,.22);max-height:86vh;overflow:auto}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}.modal-head p{margin:0 0 5px;color:#66819b;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:950}.modal-head h3{margin:0;font-size:24px;letter-spacing:-.045em}.modal-close{width:38px;height:38px;border-radius:14px;background:#eef6fd;color:#3a719f;display:grid;place-items:center}.modal-close .icon{transform:rotate(45deg)}.qris-result{text-align:center}.qris-card{background:#f8fbff;border:1px solid #e2eff9;border-radius:24px;padding:16px}.qris-card h4{margin:0 0 6px;font-size:18px}.qris-card p{margin:0;color:#6f8298;font-size:12.7px;line-height:1.55}.qris-img{width:245px;max-width:100%;border-radius:18px;background:#fff;padding:10px;border:1px solid #dceaf7;margin:14px auto 12px;display:block}.qris-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.qris-actions a,.qris-actions button{height:40px;border-radius:13px;padding:0 13px;font-size:12.5px;font-weight:950;background:#eef6ff;color:#227bd2;display:flex;align-items:center;gap:7px}

/* BOTTOM NAV */
.bottom-nav{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:50;width:min(394px,calc(100% - 24px));display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:10px;border-radius:24px;background:rgba(255,255,255,.94);border:1px solid rgba(220,234,247,.95);box-shadow:0 24px 55px rgba(12,77,135,.16);backdrop-filter:blur(20px)}.quick{height:58px;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#71879d;font-size:11.5px;font-weight:950}.quick.active{background:linear-gradient(135deg,#ecf7ff,#dcefff);color:#0d8fea}
.toast{position:fixed;z-index:120;left:50%;bottom:92px;transform:translateX(-50%) translateY(12px);max-width:calc(100% - 36px);background:rgba(13,27,43,.96);color:#fff;border-radius:18px;padding:13px 15px;font-size:12.7px;font-weight:800;line-height:1.5;box-shadow:0 18px 40px rgba(4,20,38,.22);opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:431px){body{padding:0 16px}.phone-shell{border-left:1px solid rgba(13,143,234,.09);border-right:1px solid rgba(13,143,234,.09)}}
@media(max-width:360px){.home-title h1{font-size:30px}.menu-grid,.stat-grid{grid-template-columns:1fr}.qr-grid{grid-template-columns:1fr 1fr}.profile-row{grid-template-columns:1fr}.profile-row strong{text-align:left}.bottom-nav{width:calc(100% - 18px)}}
