/* =====================================================
   SHOPLOG PAGE — page-specific redesign additions
   Loaded AFTER product.css (shared by every product page),
   so everything here only affects this one page (Light Premium look: tokens come from /css/site.css) and never
   touches Doctor/Dentist/Hotel/Stocklog/Rgiri pages.
   ===================================================== */

/* ---------- Hero ---------- */
.sl-eyebrow{
  display:inline-block;
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--blue);
  background:var(--soft);
  padding:4px 12px;
  border-radius:999px;
  margin-bottom:14px;
}

.sl-tagline{
  font-size:17px !important;
  color:var(--muted) !important;
  margin-top:4px;
}

.sl-tagline strong{
  color:var(--ink);
}

.sl-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.sl-badge{
  display:flex;
  align-items:center;
  gap:7px;
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  color:#15803d;
  font-size:13px;
  font-weight:600;
  padding:7px 13px;
  border-radius:999px;
}

.sl-badge i{
  font-size:13px;
}

.sl-hero-image{
  animation: sl-float 4s ease-in-out infinite;
  perspective:700px;
}

@keyframes sl-float{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-10px); }
}

/* Gives the screenshot a "product shot" look - shadow + rounded corners -
   and is what the mouse-tilt hover effect in shoplog.js animates (desktop
   only, hover-driven). The scroll-linked zoom that used to live here was
   dropped entirely at Siddhesh's request - it kept leaving blank space
   below the hero no matter how it was tuned, so this replaces it with a
   hover effect that has zero scroll/layout involvement at all. */
.sl-hero-image img{
  /* no card/border/shadow around the transparent ShopLog screenshot */
  border-radius:0;
  box-shadow:none;
  background:none;
  animation: sl-tilt 6s ease-in-out infinite;
  will-change:transform;
}

/* Continuous, gentle auto-tilt - runs on its own, no mouse needed */
@keyframes sl-tilt{
  0%,100%{ transform:perspective(700px) rotateY(-6deg) rotateX(2.5deg); }
  50%{ transform:perspective(700px) rotateY(6deg) rotateX(-2.5deg); }
}

/* ---------- "Who it's for" icon grid (replaces plain list) ---------- */
.sl-category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  max-width:900px;
  margin:0 auto;
}

.sl-category{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  text-align:center;
  padding:20px 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  transition:all .2s ease;
}

.sl-category:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(11,27,63,.14);
  border-color:#CFD9F0;
}

.sl-category i{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--soft);
  color:var(--blue);
  border-radius:50%;
  font-size:18px;
}

.sl-category span{
  font-size:13px;
  font-weight:600;
  color:var(--muted);
  line-height:1.35;
}

@media(max-width:700px){
  .sl-category-grid{ grid-template-columns:repeat(2,1fr); }
}

/* ---------- Key Features restyled to match "How ShopLog Helps" icon cards ---------- */
.sl-features{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.sl-feature{
  display:flex;
  gap:14px;
  padding:22px 24px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(11,27,63,.08);
  border-radius:20px;
}

.sl-feature::before{
  display:none;
}

.sl-feature i{
  color:var(--blue);
  font-size:18px;
  margin-top:2px;
  flex-shrink:0;
  width:20px;
  text-align:center;
}

.sl-feature strong{
  display:block;
  margin-bottom:4px;
}

/* Variant Billing card is no longer highlighted - same look as every other feature card. */

@media(max-width:900px){
  .sl-features{ grid-template-columns:1fr; }
}

/* ---------- Pricing ---------- */
.sl-pricing-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:24px;
}

.sl-price-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:32px 24px;
  text-align:center;
  position:relative;
  transition:all .2s ease;
}

.sl-price-card.featured{
  border:2px solid var(--blue);
  box-shadow:0 16px 40px rgba(37,99,235,.18);
  transform:translateY(-6px);
}

.sl-price-card .sl-price-tag{
  position:absolute;
  top:-13px;
  left:50%;
  transform:translateX(-50%);
  background:var(--blue);
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:4px 14px;
  border-radius:999px;
  white-space:nowrap;
}

.sl-price-card h3{
  font-family:var(--head);
  font-size:20px;
  margin-bottom:10px;
  color:var(--muted);
}

.sl-price-card .sl-amount{
  font-family:var(--head);
  font-size:38px;
  font-weight:800;
  color:var(--ink);
  margin-bottom:2px;
}

.sl-amount-num{
  font-variant-numeric:tabular-nums; /* keeps width steady while counting up */
}

/* Subtle shine sweep across the recommended plan's badge, drawing the eye
   there without being distracting - runs a few times then stops. */
.sl-price-card .sl-price-tag{
  overflow:hidden;
}

.sl-price-card .sl-price-tag::after{
  content:"";
  position:absolute;
  top:0;
  left:-60%;
  width:40%;
  height:100%;
  background:linear-gradient(115deg, transparent, rgba(255,255,255,.55), transparent);
  animation:sl-shine 2.6s ease-in-out 1s 3;
}

@keyframes sl-shine{
  0%{ left:-60%; }
  60%,100%{ left:130%; }
}

.sl-price-card .sl-price-sub{
  font-size:12px;
  color:#6B7894;
  margin-bottom:18px;
}

