/* =========================================================
   Provident Funding — public website premium layer
   ========================================================= */
:root { --serif: 'Instrument Serif', Georgia, serif; --ease: cubic-bezier(.22,1,.36,1); }
body.site { background: #030807; overflow-x: hidden; }
body.site::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 600; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }

/* progress + cursor */
.scroll-prog { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); z-index: 300; }
.cursor-glow { position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0; left: 0; top: 0; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(19, 195, 148,.07), transparent 60%); transition: opacity .4s; }
@media (hover: none) { .cursor-glow { display: none; } }

/* intro curtain */
.intro { position: fixed; inset: 0; z-index: 500; background: #030807; display: grid; place-items: center; }
.intro .mark { width: 76px; height: 76px; margin: 0 auto; }
.intro .mark .logo-mark { width: 100%; height: 100%; }
.snav .logo .logo-full { height: 42px; }
.xfoot .logo .logo-full { height: 46px; }
@media (max-width: 560px) { .snav .logo .logo-full { height: 34px; } }
.intro .bar { width: 160px; height: 2px; background: rgba(255,255,255,.08); margin-top: 22px; overflow: hidden; border-radius: 2px; }
.intro .bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }

/* nav */
.snav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; transition: background .4s var(--ease), border-color .4s, padding .4s var(--ease); border-bottom: 1px solid transparent; padding: 10px 0; }
.snav.scrolled { background: rgba(3, 8, 7,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: rgba(255,255,255,.06); padding: 0; }
.snav .container { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; max-width: 1280px; }
.snav-links { display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.snav-links a { color: var(--text-2); font-size: .88rem; font-weight: 500; padding: 7px 15px; border-radius: 99px; transition: .25s; }
.snav-links a:hover, .snav-links a.on { color: var(--text); background: rgba(255,255,255,.06); }
.snav-cta { display: flex; gap: 10px; align-items: center; }
.snav .burger { display: none; }
@media (max-width: 1180px) {
  .snav-links { display: none; position: fixed; inset: 76px 14px auto; flex-direction: column; border-radius: 18px; background: rgba(6, 14, 13,.97); padding: 10px; }
  .snav-links.open { display: flex; }
  .snav-links a { padding: 13px 16px; border-radius: 12px; }
  .snav .burger { display: block; }
  .snav-cta .btn-outline { display: none; }
}
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); z-index: -1; }
.btn-shine:hover::after { transform: translateX(120%); }
.btn-glass { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); color: var(--text); }
.btn-glass:hover { background: rgba(255,255,255,.09); color: var(--text); }
.magnetic { will-change: transform; }

