/* Motion is optional: hide animated states only when html.ux-motion is set (set from JS after reduced-motion check). */

html.ux-motion [data-animate] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  will-change: opacity, transform;
}
html.ux-motion [data-animate].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
html.ux-motion [data-animate='fade'] {
  transform: translate3d(0, 0, 0);
}
html.ux-motion [data-animate='fade'].is-in {
  transform: translate3d(0, 0, 0);
}
html.ux-motion [data-animate='rise'] {
  transform: translate3d(0, 20px, 0);
}
html.ux-motion [data-animate='rise'].is-in {
  transform: translate3d(0, 0, 0);
}
html.ux-motion [data-animate='slide'] {
  transform: translate3d(18px, 0, 0);
}
html.ux-motion body.is-rtl [data-animate='slide'] {
  transform: translate3d(-18px, 0, 0);
}
html.ux-motion [data-animate='slide'].is-in {
  transform: translate3d(0, 0, 0);
}

/* Stagger: 0.1s between siblings */
html.ux-motion [data-stagger] [data-animate] {
  transition-delay: calc(var(--i, 0) * 100ms);
}

/* Whole section entrance: subtle slide, never fully hidden so content is always visible */
html.ux-motion .section-reveal {
  opacity: 1;
  transform: translate3d(0, 12px, 0);
  transition: transform 0.55s var(--ease);
}
html.ux-motion .section-reveal.is-in-view {
  transform: translate3d(0, 0, 0);
}

/* Header fade-in on load */
html.ux-motion .header:not(.header--ready) {
  opacity: 0;
}
html.ux-motion .header.header--ready {
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}

html.ux-motion .header:not(.header--ready) .nav {
  transform: translate3d(0, -12px, 0);
  opacity: 0.92;
}
html.ux-motion .header.header--ready .nav {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease);
}

/* Hero title scales from 0.95 to 1 */
html.ux-motion .hero__title {
  will-change: transform, opacity;
}
html.ux-motion .hero__title:not(.hero__title--ready) {
  opacity: 0;
  transform: scale(0.95);
}
html.ux-motion .hero__title.hero__title--ready {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* Buttons: hover polish */
.btn {
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease),
    filter 0.3s var(--ease);
}
.btn:hover {
  filter: brightness(1.06);
}

/* Ripple */
.btn {
  position: relative;
  overflow: hidden;
}
.btn .ripple {
  position: absolute;
  border-radius: 999px;
  transform: scale(0);
  opacity: 0.35;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 60%);
  animation: ripple 0.7s var(--ease);
  pointer-events: none;
}
@keyframes ripple {
  to {
    transform: scale(12);
    opacity: 0;
  }
}

/* Icons: subtle tilt */
.feature:hover .feature__icon {
  transform: translate3d(0, -2px, 0) rotateX(6deg) rotateY(-8deg);
  transition: transform 0.35s var(--ease);
}
.feature__icon {
  transition: transform 0.35s var(--ease);
}

/* Headings: soft emphasis on hover (light theme) */
.section-head h2:hover,
.hero__title:hover {
  text-shadow: 0 0 26px rgba(201, 168, 108, 0.18);
  transition: text-shadow 0.35s var(--ease);
}

/* Progress bar fill uses scaleX only */
html.ux-motion [data-progress-fill] {
  transform: scaleX(0);
  transform-origin: left center;
}
body.is-rtl html.ux-motion [data-progress-fill] {
  transform-origin: right center;
}

/* ============================================================
   ULTRA ANIMATIONS - everywhere wow
   ============================================================ */

