
:root{
  --brand:#173E76;
  --brand-2:#0f5ccf;
  --brand-3:#1677ee;
  --brand-soft:#eaf2ff;
  --surface:#ffffff;
  --surface-2:#f6f8fb;
  --text:#11233c;
  --muted:#718096;
  --line:#e4e9f0;
  --success:#159447;
  --danger:#d9485f;
  --warning:#f2a526;
  --shadow:0 20px 55px rgba(17,35,60,.14);
  --radius:24px;
  --safe-top:max(18px, env(safe-area-inset-top));
  --safe-bottom:max(18px, env(safe-area-inset-bottom));
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#eef3f8;color:var(--text)}
button,input,textarea{font:inherit}
button{cursor:pointer}
body{min-height:100vh}

.desktop-shell{
  min-height:100vh;
  display:flex;
  gap:44px;
  align-items:center;
  justify-content:center;
  padding:28px;
}
.phone-shell{
  width:min(100%, 420px);
  height:min(890px, calc(100vh - 36px));
  min-height:690px;
  border-radius:44px;
  background:#0d1420;
  padding:10px;
  box-shadow:0 40px 90px rgba(19,46,83,.25), inset 0 0 0 1px rgba(255,255,255,.18);
  position:relative;
}
.phone-speaker{
  position:absolute;
  z-index:20;
  width:116px;
  height:28px;
  border-radius:0 0 18px 18px;
  background:#0d1420;
  top:10px;
  left:50%;
  transform:translateX(-50%);
}
.app{
  height:100%;
  overflow:hidden;
  border-radius:35px;
  background:var(--surface-2);
  position:relative;
}

.demo-panel{width:310px}
.demo-panel h1{font-size:36px;margin:12px 0 10px;color:var(--brand)}
.demo-panel p{line-height:1.55;color:#52647c}
.demo-badge{display:inline-flex;padding:7px 11px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:800;letter-spacing:.08em}
.demo-card{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:14px 16px;border-radius:16px;margin-top:12px;box-shadow:0 8px 24px rgba(23,62,118,.08)}
.demo-card span{font-size:13px;color:var(--muted)}
.demo-card strong{color:var(--brand)}
.ghost-wide{width:100%;margin-top:16px;border:1px solid #cbd6e4;background:transparent;padding:12px 16px;border-radius:14px;color:var(--brand);font-weight:700}

.screen{
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.scroll{overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.scroll::-webkit-scrollbar{display:none}
.pad{padding:22px}
.pad-top{padding-top:calc(var(--safe-top) + 24px)}
.brand-bg{
  background:
   radial-gradient(circle at 105% 20%, rgba(58,132,255,.22), transparent 28%),
   radial-gradient(circle at -10% 90%, rgba(70,154,255,.22), transparent 33%),
   linear-gradient(160deg, #173E76 0%, #0c559f 58%, #0a6adc 100%);
  color:#fff;
}
.status-spacer{height:18px}
.topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:calc(var(--safe-top) + 8px) 20px 12px;
}
.topbar.white{background:#fff}
.topbar-title{font-weight:800;font-size:18px}
.icon-btn{
  width:38px;height:38px;border:none;border-radius:12px;
  display:grid;place-items:center;background:rgba(255,255,255,.14);color:inherit
}
.icon-btn.light{background:#f0f4f9;color:var(--brand)}
.logo-lockup{display:flex;align-items:center;gap:10px}
.logo-mark{width:39px;height:39px}
.logo-text{line-height:.98}
.logo-text b{display:block;font-size:19px;letter-spacing:.02em}
.logo-text span{font-size:15px}
.hero{
  padding:24px 28px 18px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.hero h1{font-size:34px;line-height:1.05;margin:22px 0 12px;letter-spacing:-.03em}
.hero p{font-size:17px;line-height:1.5;color:rgba(255,255,255,.86);margin:0}
.hero-visual{
  flex:1;min-height:230px;display:grid;place-items:center;position:relative
}
.globe{
  width:180px;height:180px;border-radius:50%;
  background:radial-gradient(circle at 34% 28%,#3f94ff 0 6%,#1f78db 7% 38%,#0b4f9e 39% 100%);
  box-shadow:0 25px 70px rgba(0,0,0,.22), inset -18px -20px 45px rgba(0,0,0,.14);
  position:relative;
}
.globe:before,.globe:after{
  content:"";position:absolute;inset:16px;border:1px solid rgba(255,255,255,.22);border-radius:50%
}
.globe:after{inset:46px -18px;transform:rotate(90deg)}
.globe-logo{position:absolute;inset:0;display:grid;place-items:center}
.globe-logo svg{width:80px;height:80px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.18))}
.float-chip{
  position:absolute;padding:9px 12px;border-radius:16px;background:rgba(255,255,255,.95);
  box-shadow:0 12px 28px rgba(0,0,0,.16);color:var(--brand);font-weight:800;font-size:12px
}
.fc1{left:18px;top:42px}.fc2{right:12px;top:90px}.fc3{left:50px;bottom:28px}
.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:8px 0 18px}
.feature{text-align:center;font-size:12px;color:rgba(255,255,255,.92)}
.feature i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin:0 auto 7px;background:rgba(255,255,255,.13)}
.cta-wrap{padding:0 24px calc(var(--safe-bottom) + 8px)}
.btn{
  width:100%;border:none;border-radius:15px;padding:15px 18px;font-weight:800;
  background:linear-gradient(135deg,var(--brand-3),#0f5ccf);color:#fff;
  box-shadow:0 12px 28px rgba(15,92,207,.22)
}
.btn.white{background:#fff;color:var(--brand);box-shadow:none}
.btn.outline{background:transparent;border:1.5px solid #d8e1ed;color:var(--brand);box-shadow:none}
.btn:active{transform:translateY(1px)}
.link-btn{border:none;background:none;color:var(--brand-2);font-weight:700;padding:10px}

.onboard{
  background:#fff;
  padding:calc(var(--safe-top) + 34px) 24px calc(var(--safe-bottom) + 18px);
}
.onboard .skip{align-self:flex-end}
.illustration{
  height:310px;display:grid;place-items:center;
}
.illustration-card{
  width:220px;height:220px;border-radius:48px;background:linear-gradient(145deg,#e8f2ff,#f8fbff);
  display:grid;place-items:center;position:relative
}
.mock-phone{width:86px;height:156px;border:8px solid #173e76;border-radius:23px;background:linear-gradient(#216fc5,#173e76);box-shadow:0 18px 35px rgba(23,62,118,.2);transform:rotate(-7deg);position:relative}
.mock-phone:after{content:"";position:absolute;width:34px;height:5px;border-radius:5px;background:#0f2f5e;top:7px;left:50%;transform:translateX(-50%)}
.bubble{position:absolute;right:18px;top:28px;width:56px;height:56px;border-radius:50%;background:#1976ed;color:#fff;display:grid;place-items:center;font-weight:900;font-size:20px}
.shield{width:112px;height:132px;background:linear-gradient(#2e88ff,#0f5ccf);clip-path:polygon(50% 0,92% 18%,84% 72%,50% 100%,16% 72%,8% 18%);display:grid;place-items:center;color:#fff}
.world{width:140px;height:140px;border-radius:50%;background:linear-gradient(145deg,#2a85f4,#0d58a4);display:grid;place-items:center;color:#fff}
.onboard h2{text-align:center;font-size:28px;color:var(--brand);margin:12px 0 8px}
.onboard p{text-align:center;line-height:1.5;color:var(--muted);margin:0 auto;max-width:310px}
.dots{display:flex;gap:7px;justify-content:center;margin:22px 0}
.dot{width:7px;height:7px;border-radius:999px;background:#d5deea}
.dot.active{width:24px;background:var(--brand-3)}

.form-screen{background:#fff}
.form-content{padding:26px 24px;overflow:auto;flex:1}
.form-title{font-size:28px;line-height:1.1;color:var(--brand);margin:16px 0 10px}
.form-sub{color:var(--muted);line-height:1.5;margin:0 0 24px}
.field{
  border:1.5px solid #dce4ee;border-radius:16px;padding:13px 14px;margin-bottom:13px;background:#fff;
}
.field:focus-within{border-color:#70a9f5;box-shadow:0 0 0 4px rgba(23,119,238,.08)}
.field label{display:block;font-size:11px;color:#7d8ba0;margin-bottom:6px}
.field input,.field textarea{
  border:0;outline:0;width:100%;font-size:16px;color:var(--text);background:transparent
}
.phone-field{display:flex;gap:10px;align-items:center}
.country-code{display:flex;align-items:center;gap:7px;font-weight:800;border-right:1px solid #dce4ee;padding-right:10px}
.flag{font-size:21px}
.helper{text-align:center;color:var(--muted);font-size:13px;margin-top:14px}
.otp-row{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:30px 0}
.otp-row input{width:100%;aspect-ratio:1/1.05;border:1.5px solid #dbe4ee;border-radius:12px;text-align:center;font-size:23px;font-weight:800;outline:none}
.otp-row input:focus{border-color:var(--brand-3);box-shadow:0 0 0 4px rgba(23,119,238,.08)}
.note-demo{background:#eff6ff;border:1px solid #d6e9ff;color:#31577f;padding:12px 14px;border-radius:14px;font-size:13px;margin:8px 0 18px}
.kyc-card{height:190px;border-radius:24px;background:linear-gradient(145deg,#eef5fd,#e0ecfb);display:grid;place-items:center;margin:20px 0}
.id-card{width:215px;height:126px;border-radius:18px;background:#fff;box-shadow:0 14px 35px rgba(23,62,118,.12);display:flex;gap:18px;align-items:center;padding:18px}
.avatar{width:60px;height:60px;border-radius:50%;background:#cbd7e6;position:relative}
.avatar:before{content:"";position:absolute;width:22px;height:22px;border-radius:50%;background:#7d90a8;left:19px;top:10px}
.avatar:after{content:"";position:absolute;width:38px;height:22px;border-radius:50% 50% 30% 30%;background:#7d90a8;left:11px;bottom:7px}
.lines{flex:1}.lines i{display:block;height:8px;border-radius:8px;background:#d9e2ee;margin:10px 0}.lines i:nth-child(2){width:76%}.lines i:nth-child(3){width:58%}
.checklist{display:grid;gap:11px;margin:18px 0 24px}
.check{display:flex;gap:10px;align-items:center;font-size:14px;color:#53677f}.check b{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#e8f2ff;color:var(--brand-2)}
.success-screen{background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:32px;text-align:center}
.success-icon{width:108px;height:108px;border-radius:50%;background:linear-gradient(145deg,#2c89ff,#0f5ccf);display:grid;place-items:center;color:#fff;box-shadow:0 22px 45px rgba(15,92,207,.24)}
.success-screen h2{font-size:29px;color:var(--brand);margin:25px 0 8px}
.success-screen p{color:var(--muted);line-height:1.5;margin:0 0 28px}

.home{
  background:linear-gradient(180deg,var(--brand) 0 44%,#f5f7fb 44% 100%);
}
.home-head{color:#fff;padding:calc(var(--safe-top) + 18px) 20px 14px}
.greeting{display:flex;justify-content:space-between;align-items:center}
.greeting h2{font-size:25px;margin:18px 0 2px}.greeting p{margin:0;color:rgba(255,255,255,.78)}
.balance-card{
  margin-top:18px;padding:20px;border-radius:22px;
  background:linear-gradient(135deg,#2d75cf,#398cf1);
  box-shadow:0 18px 35px rgba(0,0,0,.17)
}
.balance-card small{color:rgba(255,255,255,.85)}
.balance{font-size:36px;font-weight:900;margin:5px 0 14px;letter-spacing:-.02em}
.currency-row{display:flex;justify-content:space-between;align-items:center;font-size:14px}
.actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0 0}
.action{text-align:center;color:#fff;font-size:12px}
.action button{width:54px;height:54px;border-radius:50%;border:none;background:#fff;color:var(--brand-2);display:grid;place-items:center;margin:0 auto 7px;box-shadow:0 9px 20px rgba(0,0,0,.14)}
.panel{
  flex:1;background:#fff;border-radius:28px 28px 0 0;padding:18px 18px 90px;overflow:auto
}
.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.panel-title h3{margin:0;font-size:18px}
.panel-title button{border:none;background:none;color:var(--brand-2);font-weight:700}
.tx-list{display:grid}
.tx{display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:center;padding:13px 2px;border-bottom:1px solid #edf1f5}
.tx:last-child{border-bottom:none}
.tx-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#eaf2ff;color:var(--brand-2)}
.tx-icon.in{background:#e7f7ee;color:var(--success)}
.tx-icon.out{background:#edf3ff;color:#3976d9}
.tx-icon.pay{background:#fff2e8;color:#d36d1f}
.tx-main b{font-size:14px}.tx-main span{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.tx-amount{font-weight:850;font-size:13px}.tx-amount.positive{color:var(--success)}
.bottom-nav{
  position:absolute;bottom:0;left:0;right:0;height:76px;background:#fff;
  display:grid;grid-template-columns:repeat(5,1fr);align-items:center;
  padding:7px 10px calc(var(--safe-bottom) - 8px);
  box-shadow:0 -12px 30px rgba(17,35,60,.08);z-index:9
}
.nav-item{border:none;background:none;color:#8b9aac;font-size:10px;display:grid;place-items:center;gap:4px}
.nav-item.active{color:var(--brand-2);font-weight:800}
.nav-item.center{width:54px;height:54px;border-radius:50%;background:var(--brand-2);color:#fff;justify-self:center;margin-top:-25px;box-shadow:0 10px 22px rgba(15,92,207,.28)}

.section{background:#fff;min-height:100%}
.amount-box{background:#f0f4f9;border-radius:18px;padding:18px;margin:16px 0}
.amount-label{font-size:12px;color:var(--muted)}
.amount-row{display:flex;align-items:center;gap:8px;margin-top:7px}
.amount-row input{border:0;outline:0;background:transparent;font-size:34px;font-weight:900;min-width:0;flex:1;color:var(--text)}
.amount-row strong{color:var(--brand)}
.contact-card{display:flex;align-items:center;gap:12px;padding:13px;border-radius:16px;border:1px solid #e0e7ef}
.contact-avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(145deg,#d6e9ff,#9dc7fb);display:grid;place-items:center;color:var(--brand);font-weight:900}
.contact-card small{display:block;color:var(--muted);margin-top:3px}
.summary{display:grid;gap:0;margin:18px 0;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.summary-row{display:flex;justify-content:space-between;padding:14px 15px;border-bottom:1px solid var(--line);font-size:14px}
.summary-row:last-child{border-bottom:0}.summary-row strong{font-size:15px}
.receipt-card{width:100%;border-radius:24px;background:#fff;border:1px solid var(--line);padding:20px;text-align:left;box-shadow:0 18px 45px rgba(17,35,60,.08)}
.receipt-logo{display:flex;align-items:center;gap:10px;margin-bottom:20px;color:var(--brand)}
.receipt-line{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf1f4;font-size:14px}
.receipt-line:last-child{border-bottom:0}
.qr-wrap{background:#fff;border:1px solid #e1e8f0;border-radius:24px;padding:24px;display:grid;place-items:center;margin-top:16px}
.qr{
  width:190px;height:190px;background:
    linear-gradient(90deg,#111 10px,transparent 10px) 0 0/24px 24px,
    linear-gradient(#111 10px,transparent 10px) 0 0/24px 24px,
    linear-gradient(90deg,transparent 14px,#111 14px 20px,transparent 20px) 0 0/31px 31px,
    linear-gradient(transparent 14px,#111 14px 20px,transparent 20px) 0 0/31px 31px,
    #fff;
  border:10px solid #fff;
  box-shadow:0 0 0 1px #d8e0ea;
  position:relative;
}
.qr:after{content:"R";position:absolute;inset:0;margin:auto;width:52px;height:52px;border-radius:14px;background:#fff;color:var(--brand-2);display:grid;place-items:center;font-size:31px;font-weight:950;box-shadow:0 4px 14px rgba(0,0,0,.14)}
.tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#edf2f8;padding:4px;border-radius:14px;margin:14px 0}
.tab{border:none;background:none;border-radius:11px;padding:9px;font-size:12px;color:var(--muted)}
.tab.active{background:#fff;color:var(--brand);font-weight:800;box-shadow:0 3px 10px rgba(17,35,60,.06)}
.profile-card{text-align:center;padding:24px 18px}
.big-avatar{width:84px;height:84px;border-radius:50%;background:linear-gradient(145deg,#dbeaff,#9bc8ff);margin:auto;display:grid;place-items:center;color:var(--brand);font-size:28px;font-weight:900}
.verified{display:inline-flex;gap:6px;align-items:center;margin-top:10px;background:#e8f7ef;color:#207a48;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:700}
.menu-list{display:grid;background:#fff;border-radius:20px;border:1px solid var(--line);overflow:hidden}
.menu-item{border:none;background:#fff;padding:15px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);color:var(--text);text-align:left}
.menu-item:last-child{border-bottom:0}.menu-item span{display:flex;align-items:center;gap:11px}.menu-item small{color:#93a0b0}
.toast{
  position:absolute;left:18px;right:18px;bottom:92px;background:#13253f;color:#fff;padding:13px 15px;border-radius:14px;
  box-shadow:0 14px 34px rgba(0,0,0,.22);font-size:13px;z-index:30;animation:toastIn .2s ease
}
@keyframes toastIn{from{transform:translateY(12px);opacity:0}}
.hidden{display:none!important}

@media(max-width:900px){
  body{background:#fff}
  .desktop-shell{padding:0;display:block}
  .phone-shell{width:100%;height:100vh;min-height:100vh;border-radius:0;padding:0;background:#fff;box-shadow:none}
  .phone-speaker,.demo-panel{display:none}
  .app{border-radius:0}
}