/* hero */
.xhero { position: relative; min-height: 100vh; min-height: 100svh; padding: 150px 0 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.xhero canvas#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.aurora { position: absolute; inset: -20%; z-index: 0; filter: blur(70px); opacity: .55; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 2%; top: 4%; background: radial-gradient(circle, rgba(19, 195, 148,.55), transparent 65%); }
.aurora i:nth-child(2) { width: 52vw; height: 52vw; right: -4%; top: -10%; background: radial-gradient(circle, rgba(2, 125, 95,.55), transparent 65%); animation-duration: 22s; }
.aurora i:nth-child(3) { width: 36vw; height: 36vw; left: 38%; top: 40%; background: radial-gradient(circle, rgba(4, 90, 70,.35), transparent 65%); animation-duration: 26s; }
@keyframes drift { to { transform: translate(6vw, 5vh) scale(1.15); } }
.xhero .container { position: relative; z-index: 2; max-width: 1280px; }
.xhero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.xhero h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); letter-spacing: -.045em; line-height: .98; margin: 26px 0 26px; font-weight: 700; }
.xhero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.xhero h1 .line > span { display: inline-block; }
.xhero h1 .serif { font-size: 1.08em; background: linear-gradient(120deg, #a7f3d8, #13c394 40%, #0aa57c); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.xhero .lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 560px; color: #b4c0d8; line-height: 1.7; }
.xhero .cta { display: flex; gap: 14px; margin: 38px 0 44px; flex-wrap: wrap; }
.trust { display: flex; gap: 34px; flex-wrap: wrap; }
.trust div b { display: block; font-family: var(--font-head); font-size: 1.9rem; letter-spacing: -.03em; }
.trust div span { color: var(--muted); font-size: .82rem; }
.pill-live { display: inline-flex; gap: 10px; align-items: center; padding: 7px 16px 7px 8px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); font-size: .84rem; color: var(--text-2); backdrop-filter: blur(6px); }
.pill-live b { background: var(--grad); color: #fff; font-size: .68rem; letter-spacing: .1em; padding: 3px 9px; border-radius: 99px; }

/* hero device */
.device-wrap { perspective: 1400px; position: relative; }
.device { position: relative; border-radius: 22px; padding: 1px; background: linear-gradient(140deg, rgba(46, 230, 180,.55), rgba(255,255,255,.05) 35%, rgba(2, 125, 95,.5)); transform: rotateY(-14deg) rotateX(8deg); transform-style: preserve-3d; box-shadow: 0 60px 120px -20px rgba(0,0,0,.8), 0 0 80px rgba(19, 195, 148,.12); }
.device-in { border-radius: 21px; background: linear-gradient(180deg, #0a1817, #061010); overflow: hidden; }
.dv-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .78rem; color: var(--muted); }
.dv-top i { width: 9px; height: 9px; border-radius: 50%; background: #23403b; display: inline-block; }
.dv-top b { margin-left: 8px; color: var(--text); font-family: var(--font-head); }
.dv-body { display: grid; grid-template-columns: 1fr 150px; }
.dv-chart { padding: 16px; border-right: 1px solid rgba(255,255,255,.05); }
.dv-chart .px { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; }
.dv-chart canvas { width: 100%; height: 190px; display: block; margin-top: 10px; }
.dv-side { padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.dv-q { display: flex; justify-content: space-between; font-size: .72rem; padding: 7px 8px; border-radius: 8px; background: rgba(255,255,255,.025); font-family: ui-monospace, Consolas, monospace; }
.dv-q span { color: var(--muted); font-family: var(--font); }
.dv-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.dv-btns div { border-radius: 8px; padding: 8px 4px; text-align: center; font-size: .66rem; font-weight: 700; }
.dv-btns .s { background: rgba(255,77,109,.14); color: #ff4d6d; } .dv-btns .b { background: rgba(22,199,132,.16); color: #16c784; }
.float-card { position: absolute; background: rgba(10, 24, 23,.82); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 13px 16px; box-shadow: 0 24px 60px rgba(0,0,0,.5); font-size: .8rem; z-index: 3; }
.float-card b { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.fc1 { left: -48px; bottom: 34px; } .fc2 { right: -26px; top: -30px; } .fc3 { right: 30px; bottom: -34px; }
.fc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); color: var(--primary); float: left; margin-right: 10px; }
@media (max-width: 1020px) { .xhero-grid { grid-template-columns: 1fr; } .device { transform: none; } .fc1 { left: 8px; } .fc2 { right: 8px; } .xhero { padding-top: 120px; } }
@media (max-width: 560px) { .dv-body { grid-template-columns: 1fr; } .dv-side { display: none; } .float-card { display: none; } }

/* ticker */
.ticker { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(4, 10, 10,.75); backdrop-filter: blur(10px); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk { display: flex; align-items: center; gap: 10px; padding: 14px 28px; border-right: 1px solid rgba(255,255,255,.05); font-size: .84rem; white-space: nowrap; }
.tk b { font-weight: 600; } .tk .p { font-family: ui-monospace, Consolas, monospace; color: var(--text-2); transition: color .4s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.xsec { position: relative; padding: 130px 0; z-index: 2; }
.xsec .container, .xfoot .container { max-width: 1280px; }
.xhead { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.xhead h2, .xh2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); letter-spacing: -.04em; line-height: 1.03; margin: 18px 0 18px; }
.xhead p { font-size: 1.08rem; }
.reveal { opacity: 0; transform: translateY(40px); }
.no-motion .reveal { opacity: 1; transform: none; }
.divider-glow { height: 1px; background: linear-gradient(90deg, transparent, rgba(19, 195, 148,.4), rgba(2, 125, 95,.4), transparent); }

/* marquee logos */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 70px; width: max-content; animation: marquee 32s linear infinite; padding: 6px 0; }
.marquee span { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: rgba(255,255,255,.32); white-space: nowrap; display: flex; align-items: center; gap: 10px; }

/* stats */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.07); border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, rgba(12, 23, 24,.6), rgba(8, 17, 17,.4)); }
.stats-band > div { padding: 38px 30px; border-right: 1px solid rgba(255,255,255,.06); }
.stats-band > div:last-child { border: 0; }
.stats-band b { display: block; font-family: var(--font-head); font-size: clamp(2.1rem, 3.6vw, 3.2rem); letter-spacing: -.04em; line-height: 1; }
.stats-band span { color: var(--muted); font-size: .9rem; margin-top: 10px; display: block; }
@media (max-width: 860px) { .stats-band { grid-template-columns: 1fr 1fr; } .stats-band > div:nth-child(2) { border-right: 0; } .stats-band > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.06); } }