@keyframes sxj-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes sxj-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}
@keyframes sxj-pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(74,159,217,.45); }
  70% { box-shadow: 0 0 0 14px rgba(74,159,217,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,159,217,0); }
}
@keyframes sxj-fade-up {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes sxj-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes sxj-pop-in {
  0%   { opacity: 0; transform: scale(.92); }
  60%  { opacity: 1; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes sxj-glow-sweep {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(220%) skewX(-18deg); }
}
@keyframes sxj-bg-pan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes sxj-spin-slow {
  to { transform: rotate(360deg); }
}

/* Hero: animated gradient kicker, title sweep, image lift */
html.ux-motion .kicker {
  background: linear-gradient(90deg,
    rgba(26,107,181,.10),
    rgba(26,107,181,.22),
    rgba(232,201,138,.18),
    rgba(26,107,181,.10));
  background-size: 220% 100%;
  animation: sxj-bg-pan 6s linear infinite;
}
html.ux-motion .hero__title {
  background: linear-gradient(90deg, #0a1628 0%, #0e4a7a 30%, #1a6bb5 55%, #0a1628 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sxj-bg-pan 8s ease-in-out infinite;
}
html.ux-motion .hero__figure {
  animation: sxj-fade-up .8s var(--ease) both;
  animation-delay: .15s;
  position: relative;
  overflow: hidden;
}
html.ux-motion .hero__figure::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  pointer-events: none;
  animation: sxj-glow-sweep 4.5s ease-in-out infinite;
  animation-delay: 1s;
}
html.ux-motion .hero__copy > * {
  animation: sxj-fade-up .7s var(--ease) both;
}
html.ux-motion .hero__copy > *:nth-child(1) { animation-delay: 0s; }
html.ux-motion .hero__copy > *:nth-child(2) { animation-delay: .08s; }
html.ux-motion .hero__copy > *:nth-child(3) { animation-delay: .16s; }
html.ux-motion .hero__copy > *:nth-child(4) { animation-delay: .24s; }
html.ux-motion .hero__copy > *:nth-child(5) { animation-delay: .32s; }
html.ux-motion .hero__copy > *:nth-child(6) { animation-delay: .40s; }

/* Stat numbers shimmer */
html.ux-motion .stat__value {
  background: linear-gradient(90deg, #0a1628, #1a6bb5, #0a1628);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sxj-bg-pan 5s ease-in-out infinite;
}

/* Cards: lift + glow on hover, pop-in when visible */
.product, .industry, .timeline__item, .card, .feature {
  transition:
    transform .45s cubic-bezier(.2,.7,.2,1),
    border-color .35s var(--ease),
    box-shadow .45s var(--ease),
    background-color .35s var(--ease);
}
.product:hover, .industry:hover, .timeline__item:hover, .card:hover, .feature:hover {
  transform: translate3d(0, -6px, 0) scale(1.012);
  border-color: rgba(74,159,217,.55);
  box-shadow:
    0 22px 50px rgba(0,0,0,.55),
    0 0 0 1px rgba(74,159,217,.25) inset;
}
html.ux-motion .section-reveal .product,
html.ux-motion .section-reveal .industry,
html.ux-motion .section-reveal .timeline__item,
html.ux-motion .section-reveal .card,
html.ux-motion .section-reveal .feature {
  opacity: 0;
}
html.ux-motion .section-reveal.is-in-view .product,
html.ux-motion .section-reveal.is-in-view .industry,
html.ux-motion .section-reveal.is-in-view .timeline__item,
html.ux-motion .section-reveal.is-in-view .card,
html.ux-motion .section-reveal.is-in-view .feature {
  animation: sxj-pop-in .55s var(--ease) both;
}
html.ux-motion .section-reveal.is-in-view .product:nth-child(1),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(1),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(1),
html.ux-motion .section-reveal.is-in-view .card:nth-child(1),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(1) { animation-delay: .04s; }
html.ux-motion .section-reveal.is-in-view .product:nth-child(2),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(2),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(2),
html.ux-motion .section-reveal.is-in-view .card:nth-child(2),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(2) { animation-delay: .12s; }
html.ux-motion .section-reveal.is-in-view .product:nth-child(3),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(3),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(3),
html.ux-motion .section-reveal.is-in-view .card:nth-child(3),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(3) { animation-delay: .20s; }
html.ux-motion .section-reveal.is-in-view .product:nth-child(4),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(4),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(4),
html.ux-motion .section-reveal.is-in-view .card:nth-child(4),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(4) { animation-delay: .28s; }
html.ux-motion .section-reveal.is-in-view .product:nth-child(n+5),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(n+5),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(n+5),
html.ux-motion .section-reveal.is-in-view .card:nth-child(n+5),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(n+5) { animation-delay: .36s; }

/* Product image zoom on hover (already exists) plus shimmer overlay */
.product__media { position: relative; }
.product__media::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.16) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.product:hover .product__media::before {
  transform: translateX(120%);
}

/* Tag chips lift */
.tag {
  transition: transform .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.tag:hover {
  transform: translate3d(0, -2px, 0);
  color: var(--accent);
  border-color: rgba(74,159,217,.5);
  background: rgba(74,159,217,.08);
}

/* Buttons: shine sweep + lift */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-22deg);
  transition: left .65s var(--ease);
  pointer-events: none;
}
.btn:hover::before { left: 150%; }
.btn--primary {
  position: relative;
}
.btn--primary:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 14px 36px rgba(74,159,217,.32);
}
html.ux-motion .btn--primary {
  animation: sxj-pulse-ring 2.6s ease-out infinite;
}

/* Floating WhatsApp FAB */
html.ux-motion .wa-fab a {
  animation: sxj-float 3s ease-in-out infinite, sxj-pulse-ring 2.4s ease-out infinite;
}

