:root{
  --green:#079455;
  --green-dark:#05603a;
  --green-soft:#e9f9f0;
  --bg:#f4f8f6;
  --card:#fff;
  --text:#15231c;
  --muted:#718078;
  --border:#dfe9e3;
  --danger:#d92d20;
  --shadow:0 24px 70px rgba(22,70,45,.13);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body{
  color:var(--text);
  background:
    radial-gradient(circle at 100% 0,rgba(7,148,85,.14),transparent 30%),
    linear-gradient(180deg,#fafdfb,#eef6f2);
}
button{font:inherit}
.page{width:min(100%,620px);min-height:100vh;margin:auto;padding:22px 16px 40px}
.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.logo{font-size:28px;font-weight:950;letter-spacing:-1.2px;color:var(--green)}
.secure{padding:8px 11px;border:1px solid var(--border);border-radius:999px;background:#fff;font-size:11px;font-weight:750;color:var(--muted)}
.hero{
  position:relative;overflow:hidden;padding:25px 22px 43px;border-radius:28px;
  color:#fff;background:linear-gradient(135deg,#05603a,#079455 58%,#25c978);
  box-shadow:0 24px 50px rgba(7,148,85,.24)
}
.hero:after{content:"G";position:absolute;right:-9px;bottom:-44px;font-size:155px;font-weight:950;color:rgba(255,255,255,.09)}
.hero small,.hero h1,.hero p{position:relative;z-index:1}
.hero small{font-weight:750;opacity:.9}
.hero h1{margin:9px 0 7px;font-size:38px;letter-spacing:-1.5px}
.hero p{margin:0;font-size:13px;opacity:.86}
.checkout-card{
  position:relative;z-index:2;margin-top:-20px;padding:22px 17px;border:1px solid rgba(255,255,255,.85);
  border-radius:28px;background:rgba(255,255,255,.97);box-shadow:var(--shadow)
}
.section-title{margin:0 0 15px;font-size:19px;font-weight:900}
.tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:17px;padding:5px;border-radius:15px;background:#f1f6f3}
.tab{border:0;border-radius:11px;padding:10px 6px;background:transparent;color:var(--muted);font-size:12px;font-weight:800;cursor:pointer}
.tab.active{color:var(--green-dark);background:#fff;box-shadow:0 5px 14px rgba(20,60,40,.09)}
.methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.method{
  position:relative;display:flex;align-items:center;gap:11px;min-height:72px;padding:12px;
  border:1.5px solid var(--border);border-radius:18px;background:#fff;cursor:pointer;text-align:left
}
.method.active{border-color:var(--green);background:var(--green-soft);box-shadow:0 9px 25px rgba(7,148,85,.12)}
.method.active:after{content:"✓";position:absolute;top:8px;right:9px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;color:#fff;background:var(--green);font-size:12px;font-weight:900}
.icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#f1f5f3;font-weight:950;font-size:19px}
.bkash{color:#e2136e;background:#fff0f7}.nagad{color:#ef4823;background:#fff1ed}.rocket{color:#772b8d;background:#f8effb}.upay{color:#ef7822;background:#fff3e8}
.method strong{display:block;font-size:13px}.method span{display:block;margin-top:3px;color:var(--muted);font-size:10px}
.notice{margin:16px 0;padding:13px 14px;border:1px solid #dfebe4;border-radius:15px;background:#f4f9f6;color:#5d6d64;font-size:11px;line-height:1.5}
.pay-btn{width:100%;min-height:57px;border:0;border-radius:17px;color:#fff;background:linear-gradient(135deg,var(--green-dark),var(--green));box-shadow:0 14px 28px rgba(7,148,85,.23);font-weight:900;cursor:pointer}
.pay-btn:disabled{opacity:.72;cursor:wait}
.result{margin-top:15px}
.flow{padding:20px 16px;border:1px solid var(--border);border-radius:20px;background:#f8fbf9;text-align:center}
.spinner{width:50px;height:50px;margin:auto;border:5px solid #dbece3;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.flow h3{margin:13px 0 6px}.flow p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.check{display:grid;place-items:center;width:62px;height:62px;margin:auto;border-radius:50%;color:#fff;background:linear-gradient(135deg,#07864e,#21c978);font-size:31px;font-weight:950}
.amount{margin:8px 0 17px;font-size:31px;font-weight:950;letter-spacing:-1px}
.receipt{overflow:hidden;border:1px solid var(--border);border-radius:15px;background:#fff;text-align:left}
.receipt div{display:flex;justify-content:space-between;gap:15px;padding:12px;border-bottom:1px solid #edf2ef;font-size:11px}
.receipt div:last-child{border-bottom:0}.receipt span{color:var(--muted)}.receipt strong{text-align:right;overflow-wrap:anywhere}
.secondary{width:100%;min-height:48px;margin-top:14px;border:0;border-radius:14px;color:var(--green-dark);background:var(--green-soft);font-weight:850;cursor:pointer}
.footer{margin-top:17px;text-align:center;color:#8a9790;font-size:10px}
.hidden{display:none!important}
@media(min-width:720px){
  .page{padding-top:40px}.methods{grid-template-columns:repeat(4,1fr)}
  .method{display:block;min-height:104px;text-align:center}.icon{margin:0 auto 8px}
}