/* timeline steps */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.timeline .rail { position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: rgba(255,255,255,.07); }
.timeline .rail i { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 20px rgba(19, 195, 148,.6); }
.tstep { position: relative; text-align: center; padding: 0 12px; }
.tstep .num { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 26px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; background: #061010; border: 1px solid rgba(255,255,255,.12); position: relative; z-index: 1; box-shadow: 0 0 0 8px #030807; }
.tstep .num::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tstep h3 { font-size: 1.3rem; margin-bottom: 10px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } .timeline .rail { display: none; } }

/* pricing */
.xprice { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 28px; padding: 1px; background: linear-gradient(140deg, rgba(19, 195, 148,.45), rgba(255,255,255,.06) 40%, rgba(2, 125, 95,.45)); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); }
.xprice > div { background: #071211; }
.xprice > div:first-child { border-radius: 27px 0 0 27px; } .xprice > div:last-child { border-radius: 0 27px 27px 0; }
.xprice .rule-row { padding: 17px 34px; }
.xprice .price-side { background: radial-gradient(circle at 70% 0, rgba(19, 195, 148,.18), transparent 55%), radial-gradient(circle at 0 100%, rgba(2, 125, 95,.2), transparent 55%), #091615; border-left: 1px solid rgba(255,255,255,.06); padding: 44px; }
.xprice .size-big { font-size: 3.2rem; letter-spacing: -.04em; }
@media (max-width: 860px) { .xprice { grid-template-columns: 1fr; } .xprice > div:first-child { border-radius: 27px 27px 0 0; } .xprice > div:last-child { border-radius: 0 0 27px 27px; } .xprice .price-side { border-left: 0; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bcard { position: relative; grid-column: span 2; border-radius: 24px; padding: 32px; background: linear-gradient(180deg, rgba(14, 28, 28,.9), rgba(8, 17, 17,.9)); border: 1px solid rgba(255,255,255,.07); overflow: hidden; isolation: isolate; transition: border-color .4s; min-height: 250px; }
.bcard.w3 { grid-column: span 3; } .bcard.w4 { grid-column: span 4; }
.bcard::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(19, 195, 148,.13), transparent 45%); }
.bcard:hover { border-color: rgba(19, 195, 148,.3); } .bcard:hover::before { opacity: 1; }
.bcard .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--primary); border: 1px solid rgba(19, 195, 148,.2); margin-bottom: 22px; }
.bcard h3 { font-size: 1.3rem; margin-bottom: 10px; letter-spacing: -.02em; }
.bcard .big { font-family: var(--font-head); font-size: 4.2rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .bcard, .bcard.w3, .bcard.w4 { grid-column: span 1; } .bcard.w4 { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bcard, .bcard.w3, .bcard.w4 { grid-column: span 1; } }

/* P-Trader showcase */
.pt-show { border-radius: 26px; padding: 1px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.02) 40%, rgba(19, 195, 148,.35)); box-shadow: 0 60px 140px -30px rgba(0,0,0,.9), 0 0 120px rgba(2, 125, 95,.12); }
.pt-show-in { border-radius: 25px; overflow: hidden; background: #040a0a; display: grid; grid-template-columns: 210px 1fr 230px; min-height: 420px; }
.ps-watch { border-right: 1px solid rgba(255,255,255,.06); padding: 10px 0; }
.ps-row { display: flex; justify-content: space-between; padding: 9px 16px; font-size: .78rem; }
.ps-row.on { background: rgba(19, 195, 148,.07); box-shadow: inset 2px 0 0 var(--primary); }
.ps-row span { font-family: ui-monospace, Consolas, monospace; color: var(--text-2); transition: color .4s; }
.ps-chart { position: relative; padding: 16px 18px; }
.ps-chart canvas { width: 100%; height: 330px; display: block; }
.ps-order { border-left: 1px solid rgba(255,255,255,.06); padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: .8rem; }
.ps-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-ba div { border-radius: 12px; padding: 10px; text-align: center; font-family: ui-monospace, Consolas, monospace; font-weight: 700; }
.ps-ba small { display: block; font-family: var(--font); font-size: .58rem; letter-spacing: .14em; opacity: .8; }
.ps-ba .s { background: rgba(255,77,109,.1); color: #ff4d6d; border: 1px solid rgba(255,77,109,.25); }
.ps-ba .b { background: rgba(22,199,132,.12); color: #16c784; border: 1px solid rgba(22,199,132,.35); }
.ps-exec { margin-top: auto; background: #16c784; color: #fff; border-radius: 12px; padding: 13px; text-align: center; font-weight: 700; box-shadow: 0 10px 30px rgba(22,199,132,.3); }
@media (max-width: 980px) { .pt-show-in { grid-template-columns: 1fr; } .ps-watch, .ps-order { display: none; } }
.feature-list { list-style: none; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); }
.feature-list li i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--grad-soft); color: var(--primary); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .8rem; }

/* leaderboard preview */
.lb-row { display: grid; grid-template-columns: 50px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,.05); }
.lb-row:last-child { border: 0; }
.lb-rank { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--muted); }

