/* =====================================================================
   Campaign Banner — encapsulated styles (.cb-* namespace only)
   Premium SaaS promo (CRED / Linear restraint). Sea-blue brand, mobile-first,
   ~160px tall. Slow, low-amplitude, transform/opacity-only micro-interactions.
   No global selectors, no !important, no inline styles, reduced-motion safe.
   ===================================================================== */
.cb-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 156px;
  margin-bottom: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(115% 130% at 86% 12%, hsla(196, 92%, 56%, 0.42), transparent 52%),
    radial-gradient(90% 120% at 8% 110%, hsla(206, 80%, 40%, 0.45), transparent 60%),
    linear-gradient(135deg, hsl(204, 78%, 31%), hsl(208, 80%, 19%));
  box-shadow:
    0 18px 38px -18px hsla(208, 84%, 14%, 0.7),
    inset 0 0 0 1px hsla(0, 0%, 100%, 0.07),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.12);
  content-visibility: auto;
}

/* fine engineered grid texture — depth, not decoration */
.cb-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, hsla(0, 0%, 100%, 0.07) 1px, transparent 0);
  background-size: 18px 18px;
  mask-image: linear-gradient(110deg, transparent 30%, #000 105%);
}

/* ── Background particle drift ─────────────────────────── */
.cb-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cb-particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, 0.5);
  opacity: 0;
  animation: cb-drift 13s linear infinite;
}
.cb-particle--1 { left: 30%; bottom: -6px; animation-delay: 0s; }
.cb-particle--2 { left: 58%; bottom: -6px; width: 2px; height: 2px; animation-delay: 3.5s; animation-duration: 16s; }
.cb-particle--3 { left: 74%; bottom: -6px; animation-delay: 7s; }
.cb-particle--4 { left: 88%; bottom: -6px; width: 2px; height: 2px; animation-delay: 10s; animation-duration: 15s; }

/* ── Copy ──────────────────────────────────────────────── */
.cb-copy { position: relative; z-index: 2; flex: 1 1 auto; min-width: 0; }
.cb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(196, 100%, 90%);
  background: hsla(0, 0%, 100%, 0.10);
  border: 1px solid hsla(0, 0%, 100%, 0.16);
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.cb-spark { font-size: 0.66rem; color: hsl(190, 100%, 82%); animation: cb-twinkle 3.2s ease-in-out infinite; }
.cb-title {
  font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 10px 0 0;
  text-shadow: 0 1px 10px hsla(208, 84%, 12%, 0.4);
}
.cb-sub {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  margin: 5px 0 0;
  color: hsla(0, 0%, 100%, 0.82);
  max-width: 20ch;
}
.cb-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 18px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  color: hsl(208, 80%, 28%);
  background: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px hsla(208, 84%, 10%, 0.6);
  transition: transform 0.18s cubic-bezier(.2,.7,.2,1), box-shadow 0.25s ease;
  animation: cb-cta-glow 3.6s ease-in-out infinite;
}
.cb-cta:hover { transform: translateY(-1.5px); box-shadow: 0 12px 24px -8px hsla(196, 90%, 50%, 0.55); animation: none; }
.cb-cta:active { transform: translateY(0); }
.cb-cta-arrow { transition: transform 0.22s cubic-bezier(.2,.7,.2,1); }
.cb-cta:hover .cb-cta-arrow { transform: translateX(3px); }

/* ── Scene (lens emblem + floats) ─────────────────────── */
.cb-scene { position: relative; z-index: 1; flex: 0 0 34%; align-self: stretch; min-width: 108px; }
.cb-lens {
  position: absolute;
  right: 6px;
  bottom: 50%;
  transform: translateY(50%);
  width: 64px; height: 64px;
}
.cb-lens-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 6px 16px hsla(196, 90%, 40%, 0.35));
  animation: cb-breathe 6s ease-in-out infinite;
}
.cb-lens-glint { animation: cb-glint 6s ease-in-out infinite; }
.cb-flash-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  border: 1.5px solid hsla(196, 100%, 88%, 0.9);
  opacity: 0;
  transform: scale(0.6);
  animation: cb-flash 5.5s ease-out infinite;
}

/* floating quotation slips — subtle, slow */
.cb-slip {
  position: absolute;
  width: 18px; height: 23px;
  border-radius: 4px;
  background: hsla(0, 0%, 100%, 0.92);
  box-shadow: 0 4px 12px hsla(208, 84%, 12%, 0.4);
  opacity: 0;
}
.cb-slip::before, .cb-slip::after {
  content: "";
  position: absolute;
  left: 3.5px; right: 4px;
  height: 1.6px;
  border-radius: 2px;
  background: hsl(200, 55%, 82%);
}
.cb-slip::before { top: 6px; }
.cb-slip::after { top: 11px; right: 8px; }
.cb-slip--1 { right: 70px; bottom: 34px; animation: cb-rise 8s ease-in-out infinite; }
.cb-slip--2 { right: 88px; bottom: 30px; transform: scale(0.82) rotate(-6deg); animation: cb-rise 8s ease-in-out 4s infinite; }

/* single ₹ coin — quiet, premium */
.cb-coin {
  position: absolute;
  right: 90px; bottom: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px; height: 21px;
  border-radius: 50%;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: hsl(38, 72%, 30%);
  background: linear-gradient(135deg, #ffe5a0, #f0b53e);
  box-shadow: 0 4px 10px hsla(38, 80%, 26%, 0.4), inset 0 1px 0 hsla(0, 0%, 100%, 0.6);
  animation: cb-bob 5s ease-in-out infinite;
}

/* ── Keyframes — slow, low amplitude (transform/opacity only) ── */
@keyframes cb-drift {
  0% { opacity: 0; transform: translateY(0); }
  12% { opacity: 0.6; }
  85% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-150px); }
}
@keyframes cb-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes cb-glint { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes cb-flash {
  0%, 78%, 100% { opacity: 0; transform: scale(0.6); }
  83% { opacity: 0.9; transform: scale(0.95); }
  92% { opacity: 0; transform: scale(1.5); }
}
@keyframes cb-rise {
  0% { opacity: 0; transform: translateY(8px) scale(0.86); }
  18% { opacity: 0.55; }
  78% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-30px) scale(0.96); }
}
@keyframes cb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes cb-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.82); } }
@keyframes cb-cta-glow {
  0%, 100% { box-shadow: 0 6px 16px -8px hsla(208, 84%, 10%, 0.6); }
  50% { box-shadow: 0 6px 22px -6px hsla(196, 95%, 60%, 0.5); }
}

/* ── Larger screens ───────────────────────────────────── */
@media (min-width: 640px) {
  .cb-banner { min-height: 168px; padding: 22px 28px; }
  .cb-title { font-size: 1.5rem; }
  .cb-sub { font-size: 0.85rem; max-width: 30ch; }
  .cb-scene { flex-basis: 28%; }
  .cb-lens, .cb-flash-ring { width: 76px; height: 76px; }
  .cb-flash-ring { margin: -38px 0 0 -38px; }
}

/* ── Accessibility: stop all motion ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  .cb-lens-svg, .cb-lens-glint, .cb-flash-ring, .cb-slip, .cb-coin, .cb-spark, .cb-particle, .cb-cta { animation: none; }
  .cb-flash-ring { opacity: 0; }
  .cb-slip { opacity: 0.5; }
  .cb-particle { opacity: 0.35; }
  .cb-cta { transition: none; }
  .cb-cta:hover { transform: none; }
}
