/* ===================== TOKENS ===================== */
:root {
  --navy: #0f2a5c;
  --navy-2: #163a78;
  --navy-deep: #081a3d;
  --gold: #f5b830;
  --gold-soft: #ffd166;
  --coral: #ff6b6b;
  --coral-2: #ff8e53;
  --blue: #4960ff;
  --ink: #142136;
  --muted: #5c6b86;
  --line: #e6ebf3;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --radius: 18px;
  --shadow: 0 18px 50px -22px rgba(15, 42, 92, .35);
  --shadow-sm: 0 8px 24px -14px rgba(15, 42, 92, .35);
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Sora', 'Manrope', sans-serif; line-height: 1.12; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===================== NAV ===================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 42, 92, .5); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand img { height: 34px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-weight: 600; font-size: 15px; color: var(--ink); opacity: .82; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; color: var(--navy-2); }
.nav__cta {
  background: var(--navy); color: #fff !important; opacity: 1 !important;
  padding: 9px 18px; border-radius: 999px; transition: transform .2s, box-shadow .2s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .25s, background .25s;
  cursor: pointer; border: 0;
}
.btn--primary { background: linear-gradient(120deg, var(--coral), var(--coral-2)); color: #fff; box-shadow: 0 14px 30px -14px rgba(255, 107, 107, .8); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px rgba(255, 107, 107, .9); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); transform: translateY(-3px); }
.btn--lg { padding: 16px 36px; font-size: 17px; }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100vh; display: grid;
  grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
  max-width: var(--maxw); margin: 0 auto; padding: 130px 24px 60px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(1200px 700px at 75% -10%, #1b3f86 0%, var(--navy) 38%, var(--navy-deep) 100%);
  margin: 0 calc(50% - 50vw); width: 100vw;
}
.hero__glow {
  position: absolute; top: -10%; right: -5%; width: 560px; height: 560px; z-index: -1;
  background: radial-gradient(circle, rgba(245, 184, 48, .35), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner { color: #fff; }
.badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #cfe0ff;
}
.hero__title { font-size: clamp(40px, 6vw, 72px); font-weight: 800; margin: 22px 0 18px; }
.grad { background: linear-gradient(100deg, var(--gold-soft), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 18px; color: #cdd9ef; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; margin: 32px 0 44px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 26px; }
.hero__stats strong { display: block; font-family: 'Sora'; font-size: 30px; color: var(--gold-soft); }
.hero__stats span { font-size: 14px; color: #aebfdc; }
.hero__device { position: relative; }
.hero__device img { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); transform: translateY(0); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-16px); } }

/* ===================== SECTION SHELL ===================== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 100px 24px; }
.section--alt { max-width: none; background: var(--bg-alt); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section--dark { max-width: none; background: radial-gradient(900px 500px at 80% 0%, #163a78, var(--navy-deep)); color: #fff; }
.section--dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section__lead { color: var(--muted); margin-top: 16px; font-size: 17px; }
.section--dark .section__lead { color: #b8c8e6; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 12px;
}
.eyebrow--light { color: var(--gold-soft); }

/* ===================== ABOUT ===================== */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.about__text p { font-size: 17px; color: #33425e; margin-bottom: 16px; }
.about__text em { color: var(--navy-2); font-style: normal; font-weight: 700; }
.about__list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.about__list li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ink); }
.about__list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px;
  background: linear-gradient(120deg, var(--coral), var(--coral-2)); color: #fff;
  border-radius: 50%; font-size: 13px; display: grid; place-items: center;
}
.about__card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.about__logo { margin: 0 auto 24px; max-width: 100%; }
.about__cert { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.about__cert img { width: 64px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.about__cert strong { display: block; font-family: 'Sora'; font-size: 16px; }
.about__cert span { font-size: 13px; color: var(--muted); }

/* ===================== MODULES ===================== */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.module::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.module:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.module:hover::after { transform: scaleX(1); }
.module__icon { font-size: 34px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: var(--bg-alt); margin-bottom: 18px; }
.module h3 { font-size: 22px; margin-bottom: 14px; color: var(--navy); }
.module ul { list-style: none; display: grid; gap: 9px; }
.module li { padding-left: 20px; position: relative; color: #44546f; font-size: 15px; }
.module li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ===================== INTEGRATION ===================== */
.integration { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.integ {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.integ:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.integ__tag {
  display: inline-flex; font-family: 'Sora'; font-weight: 800; font-size: 14px; letter-spacing: .08em;
  padding: 8px 14px; border-radius: 10px; margin-bottom: 18px;
  background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: var(--gold-soft);
}
.integ h3 { font-size: 20px; margin-bottom: 10px; }
.integ p { color: var(--muted); font-size: 15px; }

/* ===================== BILLERS ===================== */
.billers { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.billers__map { position: relative; }
.billers__map img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.billers__kpis { display: flex; gap: 20px; margin-top: 24px; }
.kpi { flex: 1; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 20px; text-align: center; }
.kpi strong { display: block; font-family: 'Sora'; font-size: 38px; color: var(--gold-soft); }
.kpi span { font-size: 14px; color: #b8c8e6; }
.billers__cards { display: grid; gap: 22px; }
.bcard { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 28px 30px; }
.bcard--accent { background: linear-gradient(130deg, rgba(245, 184, 48, .18), rgba(255, 107, 107, .12)); border-color: rgba(245, 184, 48, .35); }
.bcard h3 { font-size: 20px; color: var(--gold-soft); margin-bottom: 8px; }
.bcard__big { font-family: 'Sora'; font-size: 42px; font-weight: 800; }
.bcard__big small { font-size: 16px; font-weight: 600; color: #b8c8e6; }
.bcard p { color: #9fb2d6; font-size: 14px; margin-top: 6px; }
.bcard__num { font-family: 'Sora'; font-size: 28px; font-weight: 700; color: #fff; }
.billers__breakdown { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 9px 18px 9px 9px; font-size: 14px; font-weight: 600; }
.chip span { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--navy-deep); font-family: 'Sora'; font-weight: 800; }

/* ===================== PRICING ===================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price--featured { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.price__head { margin-bottom: 18px; }
.price__head h3 { font-size: 22px; }
.price__pill { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.price--featured .price__pill { background: rgba(255, 255, 255, .15); color: var(--gold-soft); }
.price__amount { font-family: 'Sora'; font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.price--featured .price__amount { color: var(--gold-soft); }
.price__amount small { font-size: 14px; font-weight: 600; color: var(--muted); }
.price--featured .price__amount small { color: #b8c8e6; }
.price__desc { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.price--featured .price__desc { color: #cdd9ef; }
.price__tiers { list-style: none; display: grid; gap: 10px; }
.price__tiers li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; background: var(--bg-alt); font-size: 14px; }
.price--featured .price__tiers li { background: rgba(255, 255, 255, .08); }
.price__tiers span { color: var(--muted); }
.price--featured .price__tiers span { color: #cdd9ef; }
.price__tiers b { font-family: 'Sora'; color: var(--ink); }
.price--featured .price__tiers b { color: #fff; }

/* ===================== BILLCENTER ===================== */
.section--billcenter { max-width: none; background: linear-gradient(160deg, #eef1ff 0%, #f7f8ff 100%); }
.section--billcenter > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section--billcenter .eyebrow { color: var(--blue); }
.bc-head { display: flex; align-items: center; gap: 26px; margin-bottom: 50px; }
.bc-logo { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 16px 34px -14px rgba(73, 96, 255, .6); }
.bc-head h2 { font-size: clamp(28px, 4vw, 42px); }
.bc-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.bcf { background: #fff; border: 1px solid #e3e7ff; border-radius: var(--radius); padding: 28px 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.bcf:hover { transform: translateY(-6px); box-shadow: 0 20px 44px -22px rgba(73, 96, 255, .5); }
.bcf__i { font-size: 28px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 15px; background: #eef1ff; margin-bottom: 16px; }
.bcf h3 { font-size: 19px; color: var(--blue); margin-bottom: 8px; }
.bcf p { color: var(--muted); font-size: 15px; }
.bc-pricing__title { text-align: center; font-size: 26px; margin-bottom: 28px; }
.bc-pricing__title small { display: block; font-family: 'Manrope'; font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 6px; }
.bc-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bctier { background: #fff; border: 1px solid #e3e7ff; border-radius: var(--radius); padding: 36px 26px; text-align: center; transition: transform .3s var(--ease); }
.bctier:hover { transform: translateY(-6px); }
.bctier--mid { background: linear-gradient(160deg, var(--blue), #6d7dff); color: #fff; border-color: transparent; box-shadow: 0 20px 44px -20px rgba(73, 96, 255, .7); transform: scale(1.04); }
.bctier--mid:hover { transform: scale(1.04) translateY(-6px); }
.bctier__price { font-family: 'Sora'; font-size: 38px; font-weight: 800; color: var(--blue); margin-bottom: 12px; }
.bctier--mid .bctier__price { color: #fff; }
.bctier p { color: var(--muted); font-size: 15px; }
.bctier--mid p { color: #e2e6ff; }

/* ===================== TEAM ===================== */
.teams { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.teamgroup { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.teamgroup__title { font-size: 22px; color: var(--navy); margin-bottom: 24px; }
.members { display: flex; flex-wrap: wrap; gap: 18px; }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; width: 130px; }
.member__av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: 'Sora'; font-weight: 800; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-2)); margin-bottom: 12px; }
.member strong { font-size: 15px; }
.member span { font-size: 13px; color: var(--muted); }

/* ===================== FOOTER ===================== */
.footer { background: var(--navy-deep); color: #cdd9ef; }
.footer__cta { text-align: center; padding: 80px 24px; max-width: 720px; margin: 0 auto; }
.footer__cta h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.footer__cta p { color: #9fb2d6; margin-bottom: 28px; font-size: 17px; }
.footer__grid { max-width: var(--maxw); margin: 0 auto; padding: 50px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand p { margin: 0; }
.footer__logo { height: 54px; flex-shrink: 0; }
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer__col p { font-size: 15px; margin-bottom: 8px; }
.footer__col a { color: var(--gold-soft); }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom { text-align: center; padding: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #7e90b3; }

/* ===================== REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in:nth-child(2) { transition-delay: .07s; }
.reveal.in:nth-child(3) { transition-delay: .14s; }
.reveal.in:nth-child(4) { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero__device img { animation: none; } }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__sub { margin-inline: auto; }
  .hero__device { max-width: 360px; margin: 30px auto 0; }
  .about, .billers { grid-template-columns: 1fr; }
  .modules, .integration, .pricing, .bc-features, .bc-tiers { grid-template-columns: repeat(2, 1fr); }
  .teams { grid-template-columns: 1fr; }
  .bc-head { flex-direction: column; text-align: center; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 18px 24px 26px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .35s var(--ease); pointer-events: none;
  }
  .nav__links.open { transform: none; pointer-events: auto; }
  .nav__links a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__cta { text-align: center; margin-top: 8px; border-bottom: 0 !important; }
  .nav__burger { display: flex; }
  .modules, .integration, .pricing, .bc-features, .bc-tiers { grid-template-columns: 1fr; }
  .bctier--mid { transform: none; }
  .bctier--mid:hover { transform: translateY(-6px); }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 70px 20px; }
}
