
:root{
  --bg:#040714;--panel:#0b1429;--panel2:#101b37;--line:rgba(145,160,255,.14);
  --text:#f7f8ff;--muted:#98a4bf;--purple:#9a35ff;--blue:#1e9cff;
  --green:#20df91;--red:#ff526f;--yellow:#ffc62e;--shadow:0 24px 70px rgba(0,0,0,.42);
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--bg)}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:
radial-gradient(circle at 15% 5%,rgba(95,42,255,.13),transparent 27%),
radial-gradient(circle at 90% 5%,rgba(25,112,255,.09),transparent 25%),
var(--bg);color:var(--text);line-height:1.5;min-height:100vh;padding-bottom:86px}
a{text-decoration:none;color:inherit}button,input{font:inherit}
.phone-shell{width:min(100%,520px);margin:auto;padding:0 16px 28px}
.app-header,.sub-header{height:68px;display:flex;align-items:center;justify-content:space-between}
.sub-header{position:sticky;top:0;z-index:20;background:rgba(4,7,20,.88);backdrop-filter:blur(15px)}
.sub-header a{font-size:36px}.sub-header span{font-size:21px;color:#8b60ff}
.brand{display:flex;align-items:center;gap:9px;font-size:19px}.brand-mark{position:relative;width:31px;height:31px}.brand-mark:before,.brand-mark:after,.brand-mark i:before,.brand-mark i:after{content:"";position:absolute;border-radius:6px;background:linear-gradient(145deg,#238eff,#7246ff 52%,#cc2edb)}.brand-mark:before{left:0;top:4px;width:7px;height:24px}.brand-mark:after{right:0;top:4px;width:7px;height:24px}.brand-mark i:before{left:7px;top:5px;width:9px;height:20px;transform:rotate(-42deg)}.brand-mark i:after{right:7px;top:5px;width:9px;height:20px;transform:rotate(42deg)}
.icon-button{position:relative;background:none;border:0;color:white;font-size:20px}.icon-button b{position:absolute;right:-8px;top:-7px;background:#ff4163;border-radius:50%;font-size:9px;padding:2px 5px}
.overview-hero{padding:12px 2px 18px}.overview-hero p{font-size:13px;color:#cbd1e3}.overview-hero h1{font-size:26px;line-height:1.35;margin-top:7px}
.app-card{padding:19px;background:linear-gradient(145deg,rgba(16,27,56,.96),rgba(7,16,35,.97));border:1px solid rgba(255,255,255,.075);border-radius:17px;box-shadow:0 12px 35px rgba(0,0,0,.12);margin-bottom:13px}
.app-card small{color:#a6afc6}.trust-row{display:flex;align-items:end;justify-content:space-between;margin-top:8px}.trust-number strong{font-size:52px;line-height:1}.trust-number>span{color:#a9b2c8}.trust-number em{display:block;width:max-content;margin-top:9px;padding:4px 11px;border-radius:99px;background:rgba(23,187,111,.16);color:var(--green);font-style:normal}.trust-card p{color:#aab3c8;margin-top:12px}.trust-card p b{color:var(--green)}
.score-gauge{width:150px;height:84px;position:relative;overflow:hidden;border-radius:150px 150px 0 0;background:conic-gradient(from 270deg at 50% 100%,#22df91 0 25%,#1e9cff 25% 39%,#9a35ff 39% 50%,transparent 50%)}.score-gauge:after{content:"";position:absolute;left:19px;right:19px;bottom:0;height:59px;border-radius:120px 120px 0 0;background:#0b1429}
.metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:13px}.metric-card{margin:0}.metric-card small,.metric-card strong,.metric-card span{display:block}.metric-card strong{font-size:19px;margin-top:4px}.metric-card span{font-size:11px;margin-top:6px}.positive{color:var(--green)}.negative{color:var(--red)}
.wallet-summary{background:radial-gradient(circle at 90% 25%,rgba(84,49,255,.55),transparent 36%),linear-gradient(135deg,#211158,#11166b)}.wallet-summary h2{font-size:34px;margin-top:4px}.wallet-summary h2 span{font-size:16px}.wallet-summary>a{display:inline-block;margin-top:10px;padding:8px 13px;border-radius:8px;background:rgba(255,255,255,.09)}.limit-track{position:relative;height:9px;margin-top:20px;border-radius:99px;background:rgba(255,255,255,.16)}.limit-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#b229ff,#5656ff)}.limit-track b{position:absolute;top:50%;width:18px;height:18px;border-radius:50%;background:white;border:5px solid #9c6bff;transform:translate(-50%,-50%)}.limit-labels{display:flex;justify-content:space-between;color:#aaaed0;font-size:10px;margin-top:7px}
.section-title{display:flex;align-items:center;justify-content:space-between}.section-title span{font-size:28px}.section-title h2{font-size:19px}.ai-summary>p,.latest-advice>p{color:#c8cfe0;margin-top:14px}.ai-summary p b{color:#fff}.advice-points{display:flex;flex-direction:column;gap:8px;margin-top:15px;color:#b9c2d6;font-size:13px}.primary-button{display:block;text-align:center;padding:13px;border-radius:10px;background:linear-gradient(90deg,#7f2dff,#c02ed4 55%,#1a9dff);font-weight:900;margin-top:17px}
.wallet-hero{position:relative;overflow:hidden;padding:24px;border-radius:20px;background:radial-gradient(circle at 86% 25%,rgba(57,42,255,.85),transparent 34%),linear-gradient(135deg,#21105c,#131274 60%,#071741);margin-bottom:14px}.wallet-hero h1{font-size:42px;margin-top:5px}.wallet-hero p{color:#b5bdd2}.wallet-orb{position:absolute;right:25px;top:35px;width:80px;height:80px;border-radius:24px;background:linear-gradient(145deg,#9a31ff,#177fff);display:grid;place-items:center;font-size:38px;font-weight:900;box-shadow:0 14px 35px rgba(73,47,255,.35)}
.level-head,.progress-info{display:flex;justify-content:space-between}.level-head small,.level-head strong{display:block}.level-head strong{font-size:20px}.progress-track{height:9px;border-radius:99px;background:#17203a;margin:16px 0}.progress-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#a32cff,#5b55ff)}.progress-info{font-size:11px;color:#9ea8c2}.progress-info b{color:white}
.eligibility-list{list-style:none;margin-top:12px}.eligibility-list li{display:grid;grid-template-columns:1fr auto auto;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:13px}.eligibility-list em{font-style:normal;padding:3px 8px;border-radius:99px;font-size:10px}.eligibility-list .good{background:rgba(31,201,123,.13);color:var(--green)}.eligibility-list .mid{background:rgba(255,195,46,.13);color:var(--yellow)}
.improve-card>a,.profile-menu>a{display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.06)}.improve-card>a>span,.profile-menu>a>span{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:rgba(102,61,255,.15)}.improve-card p,.profile-menu p{font-size:11px;color:#9ba6c0}.improve-card em,.profile-menu em{font-size:25px;color:#7f8ba8;font-style:normal}.disclaimer{font-size:11px;color:#8e99b3;padding:2px 5px 10px}
.ai-quota{display:flex;justify-content:space-between;align-items:center;padding:22px;border-radius:18px;background:radial-gradient(circle at 88% 20%,rgba(87,46,255,.55),transparent 34%),linear-gradient(145deg,#15103d,#0b1732);margin-bottom:16px}.ai-quota h1{font-size:43px}.ai-quota h1 span{font-size:18px;color:#b5bed1}.ai-quota p{font-size:11px;color:#abb5ca;max-width:260px}.bot-orb{width:80px;height:80px;border-radius:50%;display:grid;place-items:center;font-size:42px;background:rgba(111,64,255,.18)}
.suggested-questions{margin-bottom:14px}.suggested-questions h2{font-size:17px;margin-bottom:10px}.suggested-questions button{width:100%;text-align:left;padding:12px;border-radius:11px;border:1px solid rgba(255,255,255,.07);background:#0a1329;color:#d6dbea;margin:5px 0}
.chat-window{min-height:300px}.message{display:flex;gap:9px;margin:13px 0}.message span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(86,53,255,.16)}.message p{max-width:82%;padding:12px 13px;border-radius:14px;background:#111b35;color:#d2d8e7;font-size:13px}.message.user{justify-content:flex-end}.message.user p{background:linear-gradient(135deg,#7136e8,#4b49dc)}
.chat-form{display:grid;grid-template-columns:1fr 48px;gap:8px;margin-bottom:14px}.chat-form input{height:48px;border:1px solid rgba(255,255,255,.08);background:#0a1328;border-radius:12px;padding:0 14px;color:white}.chat-form button{border:0;border-radius:12px;background:linear-gradient(145deg,#7b2cff,#435cff);color:white}
.profile-hero{text-align:center;padding-top:26px}.profile-avatar{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;margin:auto;background:linear-gradient(145deg,#238fff,#9a35ff);font-size:39px;font-weight:900}.profile-hero h1{margin-top:13px}.profile-hero p{color:#9ea8c1}.profile-meta{display:flex;justify-content:center;gap:8px;margin-top:12px}.profile-meta span{padding:5px 10px;border-radius:99px;background:rgba(111,70,255,.15);color:#a68cff;font-size:11px}
.profile-menu{display:flex;flex-direction:column;background:linear-gradient(145deg,#111a35,#071027);border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:0 17px}.logout-button{width:100%;padding:13px;border-radius:11px;border:1px solid rgba(255,82,111,.25);background:rgba(255,82,111,.08);color:#ff778e;margin-top:14px}
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:100;height:78px;display:grid;grid-template-columns:repeat(4,1fr);background:rgba(4,7,16,.95);border-top:1px solid rgba(255,255,255,.1);backdrop-filter:blur(18px);padding-bottom:max(7px,env(safe-area-inset-bottom))}
.bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#818ba4;gap:2px}.bottom-nav a span{font-size:22px;transition:.2s}.bottom-nav a small{font-size:9px}.bottom-nav a.active{color:#8d61ff}.bottom-nav a.active:before{content:"";position:absolute;top:0;width:34px;height:3px;border-radius:0 0 5px 5px;background:linear-gradient(90deg,#a930ff,#2d8dff);box-shadow:0 0 14px #7f4dff}.bottom-nav a.active span{transform:translateY(-2px) scale(1.08);text-shadow:0 0 14px #7455ff}
@media(min-width:761px){
  body{display:grid;place-items:start center;padding-top:18px}
  .phone-shell{border:1px solid rgba(255,255,255,.1);border-radius:28px;background:rgba(3,6,15,.65);box-shadow:var(--shadow)}
  .bottom-nav{left:50%;right:auto;width:520px;transform:translateX(-50%);border-left:1px solid rgba(255,255,255,.08);border-right:1px solid rgba(255,255,255,.08);border-radius:18px 18px 0 0}
}


/* Monee v5 premium motion layer */
.ambient{position:fixed;border-radius:50%;filter:blur(110px);pointer-events:none;z-index:0;animation:drift 12s ease-in-out infinite alternate}.ambient.one{width:320px;height:320px;left:-130px;top:-80px;background:rgba(103,43,255,.18)}.ambient.two{width:360px;height:360px;right:-180px;top:180px;background:rgba(22,112,255,.12);animation-delay:-4s}.noise{position:fixed;inset:0;pointer-events:none;opacity:.035;z-index:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E")}@keyframes drift{to{transform:translate3d(20px,35px,0) scale(1.08)}}
.phone-shell{position:relative;z-index:1}.page-loader{position:fixed;inset:0;z-index:999;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;background:rgba(4,7,20,.97);transition:opacity .45s ease,visibility .45s ease}.page-loader.hidden{opacity:0;visibility:hidden}.loader-orb{width:74px;height:74px;border-radius:24px;background:linear-gradient(145deg,#8e31ff,#1d8dff);display:grid;place-items:center;font-size:28px;box-shadow:0 18px 45px rgba(77,54,255,.35);animation:pulse 1.4s ease-in-out infinite}.page-loader strong{margin-top:22px;font-size:18px}.page-loader p{color:#a5aec4;margin-top:6px;font-size:13px;text-align:center}.loader-progress{width:min(280px,75vw);height:5px;border-radius:99px;background:#141d36;margin-top:20px;overflow:hidden}.loader-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#a632ff,#2a8eff);animation:loadbar 1.55s ease forwards}@keyframes loadbar{to{width:100%}}@keyframes pulse{50%{transform:translateY(-5px) scale(1.04)}}
.reveal{opacity:0;transform:translateY(18px) scale(.985);filter:blur(7px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1),filter .6s ease}.reveal.visible{opacity:1;transform:none;filter:none}.typing-text:after{content:"";display:inline-block;width:2px;height:1em;background:#8f6cff;margin-left:3px;vertical-align:-2px;animation:blink .8s infinite}@keyframes blink{50%{opacity:0}}
.bottom-nav{left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:10px!important;width:min(calc(100% - 20px),520px)!important;height:68px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:22px!important;background:rgba(7,10,23,.82)!important;backdrop-filter:blur(22px)!important;box-shadow:0 16px 40px rgba(0,0,0,.4)!important;padding:5px!important}.bottom-nav a{border-radius:17px}.bottom-nav a.active{color:white!important;background:linear-gradient(145deg,rgba(110,69,255,.38),rgba(42,107,255,.16))}.bottom-nav a.active:before{display:none!important}.bottom-nav a.active span{filter:drop-shadow(0 0 10px #8060ff)}
.app-card{backdrop-filter:blur(16px)}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none;filter:none}.page-loader{display:none}}
