/* ══════════════════════════════════════════════════════════
   ClockInHR — Design Enhancement Layer
   Layered on top of Tailwind CSS v4 (style.css)
   Aesthetic: Precision Dark — Navy + Electric Blue
   ══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&display=swap');

/* ─── Global: Display font + smoothing ─── */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  letter-spacing: -0.018em;
}

/* ─── Navbar — glass blur ─── */
#navbar {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
#navbar:not(.is-sticky) {
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
#navbar.is-sticky {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* ─── Hero: dark navy redesign ─── */
section#home.hero-redesign {
  background: linear-gradient(140deg, #050d1a 0%, #0c2146 55%, #07111f 100%);
  padding-top: 9rem;
  padding-bottom: 7rem;
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay */
section#home.hero-redesign::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(93, 135, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 135, 255, 0.065) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(93, 135, 255, 0.22) 0%, transparent 65%);
  top: -200px; right: -180px;
  animation: orb-drift 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(42, 92, 235, 0.16) 0%, transparent 70%);
  bottom: -80px; left: -100px;
  animation: orb-drift 16s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(93, 200, 255, 0.08) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation: orb-drift 20s ease-in-out infinite 3s;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(28px, -24px) scale(1.08); }
  66%       { transform: translate(-18px, 18px) scale(0.94); }
}