/* CTA */
.xcta { position: relative; border-radius: 34px; padding: 110px 40px; text-align: center; overflow: hidden; background: #050e0d; border: 1px solid rgba(255,255,255,.07); }
.xcta::before { content: ''; position: absolute; width: 140%; aspect-ratio: 1; left: -20%; top: -130%; background: conic-gradient(from 0deg, transparent, rgba(19, 195, 148,.4), transparent 30%, rgba(2, 125, 95,.45), transparent 60%); animation: spin 16s linear infinite; }
.xcta::after { content: ''; position: absolute; inset: 1px; border-radius: 33px; background: radial-gradient(circle at 50% 0, rgba(19, 195, 148,.15), transparent 60%), #050e0d; }
.xcta > * { position: relative; z-index: 1; }
.xcta h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -.045em; line-height: 1; }
.xcta p { max-width: 560px; margin: 22px auto 36px; font-size: 1.08rem; }

/* page hero (inner pages) */
.phero { position: relative; padding: 180px 0 90px; text-align: center; overflow: hidden; }
.phero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.045em; line-height: 1; margin: 20px auto 22px; max-width: 900px; }
.phero p { max-width: 640px; margin: 0 auto; font-size: 1.12rem; }

/* footer */
.xfoot { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.06); padding: 90px 0 36px; background: linear-gradient(180deg, transparent, rgba(19, 195, 148,.03)); }
.xfoot .big-word { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.5rem, 15vw, 13rem); letter-spacing: -.06em; line-height: .85; text-align: center; margin-top: 70px; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.xfoot .foot-grid { grid-template-columns: 1.7fr repeat(4, 1fr); }
@media (max-width: 900px) { .xfoot .foot-grid { grid-template-columns: 1fr 1fr; } }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); color: var(--text-2); }
.social a:hover { border-color: var(--primary); color: var(--primary); }

@media (prefers-reduced-motion: reduce) {
  .aurora i, .ticker-track, .marquee .track, .xcta::before { animation: none !important; }
}
