/* ۱.۹.۵۷ (سایت) صفحه‌ی «امکانات»: کارت‌ها و آیکون‌های متحرک (حرکت فقط با کلاس play از features.js) */
.fx-hero{position:relative;max-width:1320px;margin:0 auto;border-radius:40px;overflow:hidden;background:radial-gradient(640px 360px at 92% 0%,rgba(127,203,167,.32),rgba(0,0,0,0) 60%),radial-gradient(560px 380px at 0% 100%,rgba(245,184,61,.26),rgba(0,0,0,0) 60%),#FFFFFF;padding:clamp(36px,5vw,72px) clamp(18px,4vw,52px) clamp(20px,3vw,40px);text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;box-sizing:border-box}
.fx-hero h1{margin:0;max-width:900px;font-size:clamp(34px,4.8vw,62px);line-height:1.35;font-weight:900}
.fx-hero h1 span{color:#0E4D5A}
.fx-cta{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px}
.fx-btn{height:54px;padding:0 24px;border-radius:17px;background:#FFFFFF;color:#17191C;box-shadow:inset 0 0 0 1px rgba(23,25,28,.14);text-decoration:none;display:inline-flex;align-items:center;font-size:16px;font-weight:900;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.fx-btn:hover{transform:translateY(-2px);color:#17191C}
.fx-btn.dark{background:#17191C;color:#FFFFFF;box-shadow:none}
.fx-btn.sun{background:#F5B83D;color:#17191C;box-shadow:none}
.fx-btn:focus-visible,.fx-jump a:focus-visible{outline:3px solid #F5B83D;outline-offset:3px}

/* عکس سر صفحه (۱.۹.۵۷ سایت) */
.fx-heroimg{display:block;width:min(100%,1100px);margin:14px auto 0}
.fx-heroimg img{display:block;width:100%;height:auto;animation:jr-bob 7s ease-in-out infinite}

/* پرش به گروه‌ها؛ هنگام اسکرول بالای صفحه می‌چسبد */
.fx-jump{position:sticky;top:10px;z-index:5;max-width:max-content;margin:18px auto 0;display:flex;gap:4px;padding:5px;border-radius:18px;background:rgba(255,255,255,.86);-webkit-backdrop-filter:saturate(1.6) blur(12px);backdrop-filter:saturate(1.6) blur(12px);box-shadow:0 8px 24px rgba(23,25,28,.07);overflow-x:auto;scrollbar-width:none;font-size:14px;font-weight:800}
.fx-jump::-webkit-scrollbar{display:none}
.fx-jump a{flex:none;display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 14px;border-radius:13px;color:#17191C;text-decoration:none;white-space:nowrap;transition:background-color .25s}
.fx-jump a:hover{background:#F2F3F5;color:#17191C}
.fx-jump i{width:8px;height:8px;border-radius:50%}

.fx-group,.fx-newsec{max-width:1320px;margin:72px auto 0;scroll-margin-top:76px}
.fx-gh{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:0 8px 22px}
/* سرتیتر هر گروه: کاشی رنگی با عکس سه‌بعدی */
.fx-ghp{flex-direction:row;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px;padding:clamp(22px,3vw,36px) clamp(22px,3.4vw,44px);border-radius:34px;overflow:hidden}
.fx-ght{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.fx-ght p{margin:0;max-width:520px;font-size:16px;line-height:1.9;color:#4A5054}
.fx-gimg{flex:none;width:clamp(96px,15vw,200px);height:auto;margin:-10px 0;animation:jr-bob 6s ease-in-out infinite;filter:drop-shadow(0 18px 24px rgba(23,25,28,.12))}
/* سه ستون؛ ردیف آخرِ ناقص وسط‌چین (نه یک کارت تنها گوشه‌ی صفحه) */
.fx-grid,.fx-newgrid{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.fx-grid>.fx-card,.fx-newgrid>.fx-card{flex:0 1 calc((100% - 32px) / 3)}
@media (max-width:1060px){.fx-grid>.fx-card,.fx-newgrid>.fx-card{flex-basis:calc((100% - 16px) / 2)}}

/* کارت امکان */
.fx-card{display:flex;flex-direction:column;gap:14px;min-width:0;padding:24px 22px 20px;border-radius:30px;background:#FFFFFF;box-shadow:0 12px 30px rgba(23,25,28,.05);transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s;box-sizing:border-box}
.fx-card:hover{transform:translateY(-4px);box-shadow:0 22px 44px rgba(23,25,28,.09)}
.fx-ic{flex:none;width:68px;height:68px;border-radius:22px;background:var(--fxbg);color:var(--fxc);display:flex;align-items:center;justify-content:center}
.fx-svg{width:46px;height:46px;overflow:visible;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fx-svg .b{fill:var(--fxbg)}
.fx-svg .af{fill:var(--fxa)}
.fx-svg .fill{fill:currentColor;stroke:none}
.fx-svg .af-s{stroke:var(--fxa)}
.fx-svg .sw{stroke:var(--fxbg);stroke-width:2.6}
.fx-tx{display:flex;flex-direction:column;gap:8px;min-width:0}
.fx-t{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.fx-t b{font-size:18.5px;font-weight:900;line-height:1.5}
.fx-b{font-size:14.5px;line-height:1.9;color:#4A5054}
.fx-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:auto;padding-top:4px}
.fx-pl{height:28px;padding:0 11px;border-radius:99px;background:#F2F3F5;color:#4A5054;display:inline-flex;align-items:center;font-size:12.5px;font-weight:800}
.fx-pl.pro{background:#E3F0EF;color:#0E4D5A}
.fx-note{font-size:12.5px;font-weight:600;color:#5F666B}
.fx-new{height:24px;padding:0 9px;border-radius:99px;background:#F5B83D;color:#17191C;display:inline-flex;align-items:center;font-size:11.5px;font-weight:900}
.fx-tx{flex:1 1 auto}

/* تازه‌ها: کاشی تیره، کارت‌های بزرگ‌تر */
.fx-newsec{border-radius:40px;background:linear-gradient(130deg,#0B3D47,#0E4D5A 55%,#1C6B78);color:#FFFFFF;padding:clamp(24px,4vw,48px);box-sizing:border-box}
.fx-newsec .fx-gh{margin:0 0 24px}
.fx-card.big{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);color:#FFFFFF}
.fx-card.big:hover{background:rgba(255,255,255,.12)}
.fx-card.big .fx-ic{background:#FFFFFF}
.fx-card.big .fx-svg .b{fill:#FFFFFF}
.fx-card.big .fx-svg .sw{stroke:#FFFFFF}
.fx-card.big .fx-b{color:#CFE0DD}
.fx-card.big .fx-pl{background:rgba(255,255,255,.14);color:#FFFFFF}
.fx-card.big .fx-note{color:#9FC6C0}
.fx-card.big .fx-new{display:none}

.fx-end{max-width:1320px;margin:80px auto 0;border-radius:40px;background:#FFF4DA;padding:clamp(28px,4vw,52px);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px;box-sizing:border-box}
.fx-end .fx-cta{margin:0}

/* ---------- حرکت آیکون‌ها ---------- */
.fx-svg *{transform-box:fill-box;transform-origin:50% 50%}
.fx-svg .t1{animation-delay:.12s !important}.fx-svg .t2{animation-delay:.24s !important}.fx-svg .t3{animation-delay:.38s !important}
.fx-svg .d{stroke-dasharray:1 1;stroke-dashoffset:0}
.fx-svg .m-fanL{transform:rotate(-13deg);transform-origin:50% 100%}
.fx-svg .m-fanR{transform:rotate(13deg);transform-origin:50% 100%}
.fx-svg .m-swing{transform-origin:77% 22%}
.fx-svg .m-ring{transform-origin:50% 0}
.fx-svg .m-grow{transform-origin:50% 100%}
.fx-svg .m-awn{transform-origin:50% 0}
.fx-svg .m-page{transform-origin:0 50%}
/* تا پیش از دیده شدن (فقط وقتی اسکریپت هست: fx-arm)، حالت شروع */
.fx-arm [data-fx]:not(.play) .d{stroke-dashoffset:1}
.fx-arm [data-fx]:not(.play) .m-pop,.fx-arm [data-fx]:not(.play) .m-drop,.fx-arm [data-fx]:not(.play) .m-slide,.fx-arm [data-fx]:not(.play) .m-in,.fx-arm [data-fx]:not(.play) .m-rise,.fx-arm [data-fx]:not(.play) .m-strip{opacity:0}
.fx-arm [data-fx]:not(.play) .m-grow{transform:scaleY(0)}

.play .d{animation:fx-draw .9s cubic-bezier(.6,0,.2,1) both}
.play .m-up{animation:fx-up .8s cubic-bezier(.2,.8,.2,1) both}
.play .m-scan{animation:fx-scan 1.4s ease-in-out both}
.play .m-pop{animation:fx-pop .6s cubic-bezier(.3,1.6,.5,1) both}
.play .m-drop{animation:fx-drop .7s cubic-bezier(.3,1.5,.5,1) both}
.play .m-flip{animation:fx-flip 1.1s cubic-bezier(.7,0,.2,1) both}
.play .m-fanL{animation:fx-fanL .8s cubic-bezier(.2,.8,.2,1) both}
.play .m-fanR{animation:fx-fanR .8s cubic-bezier(.2,.8,.2,1) both}
.play .m-page{animation:fx-page .9s cubic-bezier(.6,0,.3,1) both}
.play .m-dot{animation:fx-dot .5s ease-in-out 3 both}
.play .m-awn{animation:fx-awn .9s cubic-bezier(.3,1.4,.5,1) both}
.play .m-slide{animation:fx-slide .7s cubic-bezier(.2,.8,.2,1) both}
.play .m-swing{animation:fx-swing 1.2s ease-in-out both}
.play .m-fall{animation:fx-fall .9s ease-in 2 both}
.play .m-strip{animation:fx-slide .8s cubic-bezier(.2,.8,.2,1) both}
.play .m-pill{animation:fx-pill 1s cubic-bezier(.6,0,.3,1) both}
.play .m-drive{animation:fx-drive .9s cubic-bezier(.2,.8,.2,1) both}
.play .m-ring{animation:fx-ring 1s ease-in-out both}
.play .m-beat{animation:fx-beat 1.1s ease-in-out both}
.play .m-grow{animation:fx-grow .8s cubic-bezier(.2,.8,.2,1) both}
.play .m-rise{animation:fx-rise .8s cubic-bezier(.2,.8,.2,1) .3s both}
.play .m-peek{animation:fx-up .8s cubic-bezier(.2,.8,.2,1) both}
.play .m-out{animation:fx-out .9s cubic-bezier(.2,.8,.2,1) both}
.play .m-in{animation:fx-in .8s cubic-bezier(.2,.8,.2,1) .15s both}
.play .m-spin{animation:fx-spin 1.2s cubic-bezier(.6,0,.3,1) both}
@keyframes fx-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes fx-up{from{transform:translateY(12px)}to{transform:none}}
@keyframes fx-scan{0%{transform:none}30%{transform:translateY(-9px)}70%{transform:translateY(9px)}100%{transform:none}}
@keyframes fx-pop{from{opacity:0;transform:scale(0)}to{opacity:1;transform:none}}
@keyframes fx-drop{from{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:none}}
@keyframes fx-flip{from{transform:rotate(-180deg)}to{transform:none}}
@keyframes fx-fanL{from{transform:none}to{transform:rotate(-13deg)}}
@keyframes fx-fanR{from{transform:none}to{transform:rotate(13deg)}}
@keyframes fx-page{from{transform:scaleX(-1)}to{transform:none}}
@keyframes fx-dot{0%,100%{transform:none}50%{transform:translateY(-4px)}}
@keyframes fx-awn{0%{transform:scaleY(.4)}60%{transform:scaleY(1.15)}100%{transform:none}}
@keyframes fx-slide{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
@keyframes fx-swing{0%,100%{transform:none}25%{transform:rotate(14deg)}55%{transform:rotate(-9deg)}80%{transform:rotate(4deg)}}
@keyframes fx-fall{0%{opacity:0;transform:translateY(-10px)}30%{opacity:1}100%{opacity:1;transform:none}}
@keyframes fx-pill{0%{transform:translateX(7.6px)}100%{transform:none}}
@keyframes fx-drive{from{transform:translateX(-12px)}to{transform:none}}
@keyframes fx-ring{0%,100%{transform:none}15%{transform:rotate(16deg)}35%{transform:rotate(-14deg)}55%{transform:rotate(9deg)}75%{transform:rotate(-5deg)}}
@keyframes fx-beat{0%,100%{transform:none}20%{transform:scale(1.2)}40%{transform:scale(.96)}60%{transform:scale(1.1)}}
@keyframes fx-grow{from{transform:scaleY(0)}to{transform:none}}
@keyframes fx-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes fx-out{from{transform:translateX(-8px)}to{transform:none}}
@keyframes fx-in{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}
@keyframes fx-spin{from{transform:rotate(-360deg)}to{transform:none}}

@media (prefers-reduced-motion:reduce){
  .fx-heroimg img,.fx-gimg{animation:none}
  .play *,.fx-svg *{animation:none !important}
  .fx-card:hover,.fx-btn:hover{transform:none}
}

/* تبلت و گوشی */
@media (max-width:760px){
  .fx-hero{border-radius:32px}
  .fx-heroimg{width:calc(100% + 24px);margin:8px -12px 0}
  .fx-jump{margin-inline:0;max-width:100%;border-radius:16px;font-size:13.5px}
  .fx-jump a{height:38px;padding:0 11px}
  .fx-group,.fx-newsec{margin-top:52px}
  .fx-newsec{border-radius:32px;margin-inline:-4px}
  .fx-grid{gap:12px}
  .fx-grid>.fx-card{flex-basis:100%}
  .fx-newgrid{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -12px;padding:2px 12px 6px;scrollbar-width:none;gap:12px}
  .fx-newgrid::-webkit-scrollbar{display:none}
  .fx-newgrid .fx-card{flex:0 0 82%;scroll-snap-align:center}
  .fx-grid .fx-card{flex-direction:row;align-items:flex-start;gap:14px;padding:18px 16px;border-radius:24px}
  .fx-grid .fx-ic{width:56px;height:56px;border-radius:18px}
  .fx-grid .fx-svg{width:38px;height:38px}
  .fx-t b{font-size:16.5px}
  .fx-b{font-size:14px;line-height:1.85}
  .fx-ghp{border-radius:26px;gap:12px;align-items:flex-start}
  .fx-ght p{font-size:14.5px}
  .fx-gimg{width:92px;margin:0}
  .fx-end{border-radius:32px}
  .fx-end .fx-cta,.fx-end .fx-btn{width:100%;justify-content:center}
}
.fx-pl.svc{background:#E4E9F6;color:#152A55}
