/* Payloop website, light: same palette as the platform (login dots, Live page globe) */
* { box-sizing: border-box }
html, body { margin: 0 }
body { font-family: Inter, system-ui, sans-serif; color: #15171a; background: #f6f8fa; -webkit-font-smoothing: antialiased }
a { color: inherit; text-decoration: none }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px }

/* nav */
.nav { position: absolute; left: 0; right: 0; top: 0; z-index: 10 }
.nav .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between }
.nav img { height: 26px }
.nav .links { display: flex; gap: 30px; font-size: 14.5px; color: #4b5158 }
.nav .right { display: flex; gap: 10px; align-items: center }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; border-radius: 11px; padding: 11px 18px; border: 1px solid transparent; cursor: pointer; white-space: nowrap }
.btn.dark { background: #15171a; color: #fff; box-shadow: 0 6px 16px rgba(15,23,42,.16) }
.btn.teal { background: linear-gradient(135deg, #17667d, #0f4c5e); color: #fff; box-shadow: 0 8px 20px rgba(15,76,94,.25) }
.btn.ghost { background: rgba(255,255,255,.75); border-color: #e2e7eb; color: #15171a; backdrop-filter: blur(8px) }
.btn.sm { padding: 8px 14px; font-size: 13.5px }

/* hero pieces */
.hero { position: relative; overflow: hidden; background: radial-gradient(110% 90% at 60% 0%, #ffffff 0%, #f1f4f6 60%, #e9edf0 100%) }
.hero canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100% }
.hero .fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(246,248,250,0), #f6f8fa); pointer-events: none; z-index: 1 }
.scrim { position: absolute; z-index: 2; pointer-events: none; background: radial-gradient(closest-side, rgba(246,248,250,.95) 40%, rgba(246,248,250,0)) }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #0e6f84; background: rgba(227,244,248,.9); border: 1px solid #cfe9f0; border-radius: 999px; padding: 6px 12px }
.pill b { width: 7px; height: 7px; border-radius: 50%; background: #19b5d3; animation: ping 1.6s infinite }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(25,181,211,.5) } 80% { box-shadow: 0 0 0 7px rgba(25,181,211,0) } 100% { box-shadow: 0 0 0 0 rgba(25,181,211,0) } }
h1 { font-size: 64px; line-height: 1.02; letter-spacing: -.04em; margin: 18px 0 18px; font-weight: 700 }
h1 em { font-style: normal; background: linear-gradient(135deg, #1f8fab, #0f4c5e); -webkit-background-clip: text; background-clip: text; color: transparent }
.lead { font-size: 18px; line-height: 1.6; color: #4b5158; max-width: 520px; margin: 0 }
.ctas { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px }
.chips span { font-size: 12.5px; color: #4b5158; background: rgba(255,255,255,.8); border: 1px solid #e2e7eb; border-radius: 999px; padding: 6px 11px; backdrop-filter: blur(6px) }

/* glass cards (Live page) */
.glass { background: rgba(255,255,255,.84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 14px 34px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.05); border-radius: 14px }
.toast { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; min-width: 250px;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s cubic-bezier(.2,.9,.3,1.1) }
.toast.on { opacity: 1; transform: none }
.toast .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #17667d, #0f4c5e); color: #fff; flex: none }
.toast .ic svg { width: 16px; height: 16px }
.toast .t { font-size: 13px; font-weight: 600 } .toast .s { font-size: 12px; color: #6b7280 }
.toast .amt { margin-left: auto; font-weight: 700; color: #0e5d72; font-variant-numeric: tabular-nums }
.stat { padding: 12px 14px } .stat .k { font-size: 12px; color: #6b7280 } .stat .v { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums }

/* sections below the hero (shared) */
section { padding: 96px 0 }
.logos { padding: 34px 0 30px; text-align: center }
.logos p { font-size: 13px; color: #8a9099; margin: 0 0 18px }
.logos .row { display: flex; gap: 44px; justify-content: center; align-items: center; flex-wrap: wrap; filter: grayscale(1) brightness(0); opacity: .45 }
.logos img { height: 24px }
.eyebrow { font-size: 13px; font-weight: 600; color: #1f7f97; letter-spacing: .02em }
h2 { font-size: 42px; line-height: 1.08; letter-spacing: -.035em; margin: 10px 0 14px }
.sub { font-size: 17px; color: #4b5158; line-height: 1.6; max-width: 620px; margin: 0 }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px }
.card { background: #fff; border: 1px solid #e6eaee; border-radius: 16px; padding: 22px; box-shadow: 0 1px 2px rgba(15,23,42,.04) }
.card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #e8f3f6; color: #1f7f97; margin-bottom: 14px }
.card .ic svg { width: 19px; height: 19px }
.card h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em } .card p { margin: 0; font-size: 14.5px; color: #5b6168; line-height: 1.55 }
.video { margin-top: 40px; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid #e2e7eb; background: #fff; padding: 10px; box-shadow: 0 30px 60px rgba(15,23,42,.10) }
.video .bar { display: flex; gap: 6px; align-items: center; padding: 4px 6px 10px } .video .bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e7ea }
.video .bar span { margin-left: 12px; font-size: 12px; color: #8a9099; font-family: ui-monospace, monospace }
.video img { display: block; width: 100%; border-radius: 12px; aspect-ratio: 16/8; object-fit: cover }
.video .play { position: absolute; left: 50%; top: 54%; transform: translate(-50%,-50%); width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(0,0,0,.25) }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px }
.nums div { background: #fff; border: 1px solid #e6eaee; border-radius: 16px; padding: 20px }
.nums b { display: block; font-size: 34px; letter-spacing: -.03em } .nums span { font-size: 13.5px; color: #6b7280 }
.band { margin: 0 28px 28px; border-radius: 24px; background: linear-gradient(135deg, #17667d, #0b3b49); color: #fff; padding: 64px 48px; position: relative; overflow: hidden }
.band h2 { color: #fff; margin-top: 0 } .band .sub { color: #b9dde6 }
.band .btn.white { background: #fff; color: #0f4c5e }
.band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14) 1.4px, transparent 1.6px) 0 0/14px 14px; -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%) }
footer { padding: 30px 0 50px; font-size: 13px; color: #8a9099 } footer .wrap { display: flex; justify-content: space-between }

@media (max-width: 900px) {
  .nav .links { display: none }
  h1 { font-size: 42px } h2 { font-size: 32px }
  .grid3, .nums { grid-template-columns: 1fr 1fr }
  section { padding: 64px 0 }
  .band { padding: 40px 24px; margin: 0 12px 12px }
}
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr } .wrap { padding: 0 18px } }
@media (prefers-reduced-motion: reduce) { .pill b { animation: none } }

/* sticky header: stays on top while scrolling, turns into frosted glass once you scroll */
.nav { position: fixed; transition: background .3s, box-shadow .3s, backdrop-filter .3s }
.nav.scrolled { background: rgba(246,248,250,.78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.04) }
.nav.scrolled .wrap { height: 62px }
.nav .wrap { transition: height .3s }
.nav.scrolled img { height: 23px } .nav img { transition: height .3s }
