/* ===== Money / Cash App-inspired design system ===== */
:root{
  --green:#00d54b;
  --green-2:#00b840;
  --green-soft:#e6fff0;
  --ink:#0a0a0a;
  --ink-2:#141414;
  --ink-3:#1c1c1c;
  --white:#ffffff;
  --gray-50:#f7f7f7;
  --gray-100:#efefef;
  --gray-200:#e5e5e5;
  --gray-400:#9a9a9a;
  --gray-600:#5a5a5a;
  --gray-800:#1f1f1f;
  --radius:18px;
  --radius-lg:28px;
  --radius-pill:999px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --shadow-lg:0 30px 80px rgba(0,0,0,.18);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background:var(--white);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}

/* ===== Top nav ===== */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 18px;background:transparent;
}
.nav .brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px}
.brand-mark{
  width:42px;height:42px;border-radius:12px;background:var(--green);
  display:grid;place-items:center;color:#000;font-weight:900;font-size:22px;
  font-family:'Space Grotesk',sans-serif;
}
.nav-right{display:flex;gap:10px;align-items:center}
.nav .sign-up{
  background:var(--white);color:#000;padding:12px 22px;border-radius:var(--radius-pill);
  font-weight:700;font-size:15px;display:inline-flex;align-items:center;gap:8px;
}
.nav .menu-btn{
  width:46px;height:46px;border-radius:50%;background:#000;color:#fff;
  display:grid;place-items:center;font-size:18px;
}
.nav-dark .sign-up{background:var(--green);color:#000}
.nav-dark .menu-btn{border:1px solid rgba(255,255,255,.3);background:transparent}

/* ===== Sections ===== */
.section{padding:80px 22px;position:relative;overflow:hidden}
.section.green{background:var(--green);color:#000}
.section.black{background:#000;color:#fff}
.section.white{background:#fff;color:#000}
.section h1{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(44px,11vw,96px);font-weight:700;line-height:1;letter-spacing:-.03em;
  margin:0 0 24px;
}
.section h2{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(34px,8vw,64px);font-weight:700;line-height:1.05;letter-spacing:-.02em;
  margin:0 0 20px;
}
.section p.lead{font-size:18px;line-height:1.55;max-width:560px;margin:0 0 28px}
.section .pill-btn{
  display:inline-flex;align-items:center;gap:10px;
  background:#fff;color:#000;padding:16px 28px;border-radius:var(--radius-pill);
  font-weight:700;font-size:16px;border:1.5px solid #000;
}
.section.black .pill-btn{background:transparent;color:#fff;border-color:#fff}
.section.black .pill-btn.solid{background:#fff;color:#000}
.legal{font-size:13px;opacity:.7;text-decoration:underline}

/* ===== Phone mockups ===== */
.phone{
  margin:40px auto 0;max-width:340px;border-radius:42px;background:#0a0a0a;
  padding:14px;box-shadow:var(--shadow-lg);
}
.phone-inner{border-radius:30px;overflow:hidden;background:#fff;min-height:560px;padding:18px}
.phone-status{display:flex;justify-content:space-between;font-size:13px;color:#fff;padding:6px 10px 14px}
.phone.dark .phone-inner{background:linear-gradient(180deg,#0c2f1b 0%,#0a0a0a 100%);color:#fff}
.phone-head{display:flex;justify-content:space-between;align-items:center;color:#fff;padding:0 6px}
.phone-head h3{font-size:22px;margin:0;font-weight:700}
.phone-card{
  background:#f4f4f4;border-radius:22px;padding:20px;margin-top:14px;color:#000;
}
.phone-card .lbl{font-size:13px;font-weight:600;color:#444}
.phone-card .amt{font-family:'Space Grotesk',sans-serif;font-size:46px;font-weight:700;letter-spacing:-.02em;margin-top:4px}
.phone-actions{display:flex;gap:10px;margin-top:14px}
.phone-actions .a{flex:1;background:#fff;text-align:center;padding:14px;border-radius:var(--radius-pill);font-weight:700;font-size:14px;color:#000}
.phone-row{background:#fff;border-radius:18px;padding:14px 16px;margin-top:10px;display:flex;justify-content:space-between;align-items:center;color:#000}
.phone-row .t{font-weight:700;font-size:14px}
.phone-row .s{font-size:13px;color:#666}

/* ===== Feature card grid (landing) ===== */
.feature-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}
.feature-cards .fc{
  background:#1a1a1a;border-radius:24px;padding:22px;min-height:240px;
  display:flex;flex-direction:column;justify-content:space-between;color:#fff;
}
.feature-cards .fc img,.feature-cards .fc .ico{width:60px;height:60px;border-radius:16px;background:var(--green);display:grid;place-items:center;font-size:26px;color:#000;margin-bottom:auto}
.feature-cards .fc h4{font-size:17px;margin:0;font-weight:700;line-height:1.2}

/* ===== Footer / CTA bar ===== */
.cta-bar{
  position:fixed;bottom:14px;left:14px;right:14px;z-index:60;
  background:#000;color:#fff;border-radius:var(--radius-pill);
  padding:16px 24px;display:flex;justify-content:space-between;align-items:center;
  font-weight:600;font-size:15px;box-shadow:var(--shadow-lg);
}
.cta-bar .arrow{width:32px;height:32px;border-radius:50%;background:#fff;color:#000;display:grid;place-items:center}

.footer{background:#000;color:#fff;padding:60px 22px 140px}
.footer h5{font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:#888;margin:0 0 14px;font-weight:700}
.footer .cols{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.footer a{display:block;padding:6px 0;color:#ddd;font-size:14px}
.footer .bottom{margin-top:40px;padding-top:24px;border-top:1px solid #222;font-size:12px;color:#888;display:flex;flex-direction:column;gap:8px}
.footer .support{background:#0f0f0f;border:1px solid #1f1f1f;padding:18px;border-radius:18px;margin-top:30px}
.footer .support a{color:var(--green);display:inline;text-decoration:underline}

/* ===== Auth pages ===== */
.auth-wrap{min-height:100vh;background:var(--green);display:flex;flex-direction:column;padding:24px}
.auth-top{display:flex;align-items:center;justify-content:space-between;color:#000}
.auth-top .back{width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.08);display:grid;place-items:center;font-size:18px;color:#000}
.auth-hero{padding:50px 4px 30px;color:#000}
.auth-hero h1{font-family:'Space Grotesk',sans-serif;font-size:44px;font-weight:700;letter-spacing:-.02em;line-height:1.05;margin:0 0 12px}
.auth-hero p{font-size:16px;margin:0;color:#0a0a0a;opacity:.85}
.auth-card{
  background:#fff;border-radius:28px 28px 0 0;padding:32px 24px 100px;
  margin:0 -24px -24px;flex:1;box-shadow:0 -8px 24px rgba(0,0,0,.08);
}
.form-field{margin-bottom:18px}
.form-field label{display:block;font-size:13px;font-weight:600;color:#555;margin-bottom:8px}
.form-field input{
  width:100%;padding:16px 18px;border:1.5px solid var(--gray-200);
  border-radius:14px;font-size:16px;font-family:inherit;background:#fff;
  transition:border-color .15s;
}
.form-field input:focus{outline:none;border-color:var(--green)}
.btn-primary{
  width:100%;padding:18px;background:#000;color:#fff;border-radius:var(--radius-pill);
  font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;gap:10px;
  margin-top:8px;
}
.btn-primary:hover{background:#222}
.btn-green{background:var(--green);color:#000}
.auth-foot{text-align:center;margin-top:22px;color:#666;font-size:14px}
.auth-foot a{color:#000;font-weight:700;text-decoration:underline}
.auth-help{margin-top:30px;padding:16px;background:#f7f7f7;border-radius:14px;font-size:13px;color:#666;text-align:center}
.auth-help a{color:var(--green-2);font-weight:600}

/* ===== Dashboard ===== */
.dash{
  min-height:100vh;
  background:linear-gradient(180deg,#0e2f1d 0%,#0a0a0a 60%);
  color:#fff;padding:24px 18px 120px;
}
.dash-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.dash-top h1{font-family:'Space Grotesk',sans-serif;font-size:28px;font-weight:700;margin:0;color:#fff}
.dash-avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;background:#fff;cursor:pointer;border:2px solid rgba(255,255,255,.2)}
.dash-avatar img{width:100%;height:100%;object-fit:cover}
.dash-card-strip{background:rgba(255,255,255,.08);border-radius:16px;padding:14px 18px;margin-top:14px;display:flex;justify-content:space-between;align-items:center;font-size:14px;backdrop-filter:blur(20px)}
.dash-card-strip .acct{font-weight:600}
.dash-card-strip .tag{color:var(--green);font-weight:700}

.balance-block{
  background:#fff;color:#000;border-radius:24px;padding:26px 22px;margin-top:18px;
}
.balance-block .lbl{font-size:14px;font-weight:600;color:#666;display:flex;align-items:center;gap:6px}
.balance-block .amt{font-family:'Space Grotesk',sans-serif;font-size:54px;font-weight:700;letter-spacing:-.03em;margin:6px 0 16px}
.balance-block .actions{display:flex;gap:10px}
.balance-block .actions button{flex:1;padding:16px;background:#f3f3f3;border-radius:var(--radius-pill);font-weight:700;font-size:15px;color:#000}
.balance-block .actions button:hover{background:#e8e8e8}

.dash-tile{
  background:#fff;color:#000;border-radius:22px;padding:18px 20px;margin-top:12px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;
}
.dash-tile .left{display:flex;align-items:center;gap:12px;min-width:0}
.dash-tile .ico{width:38px;height:38px;border-radius:10px;background:var(--green);display:grid;place-items:center;color:#000;flex-shrink:0}
.dash-tile .t{font-weight:700;font-size:15px}
.dash-tile .s{font-size:13px;color:#777;margin-top:2px}
.dash-tile .right-val{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:18px}
.dash-tile .progress{height:6px;background:#eee;border-radius:3px;overflow:hidden;margin-top:10px}
.dash-tile .progress span{display:block;height:100%;background:var(--green);width:60%}

.dash-section-title{font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.6);margin:24px 0 10px;font-weight:700;padding-left:4px}

.dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dash-grid .g{background:#fff;color:#000;border-radius:22px;padding:18px;min-height:130px;display:flex;flex-direction:column;justify-content:space-between}
.dash-grid .g .ico{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:18px;color:#000}
.dash-grid .g .t{font-weight:700;font-size:15px}
.dash-grid .g .s{font-size:12px;color:#777}
.bg-green{background:var(--green)}
.bg-orange{background:#ffb84d}
.bg-blue{background:#6cc7ff}
.bg-pink{background:#ff8aa8}

/* Bottom nav */
.tabbar{
  position:fixed;left:14px;right:14px;bottom:14px;z-index:50;
  background:#000;color:#fff;border-radius:var(--radius-pill);
  padding:10px 18px;display:flex;align-items:center;justify-content:space-between;
  box-shadow:var(--shadow-lg);
}
.tabbar a{color:#fff;font-size:18px;padding:10px 12px;display:grid;place-items:center;position:relative}
.tabbar .pay{
  width:54px;height:54px;border-radius:50%;background:var(--green);color:#000;
  display:grid;place-items:center;font-size:22px;font-weight:800;margin-top:-22px;
  box-shadow:0 8px 20px rgba(0,213,75,.4);
}
.tabbar .badge{position:absolute;top:4px;right:0;background:var(--green);color:#000;font-size:10px;font-weight:700;border-radius:10px;padding:1px 6px}

/* Card slider */
.card-slider{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 16px;margin:0 -4px;scrollbar-width:none}
.card-slider::-webkit-scrollbar{display:none}
.pay-card{flex:0 0 86%;scroll-snap-align:center;aspect-ratio:1.6/1;border-radius:22px;padding:18px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;box-shadow:0 18px 40px -22px rgba(0,0,0,.6);transition:transform .35s ease}
.pay-card:hover{transform:translateY(-3px)}
.pc-normal{background:linear-gradient(135deg,#1a1a1a,#2b2b2b 55%,#3a3a3a)}
.pc-premium{background:linear-gradient(135deg,#0b3d2e,#0f5132 45%,#00d54b)}
.pc-gold{background:linear-gradient(135deg,#5a4100,#b8860b 50%,#ffd700);color:#1a1200}
.pay-card::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% -20%,rgba(255,255,255,.35),transparent 50%);pointer-events:none}
.pc-top{display:flex;justify-content:space-between;align-items:center;font-weight:700;letter-spacing:.02em;z-index:1}
.pc-brand{font-family:'Space Grotesk',sans-serif;font-size:18px}
.pc-tier{font-size:11px;text-transform:uppercase;letter-spacing:.15em;opacity:.9;background:rgba(255,255,255,.18);padding:4px 10px;border-radius:999px;backdrop-filter:blur(6px)}
.pc-gold .pc-tier{background:rgba(0,0,0,.15)}
.pc-chip{width:40px;height:30px;border-radius:7px;background:linear-gradient(135deg,#e6c46a,#b88a2a);position:relative;z-index:1;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}
.pc-num{font-family:'Space Grotesk',sans-serif;font-size:17px;letter-spacing:.16em;z-index:1}
.pc-foot{display:flex;justify-content:space-between;font-size:11px;text-transform:uppercase;letter-spacing:.12em;opacity:.95;z-index:1}

/* Profile page */
.profile-wrap{min-height:100vh;background:linear-gradient(180deg,#0e2f1d 0%,#0a0a0a 60%);color:#fff;padding:24px 18px 60px}
.profile-wrap .row{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.profile-wrap .back{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.1);display:grid;place-items:center;color:#fff}
.profile-wrap h1{font-family:'Space Grotesk',sans-serif;font-size:24px;margin:0;font-weight:700}
.profile-hero{text-align:center;padding:20px 0 30px}
.profile-hero .ava{width:110px;height:110px;border-radius:50%;background:var(--green);margin:0 auto 14px;overflow:hidden;border:4px solid rgba(255,255,255,.1)}
.profile-hero .ava img{width:100%;height:100%;object-fit:cover}
.profile-hero h2{margin:0;font-size:24px;font-weight:700}
.profile-hero p{margin:4px 0 0;color:#aaa}
.detail-list{display:flex;flex-direction:column;gap:10px}
.detail-list .item{background:rgba(255,255,255,.06);backdrop-filter:blur(20px);border-radius:18px;padding:18px;display:flex;justify-content:space-between;align-items:center}
.detail-list .item .k{font-size:13px;color:#aaa}
.detail-list .item .v{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:16px}
.detail-list .item.link{cursor:pointer}
.detail-list .item.link:hover{background:rgba(255,255,255,.1)}
.logout-btn{margin-top:24px;width:100%;padding:18px;background:#ff3b3b;color:#fff;border-radius:var(--radius-pill);font-weight:700;font-size:16px}

/* Generic page (send/withdraw/history) */
.page-wrap{min-height:100vh;background:#fff;color:#000;padding:24px 18px 100px}
.page-wrap.dark{background:linear-gradient(180deg,#0e2f1d 0%,#0a0a0a 60%);color:#fff}
.page-wrap .head{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.page-wrap .head .x{width:42px;height:42px;border-radius:50%;background:#f3f3f3;display:grid;place-items:center;color:#000}
.page-wrap.dark .head .x{background:rgba(255,255,255,.1);color:#fff}
.page-wrap .head h1{font-family:'Space Grotesk',sans-serif;font-size:24px;font-weight:700;margin:0}
.big-amount{font-family:'Space Grotesk',sans-serif;font-size:72px;font-weight:700;text-align:center;letter-spacing:-.03em;padding:30px 0}
.numpad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.numpad button{padding:22px;font-size:26px;font-weight:600;background:transparent;color:inherit;border-radius:16px}
.numpad button:active{background:rgba(0,0,0,.06)}
.page-wrap.dark .numpad button:active{background:rgba(255,255,255,.1)}
.full-btn{width:100%;padding:18px;background:var(--green);color:#000;border-radius:var(--radius-pill);font-weight:700;font-size:16px;margin-top:18px}

/* History list */
.tx-list{display:flex;flex-direction:column;gap:8px}
.tx{background:rgba(255,255,255,.06);border-radius:16px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center}
.page-wrap:not(.dark) .tx{background:#f7f7f7}
.tx .left{display:flex;align-items:center;gap:12px}
.tx .ico{width:40px;height:40px;border-radius:50%;background:var(--green);color:#000;display:grid;place-items:center;font-size:14px;font-weight:700}
.tx .t{font-weight:700;font-size:15px}
.tx .s{font-size:12px;color:#888}
.tx .amt{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:16px}
.tx .amt.neg{color:#ff6b6b}
.tx .amt.pos{color:var(--green)}

@media (min-width: 720px){
  .feature-cards{grid-template-columns:repeat(4,1fr)}
  .footer .cols{grid-template-columns:repeat(4,1fr)}
}
