/* ==========================================================================
   Interactions — premium hover for logos and icons

   Applied to logo/icon elements only. The large product showcase artwork
   (.acard__art, .bcard__art), body copy and purely decorative doodles are
   deliberately excluded. `cursor: pointer` is never forced — it comes from
   the element genuinely being a link.
   ========================================================================== */

.feature__icon,
.step,
.step__disc,
.socials a,
.stat__icon,
.logo {
  transition:
    transform .25s ease,
    filter .25s ease,
    box-shadow .25s ease;
}

/* ---- Feature strip icons ------------------------------------------------- */
.feature:hover .feature__icon {
  transform: translateY(-4px) scale(1.12);
}

/* keep each icon's tinted ring, add depth beneath it */
.feature:hover .feature__icon--upload {
  box-shadow: 0 0 0 6px #EFE7FE, 0 12px 24px rgba(108, 59, 244, .26);
}
.feature:hover .feature__icon--options {
  box-shadow: 0 0 0 6px #FDE3EE, 0 12px 24px rgba(245, 25, 126, .24);
}
.feature:hover .feature__icon--pay {
  box-shadow: 0 0 0 6px #F2FAC8, 0 12px 24px rgba(150, 180, 30, .34);
}
.feature:hover .feature__icon--print {
  box-shadow: 0 0 0 6px #E1ECFD, 0 12px 24px rgba(47, 111, 228, .26);
}

/* ---- How PrintSmartly Works step icons ---------------------------------------- */
.step:hover { transform: translateY(-6px); }

.step:hover .step__disc {
  transform: translateY(-4px) scale(1.09);
  box-shadow: 0 14px 28px rgba(24, 20, 48, .18);
}

/* ---- Stats icons --------------------------------------------------------- */
.stat:hover .stat__icon {
  transform: translateY(-4px) scale(1.12);
  filter: drop-shadow(0 8px 14px rgba(255, 255, 255, .18));
}

/* ---- Footer social logos (real links) ------------------------------------ */
.socials a:hover {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 10px 20px rgba(245, 25, 126, .38);
}

/* ---- Brand logo ---------------------------------------------------------- */
.logo:hover { transform: rotate(-1.5deg) translateY(-2px) scale(1.05); }

/* ---- Card depth: pricing, intent, shop-feature, audience, founder cards --- */
.pr-card,
.pg-intent-card,
.shopfeat__card,
.acard,
.bcard,
.pg-step__num,
.pr-faq__item {
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.pr-card:not(.pr-card--popular):hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pg-intent-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.shopfeat__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.acard:hover { box-shadow: var(--shadow-lg); }

.bcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* ---- How It Works / How to Setup timeline step discs ---------------------- */
.pg-step:hover .pg-step__num {
  transform: translateY(-3px) scale(1.08);
  box-shadow: var(--shadow);
}

/* ---- Pricing FAQ accordion ------------------------------------------------- */
.pr-faq__item:hover { border-color: var(--pink); }

/* ---- Keyboard focus — visible everywhere, independent of reduced motion --- */
.btn:focus-visible,
.nav__link:focus-visible,
.logo:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.lang-switch__btn:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Scroll reveal — fade/rise-in as sections enter the viewport

   The .reveal class is added only by js/app.js, and only when
   IntersectionObserver exists and the visitor hasn't asked for reduced
   motion - so content is never left invisible if either check fails or JS
   doesn't run at all.
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .6s cubic-bezier(.16, .84, .44, 1),
    transform .6s cubic-bezier(.16, .84, .44, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Reduced motion — hold everything still for users who ask for it
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .feature__icon,
  .step,
  .step__disc,
  .socials a,
  .stat__icon,
  .logo,
  .btn,
  .nav__link,
  .footer__links a,
  .pr-card,
  .pg-intent-card,
  .shopfeat__card,
  .acard,
  .bcard,
  .pg-step__num,
  .pr-faq__item {
    transition: none;
  }

  .feature:hover .feature__icon,
  .step:hover,
  .step:hover .step__disc,
  .stat:hover .stat__icon,
  .socials a:hover,
  .btn:hover,
  .pr-card:hover,
  .pg-intent-card:hover,
  .shopfeat__card:hover,
  .acard:hover,
  .bcard:hover,
  .pg-step:hover .pg-step__num {
    transform: none;
  }
  .logo:hover { transform: rotate(-1.5deg); }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html { scroll-behavior: auto; }
}
