
:root{
  --bg:#f3f5f6;
  --surface:rgba(255,255,255,.9);
  --surface-solid:#fff;
  --soft:#f7f8f9;
  --ink:#101317;
  --muted:#747c85;
  --muted2:#9aa1a9;
  --line:rgba(16,19,23,.085);
  --line2:rgba(16,19,23,.13);
  --green:#0e7558;
  --green-soft:#e9f5f0;
  --red:#b74b4b;
  --red-soft:#f9eded;
  --amber:#9d701e;
  --amber-soft:#fbf3df;
  --shadow:0 30px 80px rgba(25,31,37,.11);
  --shadow2:0 16px 44px rgba(25,31,37,.08);
  --r-xl:30px;
  --r-lg:22px;
  --r-md:16px;
  --font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

*{box-sizing:border-box}
html{background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  color:var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(14,117,88,.08), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(80,100,130,.07), transparent 30%),
    linear-gradient(180deg,#fafbfc 0%,#f4f6f7 50%,#f0f2f4 100%);
  font-family:var(--font);
  -webkit-font-smoothing:antialiased;
}
body::before{
  content:"";
  position:fixed;inset:0;pointer-events:none;opacity:.16;
  background-image:radial-gradient(rgba(10,14,18,.11) .5px,transparent .5px);
  background-size:5px 5px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.4),transparent 72%);
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.page-noise{position:fixed;inset:0;pointer-events:none}
.ambient{position:fixed;border-radius:50%;pointer-events:none;filter:blur(20px);opacity:.32}
.ambient-one{width:520px;height:520px;top:-280px;right:-170px;background:radial-gradient(circle,rgba(14,117,88,.12),transparent 68%)}
.ambient-two{width:520px;height:520px;bottom:-330px;left:-220px;background:radial-gradient(circle,rgba(70,88,120,.09),transparent 68%)}