.sl-price-card ul{
  list-style:none;
  text-align:left;
  margin-bottom:22px;
}

.sl-price-card ul li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:13.5px;
  color:var(--muted);
  padding:7px 0;
  border-top:1px solid var(--line);
}

.sl-price-card ul li:first-child{
  border-top:none;
}

.sl-price-card ul li i{
  color:var(--green);
  margin-top:3px;
  font-size:12px;
}

.sl-price-card .sl-btn{
  width:100%;
}

.sl-compare-line{
  text-align:center;
  max-width:640px;
  margin:26px auto 0;
  font-size:14px;
  color:var(--muted);
  background:#fff;
  border:1px dashed #CFD9F0;
  padding:14px 18px;
  border-radius:20px;
}

.sl-compare-line strong{
  color:var(--ink);
}

/* Softer follow-up line under the main compare line - informational,
   not meant to compete with it visually. */
.sl-amc-line{
  background:none;
  border:none;
  padding:0;
  margin-top:12px;
  font-size:13px;
  color:#6B7894;
}

/* Small print under the Pro card's feature list, above the CTA button */
.sl-price-note{
  font-size:12px;
  color:#6B7894;
  text-align:center;
  margin:-10px 0 14px;
}

/* Small "Pro" pill next to a feature title that's gated to the Pro plan */
.sl-feature-tag{
  display:inline-block;
  font-size:10px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--blue);
  background:var(--soft);
  padding:2px 8px;
  border-radius:999px;
  margin-left:6px;
  vertical-align:middle;
}

@media(max-width:900px){
  .sl-pricing-row{ grid-template-columns:1fr; }
  .sl-price-card.featured{ transform:none; }
}

/* ---------- Primary trial CTA above the downloads row ---------- */
.sl-cta-primary{
  text-align:center;
  margin-bottom:36px;
}

.sl-btn.sl-btn-cta{
  background:var(--green);
  box-shadow:0 8px 22px rgba(0,179,104,.45);
  font-size:16px;
  padding:15px 34px;
  font-weight:700;
}

.sl-btn.sl-btn-cta i{
  margin-right:6px;
}

/* Download row now has 2 cards (Brochure + Manual) instead of 3 -
   the old 3rd card ("Download Application") duplicated the primary
   trial CTA above it (same file, same action shown twice). */
.sl-download-row-2{
  grid-template-columns:repeat(2,1fr);
  max-width:600px;
}

@media(max-width:900px){
  .sl-download-row-2{
    grid-template-columns:1fr;
  }
}

/* ---------- FAQ ---------- */
.sl-faq{
  max-width:760px;
  margin:0 auto;
}

.sl-faq-item{
  border-bottom:1px solid var(--line);
}

.sl-faq-item:last-child{
  border-bottom:none;
}

.sl-faq-q{
  width:100%;
  text-align:left;
  background:none;
  border:none;
  cursor:pointer;
  font-family:inherit;
  font-size:15.5px;
  font-weight:700;
  color:var(--ink);
  padding:18px 30px 18px 0;
  position:relative;
}

.sl-faq-q::after{
  content:"+";
  position:absolute;
  right:0;
  top:14px;
  font-size:22px;
  font-weight:400;
  color:var(--blue);
  transition:transform .2s ease;
}

.sl-faq-item.open .sl-faq-q::after{
  transform:rotate(45deg);
}

.sl-faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
  font-size:14.5px;
  color:var(--muted);
  line-height:1.6;
}

.sl-faq-item.open .sl-faq-a{
  max-height:240px;
}

.sl-faq-a p{
  padding-bottom:18px;
}

/* ---------- WhatsApp floating button ---------- */
.sl-whatsapp-btn{
  position:fixed;
  bottom:24px;
  left:24px;
  width:52px;
  height:52px;
  border-radius:50%;
  background:#25d366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  box-shadow:0 10px 26px rgba(37,211,102,.4);
  z-index:999;
  transition:transform .2s ease;
}

.sl-whatsapp-btn::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:#25d366;
  animation:sl-pulse-ring 2.2s ease-out infinite;
  z-index:-1;
}

@keyframes sl-pulse-ring{
  0%{ transform:scale(1); opacity:.55; }
  100%{ transform:scale(1.9); opacity:0; }
}

.sl-whatsapp-btn:hover{
  transform:translateY(-3px) scale(1.05);
}

@media(max-width:768px){
  .sl-whatsapp-btn{
    width:46px;
    height:46px;
    font-size:22px;
    bottom:18px;
    left:18px;
  }
}

/* ---------- Scroll reveal ---------- */
.sl-reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s ease, transform .6s ease;
}

.sl-reveal.sl-in{
  opacity:1;
  transform:translateY(0);
}



/* Respect "reduce motion" - turn off the decorative loops, keep everything
   else (hover tilt, count-up, reveal) working since those are one-off and
   user-triggered, not continuous animation. */
@media(prefers-reduced-motion:reduce){
  .sl-hero-image{ animation:none; }
  .sl-hero-image img{ animation:none; }
  .sl-price-card .sl-price-tag::after{ animation:none; }
  .sl-whatsapp-btn::before{ animation:none; opacity:0; }
}
