/* Billora product page — builds on ../styles.css */

.bl-page {
  --app: #2563eb;
  --app-soft: #eaf1ff;
  --app-bg: #f3f5f9;
  --good: #0aac23;
  --warn: #e0a106;
  --due: #c62828;
  --wa: #25d366;
  overflow-x: hidden;
}

.primary-nav > a.bl-nav-current {
  color: var(--blue);
}

/* ---------- Hero ---------- */

.bl-hero {
  display: grid;
  min-height: 680px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 80px;
}

.bl-appmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 16px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 10px 30px -18px rgb(0 31 67 / 35%);
}

.bl-appicon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, #3b82f6 0%, var(--app) 55%, #1e40af 100%);
  box-shadow: 0 8px 18px -8px rgb(37 99 235 / 70%), inset 0 1px 0 rgb(255 255 255 / 30%);
}

.bl-appicon svg,
.bl-app-brand svg,
.bl-card-ico svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.bl-appicon svg {
  width: 22px;
  color: #fff;
}

.bl-appicon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.bl-app-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.bl-appmark-text {
  display: grid;
  line-height: 1.15;
}

.bl-appmark-text strong {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.bl-appmark-text small {
  color: var(--muted);
  font-size: 11px;
}

/* Billora badge: black pill, transparent logo, shining name */
.bl-appmark {
  padding: 5px 20px 5px 6px;
  border-color: rgb(59 130 246 / 35%);
  background: radial-gradient(120% 140% at 0% 50%, #0b1730 0%, #05070d 55%, #000 100%);
  box-shadow: 0 0 0 1px rgb(59 130 246 / 12%), 0 14px 36px -14px rgb(37 99 235 / 75%), inset 0 1px 0 rgb(255 255 255 / 8%);
}
.showcase-brand.bl-appmark {
  display: inline-flex;
  padding: 5px 18px 5px 6px;
  border: 1px solid rgb(59 130 246 / 35%);
  border-radius: 40px;
}
.bl-appicon.bare {
  width: 56px;
  height: 56px;
  background: none;
  box-shadow: none;
}
.bl-appicon.bare img {
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgb(56 140 255 / 55%));
}
.bl-appmark strong {
  background: linear-gradient(100deg, #8ec5ff 0%, #ffffff 18%, #4f9dff 36%, #e9f3ff 50%, #3b82f6 68%, #ffffff 84%, #8ec5ff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 7px rgb(59 130 246 / 60%));
  font-size: 20px;
  font-weight: 700;
  animation: bl-shine 3.6s linear infinite;
}
.bl-appmark small {
  color: #9fb4d4;
}
.bl-appmark .showcase-new {
  background: rgb(20 184 166 / 16%);
  color: #5eead4;
}
@keyframes bl-shine {
  to { background-position: -220% center; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-appmark strong { animation: none; }
}

.bl-hero h1 {
  max-width: 600px;
  margin: 28px 0 0;
  font-family: var(--display);
  font-size: clamp(46px, 5.6vw, 78px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1;
}

.bl-hero h1 span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bl-intro {
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.bl-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 32px;
}

.button.bl-download {
  min-height: 58px;
  gap: 12px;
  padding: 0 26px 0 20px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 30px -16px rgb(0 31 67 / 60%);
}

.button.bl-download:hover {
  background: var(--blue);
  color: #fff;
}

.button .bl-android {
  width: 28px;
  fill: #3ddc84;
  stroke: none;
}

.bl-download-text {
  display: grid;
  text-align: left;
  line-height: 1.1;
}

.bl-download-text small {
  color: rgb(255 255 255 / 70%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.bl-download-text strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.bl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
}

.bl-meta > span {
  padding: 6px 11px;
  border-radius: 20px;
  background: #eef4fa;
  color: #3f5872;
  font-size: 11px;
  font-weight: 600;
}

/* ---------- Phone stage ---------- */

.bl-stage {
  position: relative;
  display: grid;
  min-height: 600px;
  place-items: center;
}

.bl-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(0 212 197 / 28%) 0%, rgb(0 97 195 / 18%) 45%, transparent 70%);
  filter: blur(10px);
}

.bl-ring {
  position: absolute;
  border: 1px dashed rgb(0 97 195 / 22%);
  border-radius: 50%;
}

.bl-ring-one {
  width: 470px;
  height: 470px;
  animation: bl-spin 60s linear infinite;
}

.bl-ring-two {
  width: 580px;
  height: 580px;
  border-style: solid;
  border-color: rgb(0 31 67 / 6%);
}

@keyframes bl-spin {
  to {
    transform: rotate(360deg);
  }
}

.bl-phone {
  position: relative;
  z-index: 1;
  width: 280px;
  padding: 11px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1d2a3d, #0b1422);
  box-shadow:
    0 50px 80px -30px rgb(0 31 67 / 55%),
    0 0 0 1px rgb(255 255 255 / 8%) inset,
    0 0 0 2px #2b3a50;
  transform: rotate(-3deg);
  animation: bl-float 7s ease-in-out infinite;
}

@keyframes bl-float {
  50% {
    transform: rotate(-3deg) translateY(-10px);
  }
}

.bl-notch {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 50%;
  width: 78px;
  height: 20px;
  border-radius: 12px;
  background: #0b1422;
  transform: translateX(-50%);
}

.bl-screen {
  overflow: hidden;
  padding: 44px 14px 12px;
  border-radius: 34px;
  background: var(--app-bg);
  color: #191919;
  font-family: var(--body);
}

.bl-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bl-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
}

.bl-app-brand svg {
  width: 18px;
  color: var(--app);
}

.bl-app-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--app-soft);
  color: var(--app);
  font-size: 10px;
  font-weight: 700;
}