/* Hero gradient text for accent word */
.hero-gradient-text {
  background: linear-gradient(135deg, #5d87ff 0%, #93bbff 40%, #5d87ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shimmer 5s linear infinite;
}
@keyframes text-shimmer {
  to { background-position: 200% center; }
}

/* Trust badge (dark variant) */
.trust-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

/* Hero CTA buttons */
.hero-btn-primary {
  background: linear-gradient(135deg, #5d87ff 0%, #2a5ceb 100%);
  color: #fff !important;
  padding: 13px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 24px rgba(93, 135, 255, 0.45);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(93, 135, 255, 0.55);
  background: linear-gradient(135deg, #6e95ff 0%, #3d72f8 100%);
}
.hero-btn-outline {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88) !important;
  padding: 13px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  transition: all 0.28s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

/* Hero stat pills */
.hero-stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
.hero-stat-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Stats bar: dark ─── */
.stats-dark-bar {
  background: linear-gradient(90deg, #06101f 0%, #0c1d38 100%);
  border-top: 1px solid rgba(93, 135, 255, 0.14);
  border-bottom: 1px solid rgba(93, 135, 255, 0.14);
  padding: 44px 0;
}
.stats-dark-bar .stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #b3ccff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stats-dark-bar .stat-icon { color: #5d87ff; }
.stats-dark-bar .stat-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 500;
  margin-top: 5px;
}

/* ─── Section label pill ─── */
.clk-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5d87ff;
  background: rgba(93, 135, 255, 0.08);
  border: 1px solid rgba(93, 135, 255, 0.18);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: 'DM Sans', sans-serif;
}
.clk-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5d87ff;
  flex-shrink: 0;
}

/* ─── Pain point cards ─── */
.pain-card-v2 {
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: 20px;
  padding: 24px 24px 24px 28px;
  display: flex;
  gap: 18px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.pain-card-v2 .card-stripe {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 20px 0 0 20px;
}
.pain-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0,0,0,0.04);
  border-color: #dde6f0;
}
.pain-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── Feature cards ─── */
.feat-card {
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.feat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5d87ff, #2a5ceb);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 20px 20px 0 0;
}
.feat-card:hover::after { transform: scaleX(1); }
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(93, 135, 255, 0.12), 0 4px 16px rgba(0,0,0,0.05);
  border-color: rgba(93, 135, 255, 0.12);
}
.feat-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(93, 135, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.feat-card:hover .feat-icon {
  background: rgba(93, 135, 255, 0.14);
  transform: scale(1.06) rotate(-3deg);
}

/* ─── Attendance type cards ─── */
.att-card {
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.att-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(93, 135, 255, 0.1), 0 4px 16px rgba(0,0,0,0.06);
}

/* ─── Product cards ─── */
.product-card {
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  text-decoration: none;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(93, 135, 255, 0.1), 0 2px 8px rgba(0,0,0,0.04);
  border-color: rgba(93, 135, 255, 0.2);
}

/* ─── CTA parallax section ─── */
.cta-dark-section {
  background: linear-gradient(135deg, #050d1a 0%, #0f2448 50%, #050d1a 100%) !important;
  position: relative;
  overflow: hidden;
}
.cta-dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(93, 135, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 135, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}
.cta-dark-section .absolute.inset-0 { display: none !important; }
.cta-dark-section .container { position: relative; z-index: 2; }

/* ─── Testimonials ─── */
.testi-slide-card {
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.testi-slide-card::before {
  content: '\201C';
  position: absolute;
  top: 12px; right: 22px;
  font-size: 100px;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: rgba(93, 135, 255, 0.07);
  font-weight: 700;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.testi-slide-card:hover {
  box-shadow: 0 20px 50px rgba(93, 135, 255, 0.09);
  border-color: rgba(93, 135, 255, 0.15);
  transform: translateY(-2px);
}

/* ─── Stars ─── */
.star-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}
.star-rating span {
  color: #f59e0b;
  font-size: 14px;
}

/* ─── FAQ accordion ─── */
.faq-block {
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.faq-block .hs-accordion-group > div {
  border-bottom-color: #f0f4f8 !important;
}

/* ─── Pricing cards ─── */
.pricing-card-v2 {
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.pricing-card-v2:hover {
  box-shadow: 0 20px 60px rgba(93, 135, 255, 0.1), 0 4px 16px rgba(0,0,0,0.05);
  transform: translateY(-4px);
}
.pricing-card-v2.featured {
  border: 2px solid #5d87ff;
  box-shadow: 0 0 0 4px rgba(93, 135, 255, 0.06), 0 20px 60px rgba(93, 135, 255, 0.14);
}
.pricing-price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #060f22;
  letter-spacing: -0.04em;
}

/* ─── Pricing section — light mode overrides ─── */
section#pricing .text-white               { color: #1e2a3a !important; }
section#pricing .text-white\/20           { color: rgba(30,42,58,0.2) !important; }
section#pricing .text-white\/30           { color: rgba(30,42,58,0.3) !important; }
section#pricing .text-white\/40           { color: rgba(30,42,58,0.5) !important; }
section#pricing .text-white\/50           { color: rgba(30,42,58,0.55) !important; }
section#pricing .text-white\/60           { color: rgba(30,42,58,0.6) !important; }
section#pricing .text-white\/70           { color: rgba(30,42,58,0.68) !important; }
section#pricing .text-white\/80           { color: rgba(30,42,58,0.75) !important; }
section#pricing [class*="bg-white/"]      { background-color: rgba(0,0,0,0.03) !important; }
section#pricing [class*="border-white/"]  { border-color: rgba(0,0,0,0.09) !important; }
section#pricing .pricing-card-v2          { background: #fff !important; border-color: #e2e8f0 !important; min-height: 340px; }
section#pricing .pricing-card-v2.featured { border-color: #5d87ff !important; }
/* Restore white text on solid-colour buttons/badges inside pricing */
section#pricing .bg-primary,
section#pricing [class*="bg-primary"]:not([class*="bg-primary/"]) { color: #fff !important; }
/* Restore white text/bg inside bg-primary featured card in #pricing */
section#pricing .bg-primary .text-white              { color: #ffffff !important; }
section#pricing .bg-primary .text-white\/50          { color: rgba(255,255,255,0.5) !important; }
section#pricing .bg-primary .text-white\/60          { color: rgba(255,255,255,0.6) !important; }
section#pricing .bg-primary .text-white\/70          { color: rgba(255,255,255,0.7) !important; }
section#pricing .bg-primary .text-white\/80          { color: rgba(255,255,255,0.8) !important; }
section#pricing .bg-primary [class*="bg-white/"]     { background-color: rgba(255,255,255,0.1) !important; }

/* ─── Contact form ─── */
.contact-card {
  background: #fff;
  border: 1px solid #eef1f8;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.contact-input-v2 {
  display: block;
  width: 100%;
  font-size: 14px;
  border-radius: 10px;
  padding: 12px 16px;
  border: 1.5px solid #e4eaf5;
  outline: none;
  transition: all 0.22s ease;
  background: #fafbff;
  font-family: 'DM Sans', sans-serif;
  color: #212121;
}
.contact-input-v2:focus {
  border-color: #5d87ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(93, 135, 255, 0.1);
}
.contact-input-v2::placeholder { color: #b0bac8; }

/* ─── Scroll entrance animations ─── */
@media (prefers-reduced-motion: no-preference) {
  .scroll-fade {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .scroll-fade.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  .scroll-fade[data-delay="1"] { transition-delay: 0.08s; }
  .scroll-fade[data-delay="2"] { transition-delay: 0.16s; }
  .scroll-fade[data-delay="3"] { transition-delay: 0.24s; }
  .scroll-fade[data-delay="4"] { transition-delay: 0.32s; }
  .scroll-fade[data-delay="5"] { transition-delay: 0.40s; }
  .scroll-fade[data-delay="6"] { transition-delay: 0.48s; }
}

/* ─── Footer ─── */
footer {
  background: linear-gradient(145deg, #07111f 0%, #0e1e38 100%) !important;
}
.footer-divider {
  background: rgba(255, 255, 255, 0.06) !important;
}
.py-4.bg-\[#1C2940\] {
  background: rgba(0, 0, 0, 0.3) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── "How it works" step circles ─── */
.step-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.step-circle:hover { transform: scale(1.06); }

/* ─── Callout box ─── */
.callout-info {
  background: rgba(93, 135, 255, 0.05);
  border: 1px solid rgba(93, 135, 255, 0.18);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* ─── Back to top ─── */
#back-to-top {
  background: linear-gradient(135deg, #5d87ff, #2a5ceb) !important;
  box-shadow: 0 4px 16px rgba(93, 135, 255, 0.4) !important;
  border-radius: 12px !important;
}

/* ─── Ticker band (client logos) ─── */
.msme-ticker-wrap {
  position: relative;
  margin-top: 3.5rem;
}

/* ══════════════════════════════════════════════════
   IMPECCABLE ANIMATIONS — layer 2
   ══════════════════════════════════════════════════ */

/* ── 1. Navbar slides down on first paint ── */
@keyframes nav-enter {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
#navbar {
  animation: nav-enter 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── 2. Hero choreographed entrance (page-load, no scroll needed) ── */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}
.hero-enter {
  animation: hero-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Override scroll-fade on hero children */
.hero-enter.scroll-fade { animation: hero-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both !important; }
.hero-enter-1  { animation-delay: 0.05s; }
.hero-enter-2  { animation-delay: 0.22s; }
.hero-enter-3  { animation-delay: 0.38s; }
.hero-enter-4  { animation-delay: 0.52s; }
.hero-enter-5  { animation-delay: 0.65s; }
.hero-enter-6  { animation-delay: 0.40s; }   /* right column */

/* ── 3. Hero grid slow drift ── */
@keyframes grid-drift {
  from { background-position: 0px 0px; }
  to   { background-position: 48px 48px; }
}
section#home.hero-redesign::before {
  animation: grid-drift 18s linear infinite;
}

/* ── 4. Dashboard summary cards pop ── */
@keyframes stat-pop {
  from { opacity: 0; transform: scale(0.78) translateY(12px); }
  60%  { transform: scale(1.04) translateY(-2px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.dash-stat {
  opacity: 0;
  animation: stat-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.dash-stat-1 { animation-delay: 0.65s; }
.dash-stat-2 { animation-delay: 0.80s; }
.dash-stat-3 { animation-delay: 0.95s; }

/* ── 5. Dashboard table rows slide in from left ── */
@keyframes row-slide {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.dash-row {
  opacity: 0;
  animation: row-slide 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dash-row-1 { animation-delay: 1.05s; }
.dash-row-2 { animation-delay: 1.20s; }
.dash-row-3 { animation-delay: 1.35s; }
.dash-row-4 { animation-delay: 1.50s; }
.dash-row-5 { animation-delay: 1.65s; }

/* ── 6. Floating WhatsApp badge bounce-in ── */
@keyframes badge-bounce {
  from { opacity: 0; transform: translateY(22px) scale(0.82); }
  60%  { transform: translateY(-5px) scale(1.03); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-badge-float {
  opacity: 0;
  animation: badge-bounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 1.85s;
}

/* ── 7. Pain card colour stripe reveals on scroll-in ── */
.pain-card-v2 .card-stripe {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.pain-card-v2.in-view .card-stripe {
  transform: scaleY(1);
}

/* ── 8. Feature card — cursor-tracked glow blob ── */
.feat-card { overflow: hidden; }
.feat-card > * { position: relative; z-index: 1; }
.feat-card-cursor {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(93, 135, 255, 0.11) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  will-change: left, top;
}
.feat-card:hover .feat-card-cursor { opacity: 1; }

/* ── 9. Featured pricing card gentle pulse ── */
@keyframes featured-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(93, 135, 255, 0.06),
                0 20px 60px rgba(93, 135, 255, 0.14);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(93, 135, 255, 0.10),
                0 28px 72px rgba(93, 135, 255, 0.22);
  }
}
.pricing-card-v2.featured {
  animation: featured-pulse 3.5s ease-in-out infinite;
}

/* ── 10. CTA section animated orbs ── */
@keyframes cta-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1);     opacity: 0.7; }
  35%       { transform: translate(22px, -18px) scale(1.08); opacity: 1;   }
  70%       { transform: translate(-14px, 12px) scale(0.95); opacity: 0.8; }
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}
.cta-orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(93, 135, 255, 0.22) 0%, transparent 65%);
  top: -150px; right: -80px;
  animation: cta-orb-float 10s ease-in-out infinite;
}
.cta-orb-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(42, 92, 235, 0.16) 0%, transparent 70%);
  bottom: -70px; left: -50px;
  animation: cta-orb-float 13s ease-in-out infinite reverse;
}

/* ── 11. Live dot — pulsing ring ── */
@keyframes live-ring {
  0% {
    box-shadow: 0 0 0 0   rgba(34, 197, 94, 0.6);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 0 0   rgba(34, 197, 94, 0);
    opacity: 1;
  }
}
.live-dot {
  animation: live-ring 1.8s ease-out infinite !important;
}

/* ── 12. Section heading subtle skew reveal ── */
@keyframes heading-reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0% 0);
  }
}

/* ── 13. Scroll-fade refinement (richer spring) ── */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity  0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── 14. Testimonial card lift on active slide ── */
.swiper-slide-active .testi-slide-card {
  border-color: rgba(93, 135, 255, 0.2);
  box-shadow: 0 20px 56px rgba(93, 135, 255, 0.1), 0 4px 16px rgba(0,0,0,0.04);
}

/* ── 15. Product card icon micro-bounce on hover ── */
@keyframes icon-bounce {
  0%,100% { transform: translateY(0); }
  40%     { transform: translateY(-5px); }
  70%     { transform: translateY(-2px); }
}
.product-card:hover .lucide {
  animation: icon-bounce 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ══════════════════════════════════════════════════════════
   MOBILE HAMBURGER MENU — Full-screen drawer fix
   ──────────────────────────────────────────────────────────
   Root cause: backdrop-filter on #navbar creates a new CSS
   containing block, so position:fixed children position
   relative to the navbar strip (~70px) instead of the
   viewport. Fix: disable backdrop-filter on mobile so the
   drawer can stretch to inset:0 of the actual viewport.
   ══════════════════════════════════════════════════════════ */

/* ── 1. Remove the backdrop-filter AND animation transform that trap fixed children ── */
@media (max-width: 1023px) {
  #navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
    transform: none !important;
  }

  /* Solid fallback background for non-sticky state on mobile */
  #navbar:not(.is-sticky) {
    background: #ffffff !important;
  }
}

/* ── 2. Drawer shell — full-screen, smooth slide-in ── */
@media (max-width: 1023px) {
  #navbarCollapse:not(.hidden) {
    position: fixed   !important;
    inset: 0          !important;
    z-index: 9999     !important;
    display: flex     !important;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0         !important;
    padding: 0        !important;
    /* Light-theme default */
    background: #ffffff !important;
  }

  /* Dark-theme pages get a deep-navy drawer */
  .page-dark #navbarCollapse:not(.hidden) {
    background: #0a1424 !important;
  }
}

/* ── 3. Drawer header ── */
@media (max-width: 1023px) {
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
    /* Light theme */
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
  }

  .page-dark .mobile-menu-header {
    background: #060B19 !important;
    border-bottom-color: rgba(93, 135, 255, 0.14) !important;
  }

  /* Logo inside header */
  .mobile-menu-header img {
    height: 32px;
    width: auto;
  }

  /* Close button */
  .mobile-menu-header button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: transparent;
    transition: background 0.2s ease;
  }
  .mobile-menu-header button:hover {
    background: rgba(0, 0, 0, 0.06);
  }
  .page-dark .mobile-menu-header button:hover {
    background: rgba(93, 135, 255, 0.10) !important;
  }

  /* Dark-theme close icon */
  .page-dark .mobile-menu-header [data-lucide="x"] {
    color: rgba(255, 255, 255, 0.70) !important;
  }
}

/* ── 4. Nav items inside drawer ── */
@media (max-width: 1023px) {
  /* Reset nav item margin; full-width dividers */
  #navbarCollapse .nav-item {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #f3f4f6;
  }
  .page-dark #navbarCollapse .nav-item {
    border-bottom-color: rgba(93, 135, 255, 0.09) !important;
  }

  /* Nav links */
  #navbarCollapse .nav-link {
    display: flex;
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #1a202c;
  }
  .page-dark #navbarCollapse .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
  }
  .page-dark #navbarCollapse .nav-link:hover {
    color: #5d87ff !important;
    background: rgba(93, 135, 255, 0.06) !important;
  }

  /* Dropdown toggle chevron */
  #navbarCollapse .hs-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  /* Dropdown menu (static inside drawer) */
  #navbarCollapse .hs-dropdown-menu {
    position: static    !important;
    opacity: 1          !important;
    border: none        !important;
    box-shadow: none    !important;
    margin: 0           !important;
    min-width: 100%     !important;
    border-radius: 0    !important;
    padding: 8px 0 12px !important;
    background: #f9fafb !important;
  }
  .page-dark #navbarCollapse .hs-dropdown-menu {
    background: rgba(5, 9, 22, 0.60) !important;
  }
  #navbarCollapse .hs-dropdown-menu.hidden {
    display: none !important;
  }

  /* Category labels inside dropdown */
  #navbarCollapse .hs-dropdown-menu p.text-\[10px\] {
    padding-left: 28px;
    padding-top: 10px;
  }
  .page-dark #navbarCollapse .hs-dropdown-menu p {
    color: rgba(255, 255, 255, 0.35) !important;
  }

  /* Dropdown links */
  #navbarCollapse .hs-dropdown-menu a {
    padding: 10px 20px 10px 28px;
  }
  .page-dark #navbarCollapse .hs-dropdown-menu a {
    color: rgba(255, 255, 255, 0.68) !important;
  }
  .page-dark #navbarCollapse .hs-dropdown-menu a:hover {
    background: rgba(93, 135, 255, 0.08) !important;
    color: #5d87ff !important;
  }

  /* Icon colour inside dropdown */
  .page-dark #navbarCollapse .hs-dropdown-menu [data-lucide] {
    color: #5d87ff !important;
  }
}

/* ── 5. Mobile CTA button row (pinned at bottom of drawer) ── */
@media (max-width: 1023px) {
  .mobile-menu-cta {
    display: flex;
    padding: 20px;
    margin-top: auto;
    flex-shrink: 0;
    /* Light theme */
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
  }

  .page-dark .mobile-menu-cta {
    background: #060B19 !important;
    border-top-color: rgba(93, 135, 255, 0.12) !important;
  }
}

/* ── 6. Hamburger icon colour on dark navbar ── */
.page-dark #navbar [data-lucide="menu"] {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* ── 7. Desktop: hide mobile-only elements ── */
@media (min-width: 1024px) {
  .mobile-menu-header,
  .mobile-menu-cta {
    display: none !important;
  }
}
