/* AdPay homepage — hero scene, promo banners, 3D card. Brand colours come from --brand-* (Website Editor). */

/* ================= HERO SCENE ================= */
.hs-stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 520 / 600; margin: 0 auto; container-type: inline-size; perspective: 1200px; }
.hs-stage > * { position: absolute; }
.hs-glow { inset: 8% 4% 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--brand-400) / .45), rgb(var(--brand-500) / .12) 60%, transparent); filter: blur(10px); animation: hsGlow 6s ease-in-out infinite; }
@keyframes hsGlow { 50% { transform: scale(1.08); opacity: .8 } }
.hs-ring { left: 50%; top: 48%; border-radius: 50%; border: 1px dashed rgb(var(--brand-500) / .35); transform: translate(-50%, -50%); }
.hs-ring1 { width: 84%; aspect-ratio: 1; animation: hsSpin 40s linear infinite; }
.hs-ring2 { width: 62%; aspect-ratio: 1; border-style: solid; border-color: rgb(var(--brand-500) / .15); animation: hsSpin 26s linear infinite reverse; }
@keyframes hsSpin { to { transform: translate(-50%, -50%) rotate(360deg) } }

.hs-person, .hs-fingers { inset: 0; width: 100%; height: 100%; }
.hs-person { -webkit-mask-image: linear-gradient(#000 82%, transparent 99%); mask-image: linear-gradient(#000 82%, transparent 99%); animation: hsWalk 1.4s cubic-bezier(.2,.75,.25,1) .1s both; }
.hs-body { width: 100%; height: 100%; animation: hsBreathe 5s ease-in-out 1.6s infinite; transform-origin: 70% 100%; }
@keyframes hsWalk {
  0% { opacity: 0; transform: translateX(46%) }
  20% { opacity: 1 }
  25%, 55% { transform: translateX(28%) translateY(-1.2%) }
  40%, 70% { transform: translateX(14%) translateY(0) }
  100% { opacity: 1; transform: none }
}
@keyframes hsBreathe { 50% { transform: translateY(-.8%) rotate(-.4deg) } }

.hs-phone-wrap { left: 26%; top: 14%; width: 36%; height: 66%; transform-style: preserve-3d; animation: hsPhoneIn 1.4s cubic-bezier(.2,.75,.25,1) .1s both; }
@keyframes hsPhoneIn { 0% { opacity: 0; transform: translateX(46%) rotate(8deg) } 60% { opacity: 1 } 100% { opacity: 1; transform: none } }
.hs-phone { width: 100%; height: 100%; border-radius: 15% / 7%; background: linear-gradient(145deg, #2b2f3a, #08090c 40%, #1b1e26); padding: 3.2%; box-shadow: 0 4cqw 8cqw -2cqw rgba(9,10,14,.55), inset 0 0 0 .35cqw #3a3f4c, inset 0 0 0 .7cqw #0b0c10;
            transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)) rotateZ(-3deg); transition: transform .4s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; animation: hsFloat 6s ease-in-out 1.6s infinite; }
@keyframes hsFloat { 50% { translate: 0 -1.4% } }
.hs-screen { position: relative; width: 100%; height: 100%; border-radius: 12% / 5.6%; overflow: hidden; background: linear-gradient(180deg, #f7f8fb, #eef0f4); font-size: 2.15cqw; color: #0b0f14; padding: 14% 7% 6%; font-family: Inter, system-ui, sans-serif; }
.hs-island { position: absolute; top: 2.2%; left: 50%; width: 32%; height: 3.6%; background: #08090c; border-radius: 99px; transform: translateX(-50%); }
.hs-status { position: absolute; top: 2.4%; left: 9%; right: 9%; display: flex; justify-content: space-between; font-size: .8em; font-weight: 700; }
.hs-status i { font-size: .85em; }
.hs-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1em; }
.hs-bell { width: 2.1em; height: 2.1em; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 .2em .6em rgba(0,0,0,.06); }
.hs-lbl { margin-top: .9em; font-size: .78em; color: #6b7280; font-weight: 600; }
.hs-bal { font-size: 2.35em; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hs-bal span { font-size: .6em; vertical-align: .55em; margin-right: .05em; } .hs-bal small { font-size: .5em; color: #9ca3af; }
.hs-up { margin-top: .15em; font-size: .72em; font-weight: 700; color: rgb(var(--brand-600)); }

.hs-card { position: relative; margin-top: .9em; aspect-ratio: 1.586; border-radius: .9em; padding: .85em; color: #fff; overflow: hidden;
           background: radial-gradient(120% 140% at 100% 0%, rgb(var(--brand-500) / .55), transparent 55%), linear-gradient(135deg, #17181f, #050507);
           box-shadow: 0 1em 1.6em -.8em rgba(0,0,0,.6); display: flex; flex-direction: column; justify-content: space-between; animation: hsCardIn .9s cubic-bezier(.2,.8,.2,1) 1.2s both; }
@keyframes hsCardIn { from { opacity: 0; transform: translateY(1.4em) rotateX(40deg) scale(.9) } }
.hs-card-shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); background-size: 250% 100%; animation: hsShine 3.6s ease-in-out 2s infinite; }
@keyframes hsShine { from { background-position: 150% 0 } to { background-position: -100% 0 } }
.hs-card-row { display: flex; justify-content: space-between; align-items: center; position: relative; }
.hs-card-logo { display: flex; align-items: center; gap: .35em; font-weight: 800; font-size: .95em; }
.hs-card-logo img { width: 1.5em; height: 1.5em; }
.hs-card-type { font-size: .55em; letter-spacing: .2em; opacity: .7; font-weight: 700; }
.hs-chip { width: 2em; height: 1.45em; border-radius: .3em; background: linear-gradient(135deg, #f5e3a0, #c9a54a); position: relative; }
.hs-card-num { font-family: ui-monospace, Menlo, monospace; font-size: .82em; letter-spacing: .1em; position: relative; }
.hs-card-foot { font-size: .58em; font-weight: 700; letter-spacing: .08em; opacity: .9; } .hs-card-foot i { font-size: 2.4em; }

.hs-actions { margin-top: .9em; display: grid; grid-template-columns: 1fr 1fr; gap: .5em; animation: hsUp .6s ease 1.6s both; }
.hs-btn { display: flex; align-items: center; justify-content: center; gap: .4em; padding: .75em .3em; border-radius: .8em; background: #fff; font-weight: 700; font-size: .78em; box-shadow: 0 .2em .6em rgba(0,0,0,.06); }
.hs-btn-main { background: #0b0b0f; color: #fff; }
.hs-btn-main i { color: rgb(var(--brand-400)); }
.hs-list { margin-top: .9em; display: grid; gap: .45em; }
.hs-item { display: flex; align-items: center; gap: .55em; background: #fff; border-radius: .8em; padding: .5em .6em; font-size: .74em; font-weight: 700; box-shadow: 0 .2em .6em rgba(0,0,0,.04); animation: hsUp .5s ease both; }
.hs-item:nth-child(1) { animation-delay: 1.8s } .hs-item:nth-child(2) { animation-delay: 1.95s } .hs-item:nth-child(3) { animation-delay: 2.1s }
.hs-item > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .hs-item small { font-weight: 500; color: #9ca3af; font-size: .82em; }
.hs-ic { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.hs-ic-g { background: rgb(var(--brand-500)); }
.hs-plus { color: rgb(var(--brand-600)); }
@keyframes hsUp { from { opacity: 0; transform: translateY(1em) } }

.hs-fingers { pointer-events: none; animation: hsPhoneIn 1.4s cubic-bezier(.2,.75,.25,1) .1s both; }

.hs-chip-f { display: flex; align-items: center; gap: 2cqw; padding: 2cqw 3cqw 2cqw 2cqw; border-radius: 3.2cqw; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
             border: 1px solid rgba(255,255,255,.9); box-shadow: 0 3cqw 6cqw -3cqw rgba(15,23,42,.35); font-size: 2.5cqw; line-height: 1.25; color: #0b0f14; white-space: nowrap; }
.hs-chip-f small { display: block; color: #6b7280; font-size: .82em; } .hs-chip-f b { font-weight: 800; }
.hs-fi { width: 7cqw; height: 7cqw; border-radius: 2.2cqw; display: grid; place-items: center; color: #fff; font-size: 3cqw; flex-shrink: 0; }
.hs-f1 { left: -6%; top: 52%; animation: hsPop .7s cubic-bezier(.2,1.4,.4,1) 2.2s both, hsBob 5s ease-in-out 3s infinite; }
.hs-f2 { right: -4%; top: 2%; animation: hsPop .7s cubic-bezier(.2,1.4,.4,1) 2.5s both, hsBob 6s ease-in-out 3.3s infinite; }
.hs-f3 { left: 2%; bottom: 4%; animation: hsPop .7s cubic-bezier(.2,1.4,.4,1) 2.8s both, hsBob 5.5s ease-in-out 3.6s infinite; }
@keyframes hsPop { from { opacity: 0; transform: scale(.6) translateY(4cqw) } }
@keyframes hsBob { 50% { translate: 0 -1.6cqw } }

.hs-coin { width: 9cqw; height: 9cqw; border-radius: 50%; display: grid; place-items: center; transform-style: preserve-3d;
           background: radial-gradient(circle at 32% 28%, #fff6c9, #f2c94c 40%, #b8860b 100%); box-shadow: inset -.6cqw -.8cqw 1.4cqw rgba(120,80,0,.45), 0 2cqw 3cqw -1cqw rgba(120,80,0,.5);
           animation: hsCoin 4.5s linear infinite, hsFade .6s ease 2.4s both; }
@keyframes hsFade { from { opacity: 0 } }
.hs-coin i { font-style: normal; font-weight: 900; font-size: 4.4cqw; color: #8a6100; text-shadow: 0 1px 0 #ffe9a3; }
.hs-c1 { right: 6%; top: 34%; }
.hs-c2 { right: 2%; bottom: 30%; width: 7cqw; height: 7cqw; animation-duration: 5.5s, .6s; background: radial-gradient(circle at 32% 28%, #d8fff0, #26a17b 45%, #0e6b4f 100%); box-shadow: inset -.6cqw -.8cqw 1.4cqw rgba(0,60,40,.45), 0 2cqw 3cqw -1cqw rgba(0,80,50,.5); }
.hs-c2 i { color: #e9fff7; text-shadow: none; font-size: 3.4cqw; }
.hs-c3 { left: 12%; top: 6%; width: 6cqw; height: 6cqw; animation-duration: 3.8s, .6s; }
.hs-c3 i { font-size: 3cqw; }
@keyframes hsCoin { 0% { transform: rotateY(0) translateY(0) } 50% { transform: rotateY(180deg) translateY(-2cqw) } 100% { transform: rotateY(360deg) translateY(0) } }

/* ---- photo mode (Admin > Website Editor > Homepage photo) ---- */
.hs-pic { right: 0; top: 3%; width: 70%; height: 92%; border-radius: 7cqw; overflow: hidden; box-shadow: 0 6cqw 12cqw -5cqw rgba(15,23,42,.45);
          animation: hsPicIn 1.2s cubic-bezier(.2,.8,.2,1) .05s both; }
.hs-pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: hsKen 1.8s cubic-bezier(.2,.8,.2,1) .05s forwards, hsKen2 18s ease-in-out 2s infinite alternate; }
@keyframes hsPicIn { from { opacity: 0; clip-path: inset(10% 0 10% 30% round 7cqw); transform: translateX(10%) } to { opacity: 1; clip-path: inset(0 0 0 0 round 7cqw) } }
@keyframes hsKen { to { transform: scale(1) } }
@keyframes hsKen2 { from { transform: scale(1) } to { transform: scale(1.06) translate(-1%, -1%) } }
.hs-pic-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,6,10,.55)); }
.hs-pic-tag { position: absolute; right: 4cqw; bottom: 4cqw; display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.6cqw 3cqw; border-radius: 99px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
              backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-weight: 700; font-size: 2.6cqw; animation: hsPop .7s cubic-bezier(.2,1.4,.4,1) 2.6s both; }
.hs-pic-tag i { color: rgb(var(--brand-400)); }
.hs-photo .hs-phone-wrap { left: 1%; top: 20%; width: 34%; height: 64%; z-index: 3; animation-name: hsPhoneUp; }
@keyframes hsPhoneUp { 0% { opacity: 0; transform: translateY(30%) rotate(-8deg) } 60% { opacity: 1 } 100% { opacity: 1; transform: none } }
.hs-photo .hs-phone { --ry: 14deg; --rx: 4deg; }
.hs-photo .hs-screen { font-size: 2.03cqw; }
.hs-photo .hs-ring, .hs-photo .hs-c3 { display: none; }
.hs-photo .hs-glow { inset: 10% 0 0 20%; }
.hs-photo .hs-f1 { left: auto; right: -4%; top: 60%; z-index: 4; }
.hs-photo .hs-f2 { right: auto; left: 22%; top: 0; z-index: 4; }
.hs-photo .hs-f3 { left: 30%; bottom: 2%; z-index: 4; }
.hs-photo .hs-chip-f, .hs-photo .hs-coin { z-index: 4; }
.hs-photo .hs-c1 { right: 66%; top: 12%; }

/* ================= PROMO BANNERS ================= */
.pb-wrap { position: relative; }
.pb-track { display: flex; transition: transform .8s cubic-bezier(.65,0,.25,1); will-change: transform; }
.pb-slide { flex: 0 0 100%; padding: 0 2px; display: flex; }
.pb-slide > .pb { flex: 1; }
.pb { position: relative; overflow: hidden; border-radius: 32px; min-height: 420px; color: #fff; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; isolation: isolate; }
.pb::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); }
.pb-txt { padding: 48px 0 48px 56px; position: relative; z-index: 2; }
.pb-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.pb h3 { margin-top: 18px; font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.pb p { margin-top: 14px; max-width: 440px; color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.55; }
.pb-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.pb-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 99px; font-weight: 700; background: #fff; color: #0b0b0f; transition: transform .25s, box-shadow .25s; }
.pb-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.pb-btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.pb-art { position: relative; height: 100%; min-height: 420px; perspective: 1000px; }
/* slide text animates each time a slide becomes active */
.pb-slide .pb-txt > * { opacity: 0; transform: translateY(26px); transition: all .7s cubic-bezier(.2,.8,.2,1); }
.pb-slide.on .pb-txt > * { opacity: 1; transform: none; }
.pb-slide.on .pb-txt > *:nth-child(2) { transition-delay: .1s } .pb-slide.on .pb-txt > *:nth-child(3) { transition-delay: .2s } .pb-slide.on .pb-txt > *:nth-child(4) { transition-delay: .3s }
.pb-slide .pb-art > * { opacity: 0; transition: opacity .8s ease .2s, transform 1s cubic-bezier(.2,.8,.2,1) .2s; }
.pb-slide.on .pb-art > * { opacity: 1; }
.pb-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.pb-dot { position: relative; width: 44px; height: 6px; border-radius: 99px; background: #d9dce2; overflow: hidden; }
.pb-dot i { position: absolute; inset: 0; background: #0b0b0f; transform: scaleX(0); transform-origin: left; }
.pb-dot.on i { animation: pbFill var(--pb-time, 6s) linear forwards; }
.pb-dot.done i { transform: scaleX(1); }
@keyframes pbFill { to { transform: scaleX(1) } }
.pb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(8px); z-index: 5; display: grid; place-items: center; transition: background .2s; }
.pb-nav:hover { background: rgba(255,255,255,.3); }
.pb-nav { top: auto; bottom: 22px; translate: none; } .pb-prev { right: 78px } .pb-next { right: 22px }

/* banner 1 — card */
.pb1 { background: radial-gradient(80% 120% at 85% 20%, rgb(var(--brand-500) / .55), transparent 60%), linear-gradient(120deg, #07080b, #12141b 60%, #0b0c10); }
.pb-card3d { position: absolute; left: 50%; top: 50%; width: min(380px, 80%); aspect-ratio: 1.586; transform-style: preserve-3d; }
.pb-slide .pb-card3d.a { transform: translate(-50%,-50%) rotateY(-50deg) rotateX(30deg) translateZ(-200px); }
.pb-slide.on .pb-card3d.a { transform: translate(-62%,-62%) rotateY(-18deg) rotateX(12deg) rotateZ(-8deg); }
.pb-slide .pb-card3d.b { transform: translate(-50%,-50%) rotateY(50deg) rotateX(30deg) translateZ(-300px); }
.pb-slide.on .pb-card3d.b { transform: translate(-44%,-34%) rotateY(-18deg) rotateX(12deg) rotateZ(6deg); transition-delay: .4s; }
.pb-cardface { position: absolute; inset: 0; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
               box-shadow: 0 40px 70px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.12); animation: pbHover 6s ease-in-out infinite; }
.pb-cardface::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.3) 50%, transparent 65%); background-size: 250% 100%; animation: hsShine 4s ease-in-out infinite; }
@keyframes pbHover { 50% { transform: translateY(-10px) } }
.pb-cardface .r { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.pb-cardface .lg { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; } .pb-cardface .lg img { width: 30px; height: 30px; }
.pb-cardface .num { font-family: ui-monospace, Menlo, monospace; letter-spacing: .14em; font-size: clamp(13px, 1.6vw, 18px); position: relative; z-index: 1; }
.pb-cardface .chip { width: 46px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #f5e3a0, #c9a54a); position: relative; z-index: 1; }

/* banner 2 — ads */
.pb2 { background: radial-gradient(70% 110% at 90% 10%, rgba(221,42,123,.55), transparent 60%), radial-gradient(60% 90% at 70% 100%, rgba(24,119,242,.5), transparent 60%), linear-gradient(120deg, #0d0b1a, #17122b); }
.pb-ad { position: absolute; border-radius: 22px; background: #fff; color: #0b0f14; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); overflow: hidden; }
.pb-ad.main { left: 50%; top: 50%; width: min(270px, 64%); translate: -50% -50%; }
.pb-slide .pb-ad.main { transform: rotateY(-30deg) rotateX(20deg) scale(.8); }
.pb-slide.on .pb-ad.main { transform: rotateY(-12deg) rotateX(6deg); }
.pb-ad .img { aspect-ratio: 1.6; background: linear-gradient(135deg, rgb(var(--brand-400)), rgb(var(--brand-700))); position: relative; display: grid; place-items: center; }
.pb-ad .img .prod { width: 34%; aspect-ratio: 1; border-radius: 26px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 40px; color: #fff; animation: pbHover 4s ease-in-out infinite; }
.pb-ad .meta { padding: 14px 16px; font-size: 13px; }
.pb-ad .bar { height: 6px; border-radius: 99px; background: #eef0f4; margin-top: 10px; overflow: hidden; }
.pb-ad .bar i { display: block; height: 100%; width: 0; background: rgb(var(--brand-500)); border-radius: 99px; transition: width 2s cubic-bezier(.2,.8,.2,1) .8s; }
.pb-slide.on .pb-ad .bar i { width: 82%; }
.pb-badge { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; font-size: 30px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); animation: pbHover 5s ease-in-out infinite; }
.pb-stat { position: absolute; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.95); color: #0b0f14; font-size: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); animation: pbHover 6s ease-in-out infinite; }
.pb-stat b { display: block; font-size: 20px; font-weight: 800; }

/* banner 3 — top up */
.pb3 { background: radial-gradient(70% 110% at 85% 30%, rgba(38,161,123,.55), transparent 60%), radial-gradient(50% 80% at 60% 100%, rgba(242,201,76,.35), transparent 60%), linear-gradient(120deg, #06110d, #0c1a15); }
.pb-orbit { position: absolute; left: 50%; top: 50%; width: 320px; height: 320px; translate: -50% -50%; transform-style: preserve-3d; transform: rotateX(68deg); }
.pb-orbit .o { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255,255,255,.18); }
.pb-orbit .spin { position: absolute; inset: 0; animation: pbOrbit 12s linear infinite; transform-style: preserve-3d; }
@keyframes pbOrbit { to { transform: rotateZ(360deg) } }
.pb-orbit .tok { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; transform-style: preserve-3d; }
.pb-orbit .tok span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 26px; color: #fff; box-shadow: inset -4px -6px 10px rgba(0,0,0,.3), 0 14px 24px -10px rgba(0,0,0,.6); animation: pbCounter 12s linear infinite; transform: rotateX(-68deg); }
@keyframes pbCounter { from { transform: rotateZ(0) rotateX(-68deg) } to { transform: rotateZ(-360deg) rotateX(-68deg) } }
.pb-vault { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 150px; height: 150px; border-radius: 40px; display: grid; place-items: center; font-size: 60px; color: #fff;
            background: linear-gradient(145deg, rgb(var(--brand-400)), rgb(var(--brand-700))); box-shadow: 0 40px 70px -30px rgba(0,0,0,.8), inset 0 2px 0 rgba(255,255,255,.3); animation: pbHover 5s ease-in-out infinite; }

/* banner 4 — send */
.pb4 { background: radial-gradient(70% 110% at 85% 20%, rgba(99,102,241,.6), transparent 60%), linear-gradient(120deg, #0a0b1a, #121433); }
.pb-globe { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; translate: -50% -50%; border-radius: 50%;
            background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.25), transparent 40%), radial-gradient(circle at 50% 50%, #4f46e5, #1e1b4b 70%); box-shadow: 0 0 80px rgba(99,102,241,.6), inset -30px -30px 60px rgba(0,0,0,.5); overflow: hidden; }
.pb-globe::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,.12) 28px 29px), repeating-linear-gradient(0deg, transparent 0 28px, rgba(255,255,255,.08) 28px 29px); animation: pbGlobe 10s linear infinite; border-radius: 50%; }
@keyframes pbGlobe { to { background-position: 290px 0, 0 0 } }
.pb-ping { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pbPing 2s ease-out infinite; }
@keyframes pbPing { to { box-shadow: 0 0 0 22px rgba(52,211,153,0) } }
.pb-arc { position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; translate: -50% -50%; }
.pb-arc path { stroke-dasharray: 8 10; animation: pbDash 1.4s linear infinite; }
@keyframes pbDash { to { stroke-dashoffset: -36 } }

/* ================= 3D CARD SHOWCASE ================= */
.c3-sec { position: relative; overflow: hidden; background: #050507; color: #fff; }
.c3-sec::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40%; height: 80%; background-image: linear-gradient(rgb(var(--brand-500) / .35) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--brand-500) / .35) 1px, transparent 1px);
                  background-size: 60px 60px; transform: perspective(500px) rotateX(70deg); mask-image: linear-gradient(transparent, #000 40%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 40%, transparent); animation: c3Grid 3s linear infinite; }
@keyframes c3Grid { to { background-position: 0 60px, 0 0 } }
.c3-scene { position: relative; height: 420px; perspective: 1400px; cursor: grab; touch-action: pan-y; user-select: none; }
.c3-scene:active { cursor: grabbing; }
.c3-card { position: absolute; left: 50%; top: 50%; width: min(420px, 82vw); aspect-ratio: 1.586; translate: -50% -50%; transform-style: preserve-3d; }
.c3-face { position: absolute; inset: 0; border-radius: 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.c3-front { background: radial-gradient(120% 140% at 100% 0%, rgb(var(--brand-500) / .6), transparent 55%), linear-gradient(135deg, #1a1b23, #050507); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.c3-back  { transform: rotateY(180deg); background: linear-gradient(135deg, #111219, #050507); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); padding: 0; }
.c3-edge { position: absolute; inset: 0; border-radius: 24px; background: #2a2c36; }
.c3-face .gl { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 48%, transparent 62%); background-size: 250% 100%; background-position: var(--gx, 50%) 0; pointer-events: none; }
.c3-shadow { position: absolute; left: 50%; bottom: 30px; width: 60%; height: 40px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--brand-500) / .55), transparent); filter: blur(10px); }
.c3-hint { font-size: 12px; color: rgba(255,255,255,.5); }
.c3-feat { border-radius: 20px; padding: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: transform .3s, background .3s, border-color .3s; }
.c3-feat:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgb(var(--brand-500) / .5); }

/* extra motion in the 3D section */
.c3-gtext { background: linear-gradient(90deg, rgb(var(--brand-400)), #fff 35%, rgb(var(--brand-400)) 60%, rgb(var(--brand-600))); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: c3Text 5s ease-in-out infinite; }
@keyframes c3Text { 0%,100% { background-position: 100% 0 } 50% { background-position: 0 0 } }
.c3-halo { position: absolute; left: 50%; top: 50%; width: min(520px, 95%); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
           background: conic-gradient(from 0deg, transparent, rgb(var(--brand-500) / .35), transparent 30%, transparent 50%, rgb(var(--brand-400) / .25), transparent 80%);
           -webkit-mask: radial-gradient(closest-side, transparent 64%, #000 66%, #000 70%, transparent 72%); mask: radial-gradient(closest-side, transparent 64%, #000 66%, #000 70%, transparent 72%); animation: c3Halo 8s linear infinite; }
@keyframes c3Halo { to { rotate: 360deg } }
.c3-spark { position: absolute; left: var(--x); bottom: 8%; width: var(--s); height: var(--s); border-radius: 50%; background: rgb(var(--brand-400)); box-shadow: 0 0 10px 2px rgb(var(--brand-400) / .7);
            opacity: 0; animation: c3Spark var(--d) ease-in var(--w) infinite; pointer-events: none; }
@keyframes c3Spark { 0% { opacity: 0; transform: translateY(0) scale(.6) } 15% { opacity: .9 } 100% { opacity: 0; transform: translateY(-340px) scale(1.2) } }
.c3-feat [data-c3-ic] { display: inline-block; transition: transform .4s cubic-bezier(.2,1.6,.4,1); }
.c3-feat:hover [data-c3-ic] { transform: scale(1.35) rotate(-10deg); }
.c3-feat { position: relative; overflow: hidden; }
.c3-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.08) 50%, transparent 65%); background-size: 250% 100%; background-position: 150% 0; transition: background-position .8s ease; }
.c3-feat:hover::after { background-position: -100% 0; }
.c3-hand { animation: c3Hand 1.8s ease-in-out infinite; }
@keyframes c3Hand { 0%,100% { transform: translateX(-4px) } 50% { transform: translateX(6px) } }
[data-c3-num] { min-height: 1.2em; }

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .pb { grid-template-columns: 1fr; min-height: 0; align-content: start; }
  .pb-txt { padding: 36px 26px 0; }
  .pb-art { min-height: 300px; }
  .pb-nav { display: none; }
  .pb-orbit { scale: .7; } .pb-ad.main { width: 200px; } .pb-badge { width: 48px; height: 48px; font-size: 22px; border-radius: 14px; }
  .pb2 .pb-stat { display: none; } .pb2 .pb-badge:nth-of-type(3) { left: 6% !important; bottom: 10% !important; } .pb-globe { width: 220px; height: 220px; } .pb-arc { width: 280px; height: 280px; }
  .pb-vault { width: 110px; height: 110px; font-size: 44px; border-radius: 30px; }
  .c3-scene { height: 320px; }
}
@media (max-width: 480px) { .pb { border-radius: 24px; } .pb p { font-size: 15px; } }

@media (prefers-reduced-motion: reduce) {
  .hs-stage *, .pb *, .c3-sec *, .c3-sec::before { animation: none !important; transition: none !important; }
  .c3-spark { display: none; }
  .pb-slide .pb-txt > *, .pb-slide .pb-art > * { opacity: 1 !important; transform: none !important; }
}