.bl-app-sales {
  margin-top: 12px;
  padding: 13px 14px 10px;
  border-radius: 16px;
  background: linear-gradient(140deg, #3b82f6, var(--app) 60%, #1e40af);
  color: #fff;
}

.bl-app-sales small,
.bl-app-tiles small,
.bl-app-list small {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.bl-app-sales small {
  color: rgb(255 255 255 / 70%);
}

.bl-app-sales strong {
  display: block;
  margin-top: 3px;
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.bl-up {
  font-size: 9px;
  font-weight: 600;
  opacity: 0.85;
}

.bl-spark {
  display: flex;
  height: 30px;
  align-items: end;
  gap: 4px;
  margin-top: 8px;
}

.bl-spark i {
  flex: 1;
  border-radius: 3px 3px 1px 1px;
  background: rgb(255 255 255 / 38%);
  transform-origin: bottom;
  animation: bl-grow 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bl-spark i:nth-child(1) { height: 35%; animation-delay: 0.05s; }
.bl-spark i:nth-child(2) { height: 50%; animation-delay: 0.1s; }
.bl-spark i:nth-child(3) { height: 42%; animation-delay: 0.15s; }
.bl-spark i:nth-child(4) { height: 62%; animation-delay: 0.2s; }
.bl-spark i:nth-child(5) { height: 55%; animation-delay: 0.25s; }
.bl-spark i:nth-child(6) { height: 70%; animation-delay: 0.3s; }
.bl-spark i:nth-child(7) { height: 64%; animation-delay: 0.35s; }
.bl-spark i:nth-child(8) { height: 82%; animation-delay: 0.4s; }
.bl-spark i:nth-child(9) { height: 76%; animation-delay: 0.45s; }
.bl-spark i:nth-child(10) { height: 100%; background: #fff; animation-delay: 0.5s; }

@keyframes bl-grow {
  from {
    transform: scaleY(0.1);
  }
}

.bl-app-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.bl-app-tiles div {
  padding: 9px 10px;
  border-radius: 12px;
  background: #fff;
}

.bl-app-tiles small {
  color: #666;
}

.bl-app-tiles b {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}

.bl-due {
  color: var(--due);
}

.bl-warn {
  color: var(--warn);
}

.bl-app-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.bl-app-actions span {
  padding: 9px 6px;
  border-radius: 11px;
  background: #fff;
  color: var(--app);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.bl-app-actions .bl-act-main {
  background: var(--app);
  color: #fff;
}

.bl-app-list {
  margin-top: 10px;
  padding: 10px 10px 4px;
  border-radius: 14px;
  background: #fff;
}

.bl-app-list small {
  margin-bottom: 4px;
  color: #666;
}

.bl-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid #eef0f4;
}

.bl-row:first-of-type {
  border-top: 0;
}

.bl-row span {
  display: grid;
  gap: 1px;
}

.bl-row span:last-child {
  justify-items: end;
}

.bl-row b {
  font-size: 10.5px;
}

.bl-row em {
  color: #888;
  font-size: 8.5px;
  font-style: normal;
}

.bl-row i {
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 7.5px;
  font-style: normal;
  font-weight: 700;
}

.bl-chip-paid {
  background: #e3f6e6;
  color: var(--good);
}

.bl-chip-due {
  background: #fde8e8;
  color: var(--due);
}

.bl-tabbar {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  padding: 9px 4px 2px;
}

.bl-tabbar i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #d7dce5;
}

.bl-tabbar i.is-on {
  background: var(--app);
}

/* floating cards */

.bl-float {
  position: absolute;
  z-index: 2;
  border: 1px solid rgb(0 31 67 / 7%);
  border-radius: 16px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 24px 40px -22px rgb(0 31 67 / 45%);
  backdrop-filter: blur(8px);
  animation: bl-bob 6s ease-in-out infinite;
}

@keyframes bl-bob {
  50% {
    transform: translateY(-8px);
  }
}

.bl-float b {
  display: block;
  font-size: 13px;
}

.bl-float small {
  color: var(--muted);
  font-size: 10.5px;
}

.bl-float-wa {
  top: 64px;
  right: -6px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px 12px 12px;
  animation-delay: -2s;
}

.bl-wa-dot {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
}

.bl-wa-dot svg {
  width: 17px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.bl-float-gst {
  bottom: 92px;
  left: -14px;
  width: 172px;
  padding: 14px;
}

.bl-float-gst small {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.bl-float-gst > b {
  font-family: var(--display);
  font-size: 17px;
}

.bl-gst-lines {
  display: grid;
  gap: 5px;
  margin: 10px 0;
}

.bl-gst-lines i {
  height: 5px;
  border-radius: 3px;
  background: #e8eef5;
}

.bl-gst-lines i:nth-child(2) {
  width: 78%;
}

.bl-gst-lines i:nth-child(3) {
  width: 55%;
}

.bl-gst-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed #cfdbe8;
}

.bl-gst-total em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
}

.bl-gst-total strong {
  color: var(--blue);
  font-size: 14px;
}

.bl-float-stock {
  right: 8px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  animation-delay: -4s;
}

.bl-stock-ico {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: #fff4d6;
  color: var(--warn);
  font-weight: 800;
}

.bl-stage-note {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin: 0;
  color: #8ba0b5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* ---------- Proof band ---------- */

.bl-proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #f5fbff, #f1fcfb);
}

.bl-proof-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.bl-proof-lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.bl-proof-shop {
  display: grid;
  line-height: 1.25;
}

.bl-proof-shop strong {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.bl-proof-shop span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
}

.bl-proof-shop:hover strong {
  color: var(--blue);
}

.bl-proof-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
}

.bl-proof-points li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--teal);
  font-weight: 800;
}

/* ---------- Features ---------- */

.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bl-card {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.bl-card:hover {
  border-color: rgb(0 97 195 / 30%);
  box-shadow: 0 24px 50px -30px rgb(0 31 67 / 40%);
  transform: translateY(-3px);
}

.bl-card-wide {
  grid-column: span 2;
  background:
    radial-gradient(circle at 100% 0%, rgb(0 212 197 / 12%), transparent 45%),
    #fff;
}

.bl-card-ico {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #edf5fd;
  color: var(--blue);
}

.bl-card-ico svg {
  width: 24px;
}

.bl-card h3 {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.bl-card p {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.bl-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.bl-pay span {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f7fafd;
  font-size: 12px;
  font-weight: 600;
}

.bl-card-wa {
  border-color: transparent;
  background: linear-gradient(150deg, #0c3b2e 0%, #075e54 100%);
  color: #fff;
}

.bl-card-wa .bl-card-ico {
  background: rgb(37 211 102 / 18%);
  color: #4ee38a;
}

.bl-card-wa p {
  color: rgb(255 255 255 / 75%);
}

.bl-card-wa:hover {
  border-color: transparent;
}

/* ---------- Steps ---------- */

.bl-steps-section {
  position: relative;
  overflow: hidden;
  background: var(--deep-blue);
  color: #f4f8fc;
}

.bl-steps-section::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(0 212 197 / 22%), transparent 65%);
}

.bl-steps-inner {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 100px;
}

.bl-steps-heading h2 {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.bl-steps-heading h2 span {
  color: var(--teal);
}

.bl-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.bl-steps li {
  padding: 28px 26px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 20px;
  background: rgb(255 255 255 / 4%);
}

.bl-step-no {
  display: inline-block;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.bl-steps h3 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.bl-steps p {
  margin: 9px 0 0;
  color: #bacce0;
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- Get Billora ---------- */

.bl-get-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgb(0 212 197 / 10%), transparent 40%),
    radial-gradient(circle at 100% 100%, rgb(0 97 195 / 9%), transparent 45%),
    #fff;
}

.bl-get-copy h2 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.bl-get-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.bl-get-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button.bl-wa-button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.button.bl-wa-button:hover {
  border-color: var(--wa);
  color: #075e54;
}

.bl-file {
  display: grid;
  align-content: start;
  margin: 0;
  padding: 24px;
  border-radius: 18px;
  background: #f5f8fc;
  font-size: 13px;
}

.bl-file > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.bl-file > div:last-child {
  border-bottom: 0;
}

.bl-file dt {
  color: var(--muted);
}

.bl-file dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.bl-file code {
  font-size: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .bl-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    padding-top: 40px;
  }

  .bl-stage {
    min-height: 580px;
  }

  .bl-grid,
  .bl-steps {
    grid-template-columns: 1fr 1fr;
  }

  .bl-get-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }

  .bl-proof-points {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .bl-hero {
    padding-top: 30px;
    padding-bottom: 50px;
  }

  .bl-intro {
    font-size: 15px;
  }

  .bl-cta-row .button.bl-download {
    width: 100%;
  }

  .bl-cta-row .text-link {
    margin-inline: auto;
  }

  .bl-stage {
    min-height: 540px;
    margin-inline: -20px;
  }

  .bl-ring-one {
    width: 360px;
    height: 360px;
  }

  .bl-ring-two,
  .bl-glow {
    width: 330px;
    height: 330px;
  }

  .bl-phone {
    width: 244px;
  }

  .bl-float-wa {
    top: 30px;
    right: 6px;
  }

  .bl-float-gst {
    display: none;
  }

  .bl-float-stock {
    right: 6px;
    bottom: 28px;
  }

  .bl-grid,
  .bl-steps {
    grid-template-columns: 1fr;
  }

  .bl-card-wide {
    grid-column: auto;
  }

  .bl-card {
    padding: 24px 22px;
  }

  .bl-steps-inner {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .bl-steps {
    margin-top: 36px;
  }

  .bl-get-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .bl-get-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bl-phone,
  .bl-float,
  .bl-ring-one,
  .bl-spark i {
    animation: none;
  }
}