/* Section heads underline sweep */
.section-head h2 {
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  transition: width .9s var(--ease);
}
html.ux-motion .section-reveal.is-in-view .section-head h2::after {
  width: 100%;
}

/* Utility bar: subtle moving sheen */
.utility-bar {
  position: relative;
  overflow: hidden;
}
.utility-bar::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(74,159,217,.06), transparent);
  background-size: 200% 100%;
  animation: sxj-bg-pan 12s linear infinite;
  pointer-events: none;
}

/* Logo: subtle floating breathing */
html.ux-motion .brand__mark {
  animation: sxj-float 5s ease-in-out infinite;
}

/* Hero kicker: pulse ring */
html.ux-motion .kicker {
  position: relative;
}

/* Spec table rows fade in */
html.ux-motion .section-reveal.is-in-view .spec-table tbody tr {
  animation: sxj-fade-up .45s var(--ease) both;
}
html.ux-motion .section-reveal.is-in-view .spec-table tbody tr:nth-child(odd)  { animation-delay: .04s; }
html.ux-motion .section-reveal.is-in-view .spec-table tbody tr:nth-child(even) { animation-delay: .08s; }

/* FAQ summary chevron rotation */
.faq summary { position: relative; padding-right: 28px; cursor: pointer; }
.faq summary::after {
  content: "+";
  position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 20px; line-height: 1;
  transition: transform .3s var(--ease);
}
[dir="rtl"] .faq summary { padding-right: 0; padding-left: 28px; }
[dir="rtl"] .faq summary::after { right: auto; left: 6px; }
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/* CTA panel: subtle gradient pan */
html.ux-motion .cta__panel {
  background: linear-gradient(120deg,
    rgba(74,159,217,.10),
    rgba(125,211,252,.06),
    rgba(74,159,217,.10));
  background-size: 220% 200%;
  animation: sxj-bg-pan 10s ease-in-out infinite;
}

/* Nav link hover underline */
.nav__links a {
  position: relative;
  transition: color .25s var(--ease);
}
.nav__links a:hover { color: var(--accent); }

/* ============================================================
   TYPEWRITER / TEXT-WRITE animations
   ============================================================ */

@keyframes sxj-typewriter {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes sxj-blink-caret {
  0%, 100% { border-right-color: transparent; }
  50%      { border-right-color: var(--accent); }
}

/* Hero kicker as a typewriter line */
html.ux-motion .hero__copy .kicker {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--accent);
  width: 0;
  vertical-align: bottom;
  animation:
    sxj-typewriter 1.6s steps(38, end) .35s forwards,
    sxj-blink-caret .85s step-end .35s 6,
    sxj-bg-pan 6s linear 3s infinite;
}
@media (max-width: 720px){
  html.ux-motion .hero__copy .kicker{
    white-space: normal;
    width: auto;
    overflow: visible;
    border-right: 0;
    animation:
      sxj-fade-up .6s var(--ease) both,
      sxj-bg-pan 6s linear 1s infinite;
  }
}

/* Hero title: word-by-word reveal */
html.ux-motion .hero__title{
  position: relative;
}
html.ux-motion .hero__title::after{
  content: "";
  position: absolute;
  left: 0; bottom: -10px;
  height: 4px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent);
  border-radius: 4px;
  animation: sxj-title-line 1.4s ease-out 1.4s forwards;
}
@keyframes sxj-title-line {
  to { width: 70%; }
}

/* Buttons quickly slide in after the kicker */
html.ux-motion .hero__copy .actions{
  animation: sxj-fade-up .6s var(--ease) 1.6s both;
}

@keyframes sxj-blob-float {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(20px, -16px) scale(1.06); }
  66%     { transform: translate(-14px, 12px) scale(.96); }
}
body::after{
  content:""; position: fixed; inset: -10% -10% auto auto;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,107,181,.10), transparent 65%);
  filter: blur(60px); pointer-events: none; z-index: 0;
  animation: sxj-blob-float 22s ease-in-out infinite;
}