.page-shell{position:relative;width:min(1240px,calc(100% - 36px));min-height:100vh;margin:0 auto;padding:22px 0 34px;display:flex;flex-direction:column}
.glass-header{
  min-height:72px;padding:10px 12px 10px 18px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.72);
  box-shadow:0 10px 34px rgba(31,37,43,.055);
  backdrop-filter:blur(20px) saturate(1.15);
}
.brand-lockup{display:inline-flex;align-items:center}
.logo-wrap{display:flex;align-items:center;min-width:148px;height:46px}
.logo-wrap img{max-width:168px;max-height:44px;display:block;object-fit:contain;object-position:left center}
.verified-mini,.status-badge,.verified-tag,.locked-pill{
  display:inline-flex;align-items:center;gap:7px;
  border-radius:999px;font-weight:750;font-size:11px;
}
.verified-mini{padding:10px 13px;color:#58616a;background:#fff;border:1px solid var(--line)}
.verified-mini svg{width:15px;height:15px;color:var(--green)}

.stepper{width:min(560px,100%);margin:25px auto 22px;display:flex;align-items:center}
.step{display:flex;align-items:center;gap:7px;color:#a2a8af;font-size:10px;font-weight:800;white-space:nowrap}
.step.active{color:var(--ink)}
.step.complete{color:var(--green)}
.dot{width:8px;height:8px;border-radius:50%;background:#d5d9de;box-shadow:0 0 0 4px rgba(213,217,222,.18)}
.active .dot{background:var(--ink);box-shadow:0 0 0 4px rgba(16,19,23,.08)}
.complete .dot{background:var(--green);box-shadow:0 0 0 4px rgba(14,117,88,.1)}
.line{height:1px;flex:1;margin:0 13px;background:var(--line2)}
.line.complete{background:rgba(14,117,88,.28)}

.pay-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:20px;animation:rise .45s ease both}
.invoice-card,.checkout-card,.help-card,.solo-state,.confirm-card{
  border:1px solid var(--line);
  background:var(--surface);
  box-shadow:var(--shadow2);
  backdrop-filter:blur(18px);
}
.invoice-card{position:relative;overflow:hidden;border-radius:var(--r-xl);padding:clamp(28px,4vw,46px)}
.invoice-card::after{
  content:"";position:absolute;width:370px;height:370px;border-radius:50%;
  right:-180px;top:-180px;background:radial-gradient(circle,rgba(14,117,88,.08),transparent 70%);pointer-events:none
}
.invoice-top{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.eyebrow{display:inline-block;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.invoice-top h1,.checkout-head h2,.solo-state h1,.confirm-card h1{
  margin:7px 0 0;font-weight:760;letter-spacing:-.05em
}
.invoice-top h1{font-size:clamp(28px,3vw,40px)}
.status-badge{padding:9px 12px;color:var(--green);background:var(--green-soft);border:1px solid rgba(14,117,88,.12)}

.hero-amount{position:relative;z-index:1;margin:clamp(46px,7vw,78px) 0 34px}
.hero-amount>span{color:var(--muted);font-size:12px;font-weight:700}
.amount-row{display:flex;align-items:baseline;gap:10px;margin-top:5px;white-space:nowrap}
.amount-row small{font-size:clamp(18px,2vw,25px);font-weight:760;color:var(--muted);letter-spacing:-.03em}
.amount-row strong{font-size:clamp(54px,7vw,86px);line-height:.96;letter-spacing:-.075em;font-weight:800}
.hero-amount p{max-width:450px;margin:14px 0 0;color:var(--muted);font-size:12px;line-height:1.55}

.invoice-ref-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.invoice-ref-row>div:first-child{display:grid;gap:4px}
.invoice-ref-row span{color:var(--muted);font-size:10px}
.invoice-ref-row strong{font-size:13px;letter-spacing:-.01em}
.verified-tag{padding:8px 10px;color:var(--green);background:rgba(233,245,240,.82);border:1px solid rgba(14,117,88,.12)}
.verified-tag svg{width:14px;height:14px}

.bento-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:18px}
.bento{min-height:96px;padding:16px;border-radius:15px;border:1px solid var(--line);background:rgba(248,249,250,.84);display:flex;flex-direction:column;justify-content:space-between}
.bento span{color:var(--muted);font-size:10px;font-weight:700}
.bento strong{margin-top:14px;font-size:16px;letter-spacing:-.03em}
.bento.credit strong{color:var(--green)}
.bento.dark{background:#171c20;border-color:#171c20;color:white;box-shadow:0 12px 28px rgba(17,21,25,.12)}
.bento.dark span{color:rgba(255,255,255,.6)}

.invoice-assurance{margin-top:20px;padding:15px 16px;border-radius:15px;background:var(--green-soft);display:flex;align-items:center;gap:11px}
.assurance-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#fff;color:var(--green);flex:0 0 auto}
.assurance-icon svg{width:18px;height:18px}
.invoice-assurance>div:last-child{display:grid;gap:3px}
.invoice-assurance strong{font-size:11px}
.invoice-assurance span{color:var(--muted);font-size:10px;line-height:1.45}

.checkout-column{display:flex;flex-direction:column;gap:13px}
.checkout-card{flex:1;border-radius:var(--r-xl);padding:clamp(26px,4vw,38px)}
.checkout-head h2{font-size:clamp(30px,3vw,40px)}
.checkout-head p{max-width:420px;margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.65}
#paymentForm{margin-top:30px}
.field{display:grid;gap:8px}
.field>span{font-size:10px;font-weight:760;color:#41474d}
.field-shell{min-height:54px;padding:0 15px;display:flex;align-items:center;gap:10px;border:1px solid var(--line2);border-radius:15px;background:#fff;transition:.2s ease}
.field-shell:focus-within{border-color:rgba(14,117,88,.45);box-shadow:0 0 0 4px rgba(14,117,88,.08)}
.field-shell svg{width:17px;height:17px;color:#9299a0}
.field-shell input{min-width:0;flex:1;height:50px;border:0;outline:0;background:transparent;color:var(--ink);font-size:14px}
.field-shell input::placeholder{color:#a8aeb4}
.field small{min-height:15px;color:var(--red);font-size:10px}

.locked-box{margin:17px 0;padding:15px 16px;border:1px solid var(--line);border-radius:15px;background:var(--soft);display:flex;align-items:center;justify-content:space-between;gap:12px}
.locked-box>div{display:grid;gap:5px}
.locked-box span{color:var(--muted);font-size:10px}
.locked-box strong{font-size:17px;letter-spacing:-.025em}
.locked-pill{padding:7px 9px;color:#606870;background:#fff;border:1px solid var(--line)}
.locked-pill svg{width:13px;height:13px}

.btn{min-height:52px;border-radius:15px;border:0;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;font-size:12px;font-weight:800;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}
.btn:active{transform:translateY(1px) scale(.995)}
.btn:disabled{opacity:.62;cursor:wait}
.btn-dark{color:white;background:linear-gradient(180deg,#1b2126,#101417);box-shadow:0 12px 24px rgba(16,20,23,.18),inset 0 1px 0 rgba(255,255,255,.1)}
.btn-light{color:var(--ink);background:#fff;border:1px solid var(--line2)}
.pay-cta{width:100%}
.pay-cta svg{width:17px;height:17px}

.paystack-strip{margin-top:21px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}
.paystack-strip span{color:var(--muted);font-size:10px}
.paystack-strip strong{font-size:13px;letter-spacing:-.02em}
.micro-trust{display:grid;gap:9px;margin-top:16px}
.micro-trust>div{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px}
.micro-trust svg{width:14px;height:14px;color:var(--green)}

.help-card{border-radius:20px;padding:17px 19px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.help-card>div{display:grid;gap:3px}
.help-card span{color:var(--muted);font-size:9px}
.help-card strong{font-size:11px}
.help-card a{font-size:10px;font-weight:800;color:var(--green)}

.solo-state{width:min(680px,100%);margin:55px auto;border-radius:var(--r-xl);padding:54px 38px;text-align:center;box-shadow:var(--shadow)}
.state-orb{width:68px;height:68px;margin:0 auto 20px;border-radius:22px;display:grid;place-items:center}
.loading-orb{background:var(--green-soft)}
.loading-orb span{width:30px;height:30px;border-radius:50%;border:2px solid rgba(14,117,88,.16);border-top-color:var(--green);animation:spin .9s linear infinite}
.error-orb{color:var(--red);background:var(--red-soft)}
.error-orb svg{width:30px;height:30px}
.solo-state h1{font-size:clamp(32px,5vw,48px)}
.solo-state p{max-width:500px;margin:12px auto 0;color:var(--muted);font-size:12px;line-height:1.7}
.state-actions{max-width:380px;margin:28px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.trust-inline{margin:24px auto 0;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted2);font-size:9px;flex-wrap:wrap}
.trust-inline i,.footer i{width:3px;height:3px;border-radius:50%;background:#bcc2c7}

.confirm-card{width:min(680px,100%);margin:22px auto 0;border-radius:var(--r-xl);padding:clamp(38px,6vw,62px);text-align:center;box-shadow:var(--shadow)}
.confirm-visual{width:76px;height:76px;margin:0 auto 22px;border-radius:24px;display:grid;place-items:center;background:var(--soft)}
.confirm-visual.success{background:var(--green-soft);color:var(--green)}
.confirm-visual.pending{background:var(--amber-soft);color:var(--amber)}
.confirm-visual.error{background:var(--red-soft);color:var(--red)}
.confirm-visual svg{width:34px;height:34px}
.spinner{width:34px;height:34px;border-radius:50%;border:2px solid rgba(14,117,88,.15);border-top-color:var(--green);animation:spin .9s linear infinite}
.confirm-card h1{font-size:clamp(34px,5vw,50px)}
.confirm-card>p{max-width:490px;margin:12px auto 0;color:var(--muted);font-size:12px;line-height:1.7}
.confirm-amount{margin:28px auto 0;display:grid;gap:5px}
.confirm-amount span{color:var(--muted);font-size:10px}
.confirm-amount strong{font-size:34px;letter-spacing:-.05em}
.confirm-meta{max-width:500px;margin:24px auto 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.confirm-meta>div{padding:13px 0;display:flex;justify-content:space-between;gap:18px;text-align:left}
.confirm-meta>div+div{border-top:1px solid var(--line)}
.confirm-meta span{color:var(--muted);font-size:10px}
.confirm-meta strong{max-width:70%;text-align:right;font-size:10px;overflow-wrap:anywhere}
.confirm-actions{max-width:400px;margin:26px auto 0;display:grid;gap:9px}
.callback-note{max-width:520px;margin:22px auto 0;padding:13px 15px;border-radius:14px;background:var(--soft);display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:10px}
.callback-note svg{width:14px;height:14px;color:var(--green)}

.footer{margin-top:auto;padding-top:24px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted2);font-size:9px}
.mobile-bar{display:none}
.is-hidden{display:none!important}

@keyframes spin{to{transform:rotate(360deg)}}
@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

@media(max-width:900px){
  .page-shell{width:min(100% - 24px,720px);padding:14px 0 102px}
  .pay-grid{grid-template-columns:1fr}
  .invoice-card,.checkout-card{border-radius:24px}
  .mobile-bar{
    position:fixed;z-index:50;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));
    min-height:72px;padding:10px 10px 10px 15px;border:1px solid var(--line);
    border-radius:21px;background:rgba(255,255,255,.9);box-shadow:0 18px 48px rgba(20,25,31,.18);
    backdrop-filter:blur(22px);display:flex;align-items:center;justify-content:space-between;gap:12px
  }
  .mobile-bar>div{display:grid;gap:3px}
  .mobile-bar span{color:var(--muted);font-size:9px}
  .mobile-bar strong{font-size:15px}
  .mobile-bar .btn{min-height:47px;min-width:126px}
}

@media(max-width:620px){
  .glass-header{min-height:62px;padding:8px 9px 8px 13px;border-radius:18px}
  .logo-wrap{min-width:122px;height:40px}
  .logo-wrap img{max-width:142px;max-height:38px}
  .verified-mini{padding:8px 10px;font-size:9px}
  .verified-mini svg{width:13px;height:13px}
  .stepper{margin:18px auto 15px}
  .step{font-size:8px;gap:5px}
  .dot{width:7px;height:7px}
  .line{margin:0 7px}
  .invoice-card{padding:22px 18px}
  .invoice-top{align-items:center}
  .invoice-top h1{font-size:26px}
  .status-badge{font-size:8px;padding:7px 9px}
  .hero-amount{margin:34px 0 25px}
  .amount-row strong{font-size:clamp(48px,15vw,65px)}
  .amount-row small{font-size:16px}
  .hero-amount p{font-size:10px}
  .invoice-ref-row strong{font-size:11px}
  .verified-tag{font-size:8px}
  .bento-grid{gap:8px}
  .bento{min-height:84px;padding:13px}
  .bento strong{font-size:13px}
  .invoice-assurance{align-items:flex-start}
  .checkout-card{padding:24px 18px}
  .checkout-head h2{font-size:30px}
  .checkout-head p{font-size:11px}
  .help-card{padding:15px;border-radius:17px}
  .solo-state{margin:40px auto;padding:42px 20px;border-radius:24px}
  .solo-state h1{font-size:31px}
  .state-actions{grid-template-columns:1fr}
  .confirm-card{padding:40px 20px 28px;border-radius:24px}
  .confirm-meta strong{max-width:62%}
}
@media(max-width:390px){
  .verified-mini span{display:none}
  .verified-mini{width:36px;height:36px;padding:0;justify-content:center}
  .logo-wrap img{max-width:128px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}


/* =========================================================
   InnerJoy Secure Pay v1.1.1 — Premium polish pass
   ========================================================= */

.glass-header{
  min-height:64px;
  padding:8px 10px 8px 16px;
  border-radius:20px;
}

.logo-wrap{
  height:40px;
  min-width:138px;
}
.logo-wrap img{
  max-width:154px;
  max-height:38px;
}

.stepper{
  margin:20px auto 16px;
}

.solo-state{
  margin:38px auto 0;
  padding:48px 42px 42px;
}

.error-state{
  overflow:hidden;
  position:relative;
}
.error-state::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% -20%, rgba(183,75,75,.07), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 40%);
}

.error-state > *{
  position:relative;
  z-index:1;
}

.error-orb{
  width:62px;
  height:62px;
  border-radius:20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 12px 26px rgba(183,75,75,.08);
}

.solo-state h1{
  max-width:620px;
  margin-left:auto;
  margin-right:auto;
  font-size:clamp(34px,4.2vw,54px);
  line-height:1.04;
}

.solo-state p{
  max-width:560px;
}

.state-actions{
  max-width:420px;
  margin-top:26px;
}

.trust-inline-premium{
  gap:10px;
  margin-top:22px;
  color:#7d858d;
}

.trust-inline-premium span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:700;
}

.trust-inline-premium svg{
  width:13px;
  height:13px;
  color:var(--green);
}

.invoice-card,
.checkout-card,
.confirm-card,
.solo-state{
  box-shadow:
    0 34px 90px rgba(25,31,37,.10),
    0 3px 12px rgba(25,31,37,.035);
}

.checkout-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
}

.checkout-head{
  padding-bottom:2px;
}

.pay-cta{
  min-height:56px;
  border-radius:16px;
  font-size:12.5px;
  box-shadow:
    0 14px 30px rgba(16,20,23,.20),
    inset 0 1px 0 rgba(255,255,255,.11);
}

.pay-cta:hover{
  transform:translateY(-1px);
  box-shadow:
    0 18px 34px rgba(16,20,23,.23),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.bento{
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover:hover){
  .bento:not(.dark):hover{
    transform:translateY(-2px);
    border-color:rgba(16,19,23,.13);
    box-shadow:0 10px 24px rgba(25,31,37,.055);
  }
}

.invoice-assurance{
  border:1px solid rgba(14,117,88,.08);
}

.paystack-strip strong{
  letter-spacing:-.03em;
  font-size:14px;
}

.help-card{
  background:rgba(255,255,255,.82);
}

.footer{
  padding-top:20px;
}

@media(max-width:900px){
  .page-shell{
    padding-top:10px;
  }
  .stepper{
    margin-top:16px;
    margin-bottom:13px;
  }
  .invoice-card{
    padding-top:20px;
  }
}

@media(max-width:620px){
  .glass-header{
    min-height:58px;
    padding:7px 8px 7px 12px;
    border-radius:17px;
  }

  .logo-wrap{
    min-width:112px;
    height:36px;
  }

  .logo-wrap img{
    max-width:126px;
    max-height:34px;
  }

  .stepper{
    margin:14px auto 11px;
  }

  .solo-state{
    margin-top:20px;
    padding:34px 18px 30px;
    border-radius:22px;
  }

  .error-orb{
    width:56px;
    height:56px;
    border-radius:18px;
    margin-bottom:17px;
  }

  .solo-state h1{
    font-size:clamp(29px,10vw,38px);
    line-height:1.06;
  }

  .solo-state p{
    font-size:11px;
    line-height:1.62;
  }

  .state-actions{
    margin-top:22px;
    gap:8px;
  }

  .trust-inline-premium{
    margin-top:18px;
    row-gap:7px;
  }

  .pay-grid{
    gap:12px;
  }

  .invoice-card,
  .checkout-card{
    border-radius:21px;
  }

  .invoice-card{
    padding:20px 16px 18px;
  }

  .checkout-card{
    padding:22px 16px;
  }

  .invoice-top h1{
    font-size:24px;
  }

  .hero-amount{
    margin:28px 0 22px;
  }

  .amount-row strong{
    font-size:clamp(45px,15vw,60px);
  }

  .bento-grid{
    gap:7px;
  }

  .bento{
    min-height:80px;
  }

  .help-card{
    padding:14px 15px;
  }
}