/* Card lift now with 3D tilt feel */
.product, .industry, .timeline__item, .card, .feature, .product-detail {
  transform-style: preserve-3d;
  perspective: 1200px;
}
.product:hover { transform: translate3d(0, -8px, 0) rotateX(2deg) scale(1.014); }
.product:hover .product__media img,
.product-detail:hover img { transform: scale(1.06) translateY(-2px); }
.product__media img, .product-detail img {
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

/* Image zoom-pan loop on hero figure */
@keyframes sxj-kenburns {
  0%   { transform: scale(1)   translate(0, 0); }
  50%  { transform: scale(1.06) translate(-1%, -1%); }
  100% { transform: scale(1)   translate(0, 0); }
}
html.ux-motion .hero__img {
  animation: sxj-kenburns 20s ease-in-out infinite;
}
.hero__figure:hover .hero__img { animation-play-state: paused; }

/* Scroll progress bar at top */
@keyframes sxj-noop { from { width:0 } to { width:0 } }
html.ux-motion::before{
  content:""; position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  z-index: 10040;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(26,107,181,.55);
  animation: sxj-scrollprog linear;
  animation-timeline: scroll(root);
}
@keyframes sxj-scrollprog { to { width: 100%; } }

/* Logo X spins on header hover */
.brand:hover .brand__mark{
  animation: sxj-x-spin 1.4s cubic-bezier(.2,.9,.2,1) forwards;
}
@keyframes sxj-x-spin {
  0%   { transform: rotate(0deg) scale(1); }
  60%  { transform: rotate(220deg) scale(1.18); filter: drop-shadow(0 12px 28px rgba(26,107,181,.65)); }
  100% { transform: rotate(360deg) scale(1.08); filter: drop-shadow(0 8px 22px rgba(26,107,181,.55)); }
}

/* Section heads: small "X" drawing accent before h2 */
.section-head h2{
  position: relative;
  padding-left: 0;
}

/* Buttons: copper glow ring pulse on hover for primary */
@keyframes sxj-btn-glow {
  0%,100% { box-shadow: 0 8px 22px rgba(26,107,181,.28); }
  50%     { box-shadow: 0 14px 36px rgba(26,107,181,.50); }
}
.btn--primary { animation: sxj-btn-glow 3s ease-in-out infinite; }

/* Industry / feature icons rotate slightly on card hover */
.industry:hover .industry__icon,
.feature:hover .feature__icon{
  transform: rotate(-8deg) scale(1.12);
  transition: transform .45s var(--ease);
}

/* Tags pop with copper glow on hover */
.tag, .pill, .product__tag{
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.tag:hover, .pill:hover, .product__tag:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(26,107,181,.18);
  color: var(--accent-3);
  background: rgba(26,107,181,.10);
  border-color: rgba(26,107,181,.45);
}

/* Hero copy paragraphs fade-up */
html.ux-motion .hero__copy p{
  animation: sxj-fade-up .6s var(--ease) both;
}
html.ux-motion .hero__copy p:nth-of-type(1){ animation-delay: .55s; }
html.ux-motion .hero__copy p:nth-of-type(2){ animation-delay: .75s; }

/* Pulse ring around X mark logo header */
.brand{ position: relative; }
.brand::before{
  content:""; position: absolute;
  left: 0; top: 50%;
  width: 46px; height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  border: 2px solid rgba(26,107,181,.0);
  pointer-events: none;
  animation: sxj-brand-pulse 3.4s ease-out infinite;
  display:none !important;
}
[dir="rtl"] .brand::before{ left: auto; right: 0; }
@keyframes sxj-brand-pulse {
  0%   { transform: scale(.9); border-color: rgba(26,107,181,.45); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scale(1.6); border-color: rgba(26,107,181,0); opacity: 0; }
}

/* Map embed gentle hover lift */
.map-embed{ transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.map-embed:hover{ transform: translateY(-3px); box-shadow: 0 14px 32px rgba(10,22,40,.12); }

/* Text shimmer for h2 section heads */
.section-head h2{
  background: linear-gradient(90deg, #0a1628 0%, #0a1628 40%, #1a6bb5 50%, #0a1628 60%, #0a1628 100%);
  background-size: 240% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.4s ease;
}
html.ux-motion .section-reveal.is-in-view .section-head h2{
  background-position: 0 0;
}

@media (prefers-color-scheme: dark){
  .section-head h2{
    background: none;
    background-size: auto;
    -webkit-text-fill-color: #0a1628;
    color: #0a1628;
  }
  html.ux-motion .section-reveal.is-in-view .section-head h2{
    background: none;
  }
}

/* Phones: gradient clip often fails (Samsung); use solid headings */
@media (max-width: 900px){
  .section-head h2{
    background: none;
    background-size: auto;
    -webkit-text-fill-color: #0a1628;
    color: #0a1628;
  }
  html.ux-motion .section-reveal.is-in-view .section-head h2{
    background: none;
  }
}

/* CTA panel breathing copper border */
@keyframes sxj-cta-border {
  0%,100% { box-shadow: inset 0 0 0 1px rgba(26,107,181,.30); }
  50%     { box-shadow: inset 0 0 0 1px rgba(26,107,181,.55), 0 0 30px rgba(26,107,181,.18); }
}
.cta__panel{ animation: sxj-cta-border 4s ease-in-out infinite; border-radius: var(--radius); }

/* Stagger reveal for children of any section-reveal */
html.ux-motion .section-reveal.is-in-view .product,
html.ux-motion .section-reveal.is-in-view .industry,
html.ux-motion .section-reveal.is-in-view .feature,
html.ux-motion .section-reveal.is-in-view .timeline__item,
html.ux-motion .section-reveal.is-in-view .card{
  animation: sxj-fade-up .7s cubic-bezier(.2,.9,.2,1) both;
}
html.ux-motion .section-reveal.is-in-view .product:nth-child(1),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(1),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(1),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(1),
html.ux-motion .section-reveal.is-in-view .card:nth-child(1){ animation-delay: .05s; }
html.ux-motion .section-reveal.is-in-view .product:nth-child(2),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(2),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(2),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(2),
html.ux-motion .section-reveal.is-in-view .card:nth-child(2){ animation-delay: .12s; }
html.ux-motion .section-reveal.is-in-view .product:nth-child(3),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(3),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(3),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(3),
html.ux-motion .section-reveal.is-in-view .card:nth-child(3){ animation-delay: .19s; }
html.ux-motion .section-reveal.is-in-view .product:nth-child(4),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(4),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(4),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(4),
html.ux-motion .section-reveal.is-in-view .card:nth-child(4){ animation-delay: .26s; }
html.ux-motion .section-reveal.is-in-view .product:nth-child(5),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(5),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(5),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(5),
html.ux-motion .section-reveal.is-in-view .card:nth-child(5){ animation-delay: .33s; }
html.ux-motion .section-reveal.is-in-view .product:nth-child(n+6),
html.ux-motion .section-reveal.is-in-view .industry:nth-child(n+6),
html.ux-motion .section-reveal.is-in-view .feature:nth-child(n+6),
html.ux-motion .section-reveal.is-in-view .timeline__item:nth-child(n+6),
html.ux-motion .section-reveal.is-in-view .card:nth-child(n+6){ animation-delay: .40s; }

@keyframes sxj-fade-up {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Footer socials icon tap pulse */
@keyframes sxj-icon-bounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px) scale(1.1); }
}
.footer__socials a:focus-visible{
  outline: 2px solid #e8c98a;
  outline-offset: 3px;
  animation: sxj-icon-bounce .6s ease-in-out;
}

/* Hero figure: slow rotating copper ring outside */
@keyframes sxj-ring-rotate {
  to { transform: rotate(360deg); }
}
.hero__figure::before{
  content:""; position:absolute; inset:-12px; border-radius:calc(var(--radius) + 12px);
  background:
    conic-gradient(from 0deg,
      rgba(26,107,181,0) 0deg,
      rgba(26,107,181,.55) 60deg,
      rgba(232,201,138,.35) 120deg,
      rgba(26,107,181,0) 180deg,
      rgba(26,107,181,.45) 240deg,
      rgba(26,107,181,0) 360deg);
  filter: blur(14px);
  opacity:.0;
  pointer-events:none; z-index:-1;
  transition: opacity .6s ease;
  animation: sxj-ring-rotate 18s linear infinite;
}
.hero__figure:hover::before{ opacity:.55; }

/* Header: subtle background blur intensifies on scroll (data-scrolled set by JS) */
.header[data-scrolled="true"]{
  background:rgba(255,255,255,.94);
  box-shadow:0 1px 0 rgba(26,107,181,.10), 0 12px 36px rgba(10,22,40,.06);
}

@keyframes sxj-drawer-in {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes sxj-drawer-in-rtl {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.mobile-drawer[aria-hidden="false"] .mobile-drawer__panel{
  animation: sxj-drawer-in .35s cubic-bezier(.2,.9,.2,1) both;
}
[dir="rtl"] .mobile-drawer[aria-hidden="false"] .mobile-drawer__panel{
  animation-name: sxj-drawer-in-rtl;
}

/* WhatsApp FAB pulse */
@keyframes sxj-fab-pulse {
  0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,.42); }
  50%     { box-shadow: 0 12px 36px rgba(37,211,102,.62), 0 0 0 8px rgba(37,211,102,.10); }
}
.wa-fab a{ animation: sxj-fab-pulse 3s ease-in-out infinite; }
.wa-fab a:hover{ transform: translateY(-3px) scale(1.04); transition: transform .3s var(--ease); }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.ux-motion .hero__copy .kicker{
    width: auto !important;
    border-right: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
  }
  html::before, body::after{ display:none !important; }
}
