/* ═══════════════════════════════════════════════════════════════
   The home page, rebuilt around the Premiere tools (2026-10-25, his
   word: «عايز واجهه الموقع لبلاجن البريمير تتغير تماما … انيميشنز
   خطيره … قلل كلام عن ال ai»).

   Nine in ten people read this page on a phone (the visits table,
   30 days to 2026-10-25: 82,128 of 92,275 home views), so every
   piece is drawn for a 360-px screen first. Everything that moves
   is a class swap played by js/home2.js on transform and opacity,
   only while it is on screen; with reduced motion nothing plays and
   each picture stands at its finished state.
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────── hero ── */

/* the glow around the sequence reaches past the screen's edge on a phone: clipped here, or the page drags sideways */
.hx { padding: 54px 0 0; position: relative; isolation: isolate; overflow: hidden; }
@supports (overflow: clip) { .hx { overflow: clip; overflow-clip-margin: 0; } }
.hx::before {
  /* a timeline's ruler, faint, under the light — the page is about editing */
  content: ''; position: absolute; inset: -40px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 340px at 78% 14%, rgba(47,217,190,.13), transparent 66%),
    radial-gradient(460px 320px at 12% 58%, rgba(217,107,162,.10), transparent 64%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%);
}
.hx-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 50px; align-items: center; }
.hx-copy { min-width: 0; }
.hx h1 { margin-bottom: 18px; }
/* the English phrase is far longer than «هتسرّع المونتاج»: held on one line it ran under the picture */
html[lang="en"] .hx .h1-a { white-space: normal; }
.h1-in {
  display: block; margin-top: .14em;
  font-size: .56em; font-weight: 600; letter-spacing: -.03em; color: var(--tx-2);
}
.hx .lede { margin-bottom: 26px; }
.hx-see svg { width: 15px; height: 15px; }

/* ── the live count of accounts ── */
.lv {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  margin-bottom: 20px; padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(74,222,110,.28);
  background: linear-gradient(140deg, rgba(74,222,110,.08), rgba(47,217,190,.05));
  font-size: 14px; color: var(--tx-2); line-height: 1.5;
  animation: lvIn .6s var(--ease) both;
}
@keyframes lvIn { from { opacity: 0; transform: translateY(-6px); } }
.lv-dot { position: relative; width: 10px; height: 10px; flex: 0 0 auto; }
.lv-dot i, .lv-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--ok);
}
.lv-dot i { box-shadow: 0 0 10px rgba(74,222,110,.7); }
.lv-dot::after { animation: lvPing 1.8s ease-out infinite; }
@keyframes lvPing { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
.lv-main { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.lv-n {
  display: inline-block; font-size: 17px; font-weight: 700; color: #fff;
  min-width: 3.2ch; text-align: center; transition: transform .3s var(--spring), color .3s var(--ease);
}
.lv-n.bump { transform: scale(1.18); color: var(--ok); }
.lv-today {
  display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap;
  padding: 1px 9px; border-radius: var(--r-pill); background: rgba(74,222,110,.12); color: var(--ok); font-size: 13px;
}
.lv-today b { font-family: var(--num); font-weight: 700; }
/* a new account arriving: +1 rises out of the number */
.lv-plus {
  position: absolute; pointer-events: none; font-family: var(--num); font-weight: 700; font-size: 14px; color: var(--ok);
  animation: lvPlus 1.3s var(--ease) forwards;
}
@keyframes lvPlus { 0% { opacity: 0; transform: translateY(4px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }

/* ───────────────────────────────────── the reel: tools at work ── */
/* (2026-10-29) His word: «عايزك تعمل انيميشن فيه المميزات الجديده و اهم المميزات القديمه و الافيكتات … عايزها سريعه», then on
   the first one «… على نفس الخلفيه الي معمولها جينيريت». One square video beside the words (img/hero); each tool's name is
   in the video itself. A phone that will not start it by itself (power saving) shows a play button over the picture. */
.hr { position: relative; width: 100%; max-width: 600px; margin-inline: auto; }
.hr-glow {
  position: absolute; inset: -9% -7%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side at 72% 26%, rgba(47,217,190,.26), transparent),
    radial-gradient(closest-side at 26% 78%, rgba(217,107,162,.2), transparent);
}
.hr-frame {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--r-big); border: 1px solid #2E2D3A; background: #120a3a;
  box-shadow: var(--sink), 0 30px 80px -40px rgba(47,217,190,.55), inset 0 1px 0 rgba(255,255,255,.05);
}
.hr-vid { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hr-play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; padding: 0;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: #fff;
  border: 1.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 40px -10px rgba(10,6,30,.7);
  transition: transform .2s var(--spring), background .25s var(--ease);
}
.hr-play[hidden] { display: none; }
.hr-play svg { width: 34px; height: 34px; margin-left: 4px; }
.hr-play:hover { transform: scale(1.06); background: rgba(255,255,255,.26); }
.hr-play:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ───────────────────────────── the Premiere sequence, edited ── */
/* (in «وفّر وقتك» since 2026-10-29; it stood in the hero before) */

.pp { position: relative; width: 100%; max-width: 620px; margin-inline: auto; }
.pp-glow {
  position: absolute; inset: -12% -8%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side at 70% 30%, rgba(47,217,190,.24), transparent),
    radial-gradient(closest-side at 25% 75%, rgba(217,107,162,.18), transparent);
}
.pp-win {
  direction: ltr; text-align: left;
  border-radius: 18px; overflow: hidden;
  border: 1px solid #2E2D3A;
  background: #0E0D12;
  box-shadow: var(--sink), 0 30px 80px -40px rgba(47,217,190,.55), inset 0 1px 0 rgba(255,255,255,.05);
}
.pp-bar {
  display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px;
  background: #15141B; border-bottom: 1px solid #23222C;
  font-size: 12px; color: var(--tx-3); white-space: nowrap;
}
.pp-dots { display: inline-flex; gap: 5px; }
.pp-dots i { width: 8px; height: 8px; border-radius: 50%; background: #2F2E3A; }
.pp-dots i:first-child { background: #3A3A49; }
.pp-name { overflow: hidden; text-overflow: ellipsis; }
.pp-dur { margin-left: auto; display: inline-flex; gap: 7px; align-items: center; }
.pp-dur b { font-weight: 700; letter-spacing: -.01em; }
.pp-was { color: var(--tx-4); text-decoration: line-through; opacity: 0; transform: translateX(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.pp-now { color: var(--tx); transition: color .3s var(--ease); }
.pp.is-cut .pp-was { opacity: 1; transform: none; }
.pp.is-cut .pp-now { color: var(--red-soft); }

/* the program monitor */
.pp-mon { position: relative; aspect-ratio: 16 / 9; background: #050507; overflow: hidden; }
.pp-scene { position: absolute; inset: 0; transform-origin: 50% 46%; transition: transform .75s var(--ease); }
.pp-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 72% 18%, rgba(47,217,190,.30), transparent 70%),
    radial-gradient(55% 60% at 18% 30%, rgba(217,107,162,.22), transparent 70%),
    linear-gradient(180deg, #17202A, #0B0C12 72%);
}
.pp-bg::after {   /* lights out of focus behind the speaker */
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(141,246,230,.30), transparent 7%),
    radial-gradient(circle at 28% 52%, rgba(217,107,162,.22), transparent 5%),
    radial-gradient(circle at 84% 24%, rgba(242,163,60,.22), transparent 6%),
    radial-gradient(circle at 72% 48%, rgba(139,124,246,.20), transparent 4.5%),
    radial-gradient(circle at 92% 58%, rgba(141,246,230,.16), transparent 4%);
}
.pp-host { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 94%; }
.pp[data-z="1"] .pp-scene { transform: scale(1.12); }
.pp[data-z="2"] .pp-scene { transform: scale(1); transition-duration: .08s; }
.pp[data-z="3"] .pp-scene { transform: scale(1.2) translateY(2%); }
.pp-broll { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease); }
.pp-broll img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.08); transition: transform 2.4s linear; }
.pp.show-b .pp-broll { opacity: 1; }
.pp.show-b .pp-broll img { transform: scale(1.18); }

.pp-cap {
  position: absolute; left: 7%; right: 7%; bottom: 8%;
  text-align: center; font-weight: 800; line-height: 1.25;
  font-size: clamp(13px, 3.5vw, 21px); color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.65), 0 0 2px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
html[dir="rtl"] .pp-cap { direction: rtl; }
.pp-cap span { display: inline-block; transition: color .15s, transform .2s var(--spring); }
.pp-cap span.on { color: var(--red-soft); transform: scale(1.12); }
.pp.is-cap .pp-cap { opacity: 1; transform: none; }

.pp-fx { position: absolute; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.pp-fx1 { left: 18%; top: 22%; }
.pp-fx2 { right: 16%; top: 30%; }
.pp-fx i { position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--amber); opacity: 0; }
.pp-fx b {
  position: relative; padding: 2px 9px; border-radius: 6px; font-size: 11px; font-weight: 700;
  background: rgba(242,163,60,.92); color: #1A1206; letter-spacing: .01em;
}
.pp-fx.pop { animation: ppFx 1.1s var(--ease) both; }
.pp-fx.pop i { animation: ppRing 1.1s ease-out both; }
@keyframes ppFx { 0% { opacity: 0; transform: scale(.6) translateY(6px); } 18% { opacity: 1; transform: scale(1.08); } 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes ppRing { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.3); } }

.pp-toast {
  position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 6px; border-radius: 9px;
  background: rgba(14,13,18,.78); border: 1px solid rgba(47,217,190,.3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 11.5px; color: var(--tx); font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.pp-toast.on { opacity: 1; transform: none; }
.pp-tmark { width: 20px; height: 20px; border-radius: 6px; background: #0B0A0C; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(47,217,190,.3); }
.pp-tmark img { width: 12px; height: 12px; }
.pp-tt { font-family: var(--ff); }
.pp-spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(47,217,190,.25); border-top-color: var(--red); animation: ppSpin .7s linear infinite; }
.pp-ok { display: none; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); position: relative; }
.pp-ok::after { content: ''; position: absolute; left: 3.5px; top: 2px; width: 3px; height: 6px; border: solid #08130B; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.pp-toast.ok { border-color: rgba(74,222,110,.45); }
.pp-toast.ok .pp-spin { display: none; }
.pp-toast.ok .pp-ok { display: block; }
@keyframes ppSpin { to { transform: rotate(360deg); } }

/* the timeline */
.pp-tl { position: relative; padding: 6px 10px 10px; background: #0B0A0F; border-top: 1px solid #1E1D26; }
.pp-ruler {
  height: 10px; margin-left: 28px; margin-bottom: 2px;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 10%),
                    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 2.5%);
  background-size: 100% 7px, 100% 4px; background-repeat: no-repeat; background-position: 0 100%, 0 100%;
}
.pp-row { display: flex; align-items: center; gap: 6px; height: 17px; margin-top: 4px; }
.pp-row > b { width: 22px; flex: 0 0 auto; font: 600 9.5px/1 var(--num); color: var(--tx-4); letter-spacing: .02em; }
.pp-trk { position: relative; flex: 1; height: 100%; border-radius: 4px; background: rgba(255,255,255,.025); overflow: hidden; }
.pp-trk > i {
  position: absolute; top: 1px; bottom: 1px; border-radius: 3px;
  transition: left .7s var(--ease), width .7s var(--ease), opacity .4s var(--ease), transform .4s var(--spring), background-color .3s;
}
/* clips on V1, their sound on A1, the silences between them */
.pp-c { background: linear-gradient(180deg, #2D6F67, #1F4F4A); box-shadow: inset 0 0 0 1px rgba(91,232,211,.35); }
.pp-w {
  background:
    repeating-linear-gradient(90deg, rgba(141,246,230,.75) 0 1.5px, transparent 1.5px 3.5px) center / 100% 62% no-repeat,
    linear-gradient(180deg, #1C3E3B, #142D2B);
  box-shadow: inset 0 0 0 1px rgba(91,232,211,.25);
}
.pp-g { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pp.hot .pp-g { background: rgba(255,92,92,.22); box-shadow: inset 0 0 0 1px rgba(255,110,110,.7); animation: ppBlink .5s steps(2) 2; }
@keyframes ppBlink { 50% { background: rgba(255,92,92,.06); } }
.pp-k {  /* a zoom keyframe */
  top: 50% !important; bottom: auto !important; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  background: var(--yellow); transform: rotate(45deg) scale(0); border-radius: 1px; opacity: 0; z-index: 2;
}
.pp.is-zoom .pp-k { transform: rotate(45deg) scale(1); opacity: 1; }
.pp-cc { background: linear-gradient(180deg, #7E3F64, #5C2D49); box-shadow: inset 0 0 0 1px rgba(217,107,162,.55); transform: scaleY(0); opacity: 0; }
.pp.is-cap .pp-cc { transform: none; opacity: 1; }
.pp-sx { background: linear-gradient(180deg, #8A5A1C, #6B4513); box-shadow: inset 0 0 0 1px rgba(242,163,60,.6); transform: translateY(-120%); opacity: 0; }
.pp.is-sfx .pp-sx { transform: none; opacity: 1; }
.pp-b { left: 54%; width: 13%; background: linear-gradient(180deg, #4A3E8E, #362D6B); box-shadow: inset 0 0 0 1px rgba(139,124,246,.6); transform: translateY(-120%); opacity: 0; }
.pp.is-broll .pp-b { transform: none; opacity: 1; }

.pp-over { position: absolute; left: 38px; right: 10px; top: 6px; bottom: 10px; pointer-events: none; }
.pp-scan {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; opacity: 0;
  background: var(--red-lift); box-shadow: 0 0 14px 3px rgba(47,217,190,.55);
}
.pp.scan .pp-scan { opacity: 1; left: 100%; transition: left 1.25s linear, opacity .2s; }
.pp-ph { position: absolute; top: -4px; bottom: 0; left: 0; width: 1.5px; margin-left: -.75px; background: #FF5D5D; opacity: 0; }
.pp-ph i { position: absolute; top: 0; left: -4px; width: 9px; height: 7px; background: #FF5D5D; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.pp.play .pp-ph { opacity: 1; left: 100%; transition: left 2.6s linear, opacity .2s; }

/* the steps under it */
.pp-steps {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.pp-steps li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line-lift); background: var(--bg-100);
  font-size: 12.5px; color: var(--tx-3); white-space: nowrap;
  transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.pp-steps li i { width: 7px; height: 7px; border-radius: 50%; background: var(--tx-4); transition: background .3s; }
.pp-steps li.on { color: #fff; border-color: transparent; background: linear-gradient(140deg, var(--red-ink-a), var(--red-ink-b)); box-shadow: var(--glow); }
.pp-steps li.on i { background: #fff; animation: ppDot .8s ease-in-out infinite alternate; }
.pp-steps li.done { color: var(--red-soft); border-color: rgba(47,217,190,.35); }
.pp-steps li.done i { background: var(--red); }
@keyframes ppDot { to { opacity: .35; } }

/* ─────────────────────────────────────────────── time saved ── */

/* the sequence's glow reaches past a phone's edge here too: clipped, or the page drags sideways */
.tm { position: relative; overflow-x: hidden; }
@supports (overflow: clip) { .tm { overflow-x: clip; } }
.tm .pp { margin-top: 6px; }

.calc { max-width: 680px; margin: 34px auto 0; text-align: center; }
.calc-base { margin: 0 auto 14px; max-width: 54ch; font-size: clamp(17px, 2.4vw, 20px); color: var(--tx); font-weight: 600; }
.calc-base b { color: var(--red-soft); font-weight: 800; }
.calc-q { margin: 0 0 12px; font-size: 16.5px; color: var(--tx-2); font-weight: 500; }
.calc-pick { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.calc-pick button {
  width: 48px; height: 48px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line-lift); background: var(--bg-100); color: var(--tx-2);
  font-size: 18px; font-weight: 700;
  transition: transform .2s var(--spring), background .25s var(--ease), border-color .25s, color .25s, box-shadow .3s;
}
.calc-pick button:hover { transform: translateY(-2px); border-color: var(--tx-4); }
.calc-pick button.on { color: #fff; border-color: transparent; background: linear-gradient(140deg, var(--red-ink-a), var(--red-ink-b)); box-shadow: var(--glow); }
.calc-a { margin: 16px 0 0; font-size: clamp(17px, 2.6vw, 21px); color: var(--tx); }
.calc-a b { color: var(--red-soft); font-weight: 800; }
.calc-a .num { font-weight: 700; }
.tm-note { margin: 22px auto 0; max-width: 62ch; text-align: center; font-size: 13.5px; color: var(--tx-4); }

/* ───────────────────────────────────────────── the tools ── */

/* six open with a moving picture, the other fourteen named under them (js/home-ai.js) */
.tools.fold > .tool:nth-child(n+5) { display: block; }
.tools.fold > .tool:nth-child(n+7) { display: none; }

.tool.big { border-color: var(--line-lift); }
.tool.big .tool-art.demo {
  position: relative; height: 176px; margin: 14px 14px 0;
  background:
    radial-gradient(320px 140px at 50% 0%, rgba(47,217,190,.09), transparent 72%),
    #07070A;
  color: var(--tx-4);
}
.tool.big .tool-art.demo svg { padding: 14px 18px 18px; }
.tool.big:hover .tool-art svg { transform: none; }
html[dir="rtl"] .fd-flip { transform: matrix(-1, 0, 0, 1, 320, 0); }
.fd .fd-base { stroke: currentColor; stroke-opacity: .25; }

.fd-tag {
  position: absolute; top: 9px; inset-inline-start: 11px; direction: ltr;
  font: 600 10.5px/1 var(--num); letter-spacing: .03em; color: var(--tx-3);
  padding: 4px 7px; border-radius: 5px; border: 1px solid var(--line-lift); background: rgba(8,7,10,.7);
}
.fd-badge {
  position: absolute; top: 12px; inset-inline-end: 12px;
  padding: 3px 10px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700;
  background: rgba(47,217,190,.14); color: var(--red-soft); border: 1px solid rgba(47,217,190,.4);
  opacity: 0; transform: scale(.7); transition: opacity .3s var(--ease), transform .35s var(--spring);
}

/* transcription: a playhead runs over the sound and the words come out under it, each with its time */
.fd-wave rect { fill: currentColor; opacity: .55; }
.fd-sweep { fill: rgba(47,217,190,.10); transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.fd-ph { stroke: var(--red-lift); stroke-width: 2; transform: translateX(0); }
.fd-tr.run .fd-sweep { transform: scaleX(1); transition: transform 3.4s linear; }
.fd-tr.run .fd-ph { transform: translateX(280px); transition: transform 3.4s linear; }
.fd-words {
  position: absolute; inset-inline: 14px; bottom: 14px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.fd-tr-w { flex-wrap: nowrap; gap: 4px; bottom: 12px; }
.fd-tr-w span {
  display: grid; justify-items: center; gap: 0; padding: 2px 7px 3px; border-radius: 7px;
  background: rgba(47,217,190,.10); border: 1px solid rgba(47,217,190,.3);
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .35s var(--spring);
}
.fd-tr-w small { font-size: 9px; color: var(--tx-4); line-height: 1.2; }
.fd-tr-w b { font-size: 12.5px; font-weight: 600; color: var(--tx); line-height: 1.3; white-space: nowrap; }
.fd-tr-w span.on { opacity: 1; transform: none; }

/* captions: one word at a time on a phone, the SRT line moving with it */
.fd-srt rect { stroke: currentColor; stroke-opacity: .4; }
.fd-srt path { stroke: currentColor; stroke-opacity: .45; stroke-width: 2.2; stroke-linecap: round; }
.fd-srt .fd-srt-on { fill: rgba(217,107,162,.16); stroke: var(--ember); stroke-opacity: .9; transition: transform .3s var(--ease); }
.fd-cap[data-k="1"] .fd-srt-on { transform: translateY(24px); }
.fd-cap[data-k="2"] .fd-srt-on { transform: translateY(48px); }
.fd-cap-trk path { stroke: currentColor; stroke-opacity: .25; }
.fd-cap-trk rect { fill: rgba(217,107,162,.18); stroke: rgba(217,107,162,.5); transition: fill .2s; }
.fd-cap[data-k="0"] .fd-cap-trk .c1, .fd-cap[data-k="1"] .fd-cap-trk .c2,
.fd-cap[data-k="2"] .fd-cap-trk .c3, .fd-cap[data-k="3"] .fd-cap-trk .c4 { fill: var(--ember); }
.fd-capw {
  position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%);
  width: 34%; height: 2.4em; display: grid; place-items: center; text-align: center;
}
.fd-capw span {
  grid-area: 1 / 1; font-size: 17px; font-weight: 800; color: #fff; white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0,0,0,.7); letter-spacing: -.01em;
  opacity: 0; transform: scale(.6); transition: opacity .12s, transform .28s var(--spring);
}
html[lang="en"] .fd-capw span { font-size: 14px; }
.fd-capw span.on { opacity: 1; transform: scale(1); color: #FFE9A8; }

/* smart cut: the silences light up, then go, and the speech closes up */
.fd-s rect { fill: rgba(47,217,190,.13); stroke: rgba(91,232,211,.5); }
.fd-s path { stroke: var(--red-lift); stroke-width: 2.4; stroke-linecap: round; }
.fd-g rect { fill: rgba(255,255,255,.02); stroke: rgba(255,255,255,.14); stroke-dasharray: 3 3; transition: fill .25s, stroke .25s; }
.fd-g path { stroke: rgba(255,255,255,.25); stroke-width: 2; stroke-linecap: round; }
.fd-g, .fd-s { transition: transform .6s var(--ease), opacity .4s var(--ease); transform-box: fill-box; transform-origin: left center; }
.fd-cut.hot .fd-g rect { fill: rgba(255,92,92,.18); stroke: rgba(255,110,110,.85); stroke-dasharray: none; }
.fd-cut.cut .fd-g { opacity: 0; transform: scaleX(0); }
.fd-cut.cut .fd-s2 { transform: translateX(-30px); }
.fd-cut.cut .fd-s3 { transform: translateX(-55px); }
.fd-cut.cut .fd-s4 { transform: translateX(-80px); }
.tool.big .fd-cut.cut ~ .fd-badge { opacity: 1; transform: none; }

/* animated titles: the bar wipes in, the title rises with it, the keyframes light as it goes */
.fd-ti-bar { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform .5s var(--ease); }
.fd-kfs path { fill: var(--tx-4); transition: fill .25s, transform .3s var(--spring); transform-box: fill-box; transform-origin: center; }
.fd-ti.in .fd-ti-bar { transform: scaleX(1); }
.fd-ti.in .k1, .fd-ti.k2 .k2, .fd-ti.out .k3,
.fd-mo.p1 .k1, .fd-mo.p2 .k2, .fd-mo.p3 .k3 { fill: var(--yellow); transform: scale(1.35); }
.fd-title {
  position: absolute; inset-inline-start: 19%; top: 24%; display: grid; gap: 2px; text-align: start;
  overflow: hidden; padding-bottom: 4px;
}
.fd-title b, .fd-title small { display: block; transform: translateY(110%); opacity: 0; transition: transform .55s var(--ease), opacity .4s; }
.fd-title b { font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.fd-title small { font-size: 12px; color: var(--tx-2); transition-delay: .08s; }
.tool.big .fd-ti.in ~ .fd-title b, .tool.big .fd-ti.in ~ .fd-title small { transform: none; opacity: 1; }
.tool.big .fd-ti.out ~ .fd-title b, .tool.big .fd-ti.out ~ .fd-title small { transform: translateY(-110%); opacity: 0; }

/* motion presets: a clip rides its keyframes */
.fd-mo-path { stroke: currentColor; stroke-opacity: .35; stroke-dasharray: 3 4; }
.fd-mo-card { transform: translate(60px, 82px) scale(.75); transition: transform .9s cubic-bezier(.5,0,.2,1); }
.fd-mo-card rect { fill: rgba(47,217,190,.18); stroke: var(--red-lift); stroke-width: 1.6; }
.fd-mo-card path { fill: var(--red-lift); }
.fd-mo.p2 .fd-mo-card { transform: translate(170px, 32px) scale(1.12); }
.fd-mo.p3 .fd-mo-card { transform: translate(270px, 72px) scale(.95); }

/* automatic sound effects: the words that need a sound get one, and it drops onto A2 */
.fd-sx-a1 { stroke: currentColor; stroke-opacity: .5; stroke-width: 2; stroke-linecap: round; }
.fd-sx-b { fill: rgba(242,163,60,.85); transform: translateY(-40px); opacity: 0; transition: transform .45s var(--spring), opacity .25s; }
.fd-sx.h1 .b1, .fd-sx.h2 .b2 { transform: none; opacity: 1; }
.fd-sx-w { bottom: auto; top: 26px; gap: 8px 10px; }
.fd-sx-w span { position: relative; font-size: 15px; color: var(--tx-2); }
.fd-sx-w b { font-weight: 600; }
.fd-sx-w .hit em {
  position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translate(-50%, 6px) scale(.6);
  font-style: normal; font-size: 11px; font-weight: 700; white-space: nowrap;
  padding: 2px 8px; border-radius: 6px; background: var(--amber); color: #1A1206;
  opacity: 0; transition: opacity .2s, transform .35s var(--spring);
}
.fd-sx-w .hit::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; border: 2px solid var(--amber); opacity: 0; pointer-events: none;
}
.fd-sx-w .hit.on b { color: #FFD08A; }
.fd-sx-w .hit.on em { opacity: 1; transform: translate(-50%, 0) scale(1); }
.fd-sx-w .hit.on::before { animation: ppRing .9s ease-out both; }

/* ─────────────────────────────────────────── subscriptions ── */

.sv-board {
  max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: stretch;
}
.sv-bills { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sv-bill {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-card);
  border: 1px solid var(--line); background: linear-gradient(165deg, var(--bg-100), var(--bg-050));
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .5s var(--ease), border-color .4s;
  transition-delay: calc(var(--i) * 170ms);
}
.sv-board.go .sv-bill { opacity: 1; transform: none; }
.sv-ico {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center;
  background: rgba(217,107,162,.10); color: #F08DBA; border: 1px solid rgba(217,107,162,.25);
}
.sv-ico svg { width: 20px; height: 20px; }
.sv-what { flex: 1; min-width: 0; display: grid; gap: 1px; }
.sv-what b { font-size: 15px; font-weight: 600; color: var(--tx); }
.sv-what small { font-size: 12.5px; color: var(--red-soft); line-height: 1.5; }
.sv-price { display: grid; justify-items: end; text-align: end; flex: 0 0 auto; }
.sv-price b { position: relative; font-size: 17px; font-weight: 700; color: #F08DBA; direction: ltr; }
.sv-price small { font-size: 11.5px; color: var(--tx-4); }
.sv-price b::after {   /* struck out once EditFast steps in */
  content: ''; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 2px;
  background: var(--tx-2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  transition-delay: calc(var(--i) * 110ms);
}
.sv-board.done .sv-price b::after { transform: scaleX(1); }
.sv-board.done .sv-bill { border-color: var(--line); }
.sv-board.done .sv-price b { color: var(--tx-4); }

.sv-sum { display: grid; gap: 10px; align-content: start; }
.sv-total {
  display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r-card);
  border: 1px dashed rgba(217,107,162,.4); background: rgba(217,107,162,.05);
}
.sv-total span { font-size: 13.5px; color: var(--tx-3); }
.sv-total b { font-size: 34px; font-weight: 700; color: #F08DBA; letter-spacing: -.03em; line-height: 1.15; direction: ltr; text-align: start; }
html[dir="rtl"] .sv-total b { text-align: right; }
.sv-total small { font-size: 13px; color: var(--tx-3); }
.sv-ef {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-card);
  border: 1px solid rgba(47,217,190,.45);
  background: linear-gradient(150deg, rgba(47,217,190,.14), rgba(15,122,104,.08));
  box-shadow: 0 0 50px -20px rgba(47,217,190,.65);
  opacity: 0; transform: scale(.92); transition: opacity .5s var(--ease), transform .55s var(--spring);
}
.sv-board.done .sv-ef { opacity: 1; transform: none; }
.sv-ef-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #0B0A0C; box-shadow: inset 0 0 0 1px rgba(47,217,190,.3), var(--glow); flex: 0 0 auto; }
.sv-ef-what { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sv-ef-what b { font-size: 16px; color: #fff; }
.sv-ef-what small { font-size: 12.5px; color: var(--tx-2); line-height: 1.5; }
.sv-ef-price { display: grid; justify-items: end; text-align: end; }
.sv-ef-price b { font-size: 22px; font-weight: 800; color: var(--red-soft); white-space: nowrap; }
.sv-ef-price small { font-size: 11.5px; color: var(--tx-3); }
.sv-save {
  margin: 4px 0 0; padding: 12px 14px; border-radius: var(--r-ctl); text-align: center;
  background: rgba(74,222,110,.08); border: 1px solid rgba(74,222,110,.3); color: var(--tx); font-size: 15.5px;
}
.sv-save b { color: var(--ok); font-weight: 800; }

/* ────────────────────────────────────────────── EditFast AI ── */

/* the chat's glow and its chips reach past a phone's edge: clipped, so the page never drags sideways */
.ax { overflow: hidden; }
@supports (overflow: clip) { .ax { overflow: clip; } }
.ax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.ax h2 { max-width: 18ch; }
.ax .sec-intro { margin-bottom: 22px; }
.ax-can { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ax-can li {
  padding: 6px 13px; border-radius: var(--r-pill); font-size: 14px; color: var(--tx-2);
  border: 1px solid rgba(139,124,246,.35); background: rgba(139,124,246,.07);
}
.ax-watch { color: var(--red-soft); font-weight: 600; font-size: 15px; }
.ax-watch:hover { color: #fff; }
.ax .hc { margin: 0; max-width: 520px; }
#showcase { padding-top: 0; }

/* ─────────────────────────────────────────────── responsive ── */

@media (max-width: 1020px) {
  .hx-grid { grid-template-columns: 1fr; gap: 36px; }
  .hx-copy { text-align: center; }
  .hx .lede { margin-inline: auto; }
  .hx .hero-actions, .hx .trust { justify-content: center; }
  .ax-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .sv-board { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hx { padding-top: 30px; }
  .lv { font-size: 13px; padding: 6px 12px 6px 10px; }
  .lv-n { font-size: 16px; }
  .h1-in { font-size: .6em; }
  .hx .hero-actions .btn { width: 100%; }
  .pp-bar { height: 28px; font-size: 11px; }
  .pp-row { height: 14px; margin-top: 3px; }
  .pp-row > b { width: 18px; font-size: 8.5px; }
  .pp-ruler { margin-left: 24px; }
  .pp-over { left: 34px; }
  .pp-toast { font-size: 10.5px; padding: 4px 8px 4px 5px; top: 6px; right: 6px; }
  .pp-steps li { font-size: 11.5px; padding: 4px 9px; }
  .hr-play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .calc-pick button { width: 44px; height: 44px; font-size: 17px; }
  .tool.big .tool-art.demo { height: 166px; margin: 12px 12px 0; }
  .fd-title b { font-size: 18px; }
  .fd-capw span { font-size: 15px; }
  .sv-total b { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .lv-dot::after { display: none; }
}

/* ───────────────────────────────────────────── the free trial ── */
/* (trial.js, 2026-10-25) Shown by js/site.js only where the server says this visitor may start one — the Gulf and
   outside the Arab countries. Green, the colour that already means "live" and "it worked" here, so it never reads as a
   second «اشترك». */
.hx-trial {
  border-color: rgba(74,222,110,.42); color: #E4FBEA;
  background: linear-gradient(140deg, rgba(74,222,110,.14), rgba(47,217,190,.06));
}
.hx-trial:hover { border-color: rgba(74,222,110,.7); background: linear-gradient(140deg, rgba(74,222,110,.22), rgba(47,217,190,.1));
  box-shadow: 0 10px 30px -12px rgba(74,222,110,.55); }
.hx-trial .num, .trial-band .num { font-weight: 700; color: var(--ok); }
/* the label is one run of text with the number in it: flowed as text — the button's flex gap pushed the number apart */
.hx-trial { display: inline-block; text-align: center; }
/* beside the trial, «شوف هيوفّر عليك قد إيه» steps back to a link: three buttons do not fit the hero's row */
.hero-actions:has(.hx-trial:not([hidden])) .hx-see { background: transparent; border-color: transparent; box-shadow: none; }
.hero-actions:has(.hx-trial:not([hidden])) .hx-see:hover { background: var(--bg-200); }
.cta .hx-trial { margin-inline-start: 8px; }

.trial-band {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px;
  margin: 0 0 34px; padding: 20px 24px;
  border-radius: var(--r-card); border: 1px solid rgba(74,222,110,.32);
  background:
    radial-gradient(420px 160px at 90% 0%, rgba(74,222,110,.12), transparent 70%),
    linear-gradient(165deg, var(--bg-100), var(--bg-050));
  animation: lvIn .6s var(--ease) both;
}
.trial-band > div { min-width: 0; }
.trial-band b { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.trial-band > div > span { color: var(--tx-2); font-size: 14.5px; }
.trial-band .btn { flex: 0 0 auto; }

@media (max-width: 760px) {
  .trial-band { flex-direction: column; align-items: stretch; text-align: center; padding: 18px 16px; }
  .trial-band .btn { width: 100%; min-height: 50px; }
  .cta .hx-trial { margin: 10px 0 0; width: 100%; }
}

/* ─────────────────────────────────────────── new in 2.9.9 ── */
/* (2026-10-28) His words: «زود فالموقع المميزات الجديده اتكلم عنها كويس», then «الخلفيات الي انت حاططها مش حلوه … معرض
   اليوزرز مش باين هو بيعمل ايه … حط الجوايز … حطها تحت». One row each — the liquid glass, words on a line, the users'
   gallery — what the plugin made on one side, what it does on the other; stacked on a phone, the picture first. The
   videos play only while on screen (js/home2.js). */
.nw-rows { display: grid; gap: 22px; margin-top: 30px; }
.nw-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 34px; align-items: center;
  padding: 20px; border: 1px solid var(--line); border-radius: calc(var(--r-card) + 6px);
  background:
    radial-gradient(110% 90% at 100% 0%, rgba(var(--red-rgb), .07), transparent 58%),
    linear-gradient(180deg, var(--bg-000), var(--bg-100));
}
.nw-row:nth-child(even) .nw-media { order: 2; }
.nw-media {
  position: relative; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line);
  background: #0b0b0f; aspect-ratio: 9 / 8;
}
.nw-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.nw-real {
  position: absolute; inset-inline-start: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--tx); background: rgba(8,7,10,.62); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.nw-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--red-lift);
  background: rgba(var(--red-rgb), .1); border: 1px solid rgba(var(--red-rgb), .3);
}
.nw-tag i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.nw-tag.soon { color: #F7D894; background: rgba(239,194,108,.1); border-color: rgba(239,194,108,.32); }
.nw-copy h3 { margin: 14px 0 10px; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.3; letter-spacing: -.02em; }
.nw-copy p { margin: 0 0 16px; color: var(--tx-2); font-size: 16.5px; line-height: 1.85; }
.nw-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nw-points li { position: relative; padding-inline-start: 26px; color: var(--tx); font-size: 15.5px; line-height: 1.6; }
.nw-points li::before {
  content: ''; position: absolute; inset-inline-start: 2px; top: .5em; width: 12px; height: 7px;
  border: solid var(--red); border-width: 0 0 2.2px 2.2px; transform: rotate(-45deg);
}
.nw-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.nw-sub { margin: 12px 0 0 !important; font-size: 13.5px !important; color: var(--tx-3) !important; }

/* how the gallery works: four numbered steps */
.nw-how-h { margin: 4px 0 10px; font-size: 15px; font-weight: 700; color: var(--tx); }
.nw-how { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; counter-reset: nw; }
.nw-how li { position: relative; padding-inline-start: 36px; min-height: 26px; color: var(--tx-2); font-size: 15px; line-height: 1.65; counter-increment: nw; }
.nw-how li::before {
  content: counter(nw); position: absolute; inset-inline-start: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #1C1408;
  background: linear-gradient(140deg, #F7D894, #E6B356);
}

/* the gallery, drawn: the four kinds of thing in it, then the month's prizes as a podium under them */
.nw-ug {
  aspect-ratio: auto; display: flex; flex-direction: column; gap: 14px; padding: 16px;
  background: radial-gradient(110% 70% at 50% 100%, rgba(239,194,108,.12), transparent 62%), #0d0c12;
}
.nw-ug-k { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.nw-ug-t { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.nw-ug-t i { position: absolute; inset: 0; }
.nw-ug-t b {
  position: absolute; inset-inline: 6px; bottom: 6px; padding: 2px 6px; border-radius: 999px; text-align: center;
  font-size: 11px; font-weight: 700; color: #fff; background: rgba(8,7,10,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nw-ug-t.lut i { background: linear-gradient(90deg, #6b7280 0 50%, transparent 50%), linear-gradient(135deg, #0e7490, #f97316); }
.nw-ug-t.lut i::after { content: ''; position: absolute; inset: 0 auto 0 50%; width: 2px; background: #fff; opacity: .8; }
.nw-ug-t.mogrt i { background: linear-gradient(160deg, #1e1b4b, #111827); display: grid; place-items: center; }
.nw-ug-t.mogrt i span { font: 800 13px/1 sans-serif; letter-spacing: .14em; color: #fff; padding-bottom: 5px; border-bottom: 2px solid var(--red); }
.nw-ug-t.tr i { background: linear-gradient(115deg, #7c3aed 0 46%, #fff 46% 50%, #ec4899 50%); }
.nw-ug-t.gs i { background: #00b140; }
.nw-ug-t.gs i::before { content: ''; position: absolute; left: 50%; top: 24%; width: 26%; height: 26%; margin-left: -13%; border-radius: 50%; background: #111; }
.nw-ug-t.gs i::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 56%; height: 34%; margin-left: -28%; border-radius: 40% 40% 0 0; background: #111; }

.nw-prize { padding: 14px 12px 12px; border-radius: 14px; border: 1px solid rgba(239,194,108,.24); background: rgba(239,194,108,.05); text-align: center; }
.nw-prize-h { display: inline-flex; align-items: center; gap: 8px; color: #F7D894; font-size: 15px; }
.nw-cup { width: 16px; height: 16px; border-radius: 3px 3px 8px 8px; background: linear-gradient(140deg, #F7D894, #E6B356); }
.nw-pod { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 10px; margin: 12px auto 6px; max-width: 360px; direction: ltr; }
.nw-p { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nw-p-v { font-size: 22px; font-weight: 800; color: var(--tx); letter-spacing: -.02em; }
.nw-p-b { width: 100%; border-radius: 12px 12px 4px 4px; display: grid; place-items: start center; padding-top: 8px; }
.nw-p-b i { font-style: normal; font-weight: 800; font-size: 15px; color: rgba(28,20,8,.75); }
.nw-p.p1 .nw-p-b { height: 92px; background: linear-gradient(180deg, #F7D894, #E6B356); }
.nw-p.p2 .nw-p-b { height: 66px; background: linear-gradient(180deg, #E5E7EB, #9CA3AF); }
.nw-p.p3 .nw-p-b { height: 48px; background: linear-gradient(180deg, #F0B27A, #B87333); }
.nw-p.p1 .nw-p-v { font-size: 26px; color: #F7D894; }
.nw-prize-s { margin: 6px 0 0 !important; font-size: 13px !important; color: var(--tx-3) !important; line-height: 1.6 !important; }
.nw-prize-from { margin: 8px 0 0 !important; font-size: 13.5px !important; font-weight: 700; color: #F7D894 !important; }

@media (max-width: 900px) {
  .nw-row { grid-template-columns: 1fr; gap: 18px; padding: 12px 12px 18px; }
  .nw-row:nth-child(even) .nw-media { order: 0; }
  .nw-copy { padding: 0 6px; }
  .nw-copy p { font-size: 15.5px; }
  .nw-media { aspect-ratio: 9 / 8; }
  .nw-ug { aspect-ratio: auto; padding: 12px; }
  .nw-ug-k { gap: 7px; }
  .nw-ug-t b { font-size: 10px; inset-inline: 4px; bottom: 4px; }
  .nw-acts .btn { flex: 1 1 140px; justify-content: center; }
}

/* ──────────────────────────────────── the carousel's looks, folded ── */
/* (2026-10-28) «قلل الكاروسيل ال 3d شيل دول ممكن تحط زرار … يجيبلك الاشكال التانيه»: the eight pictures wait behind
   one button; the 3D carousel above them stays as it was. */
.c3-fold-row { margin-top: 30px; text-align: center; }
.c3-fold { gap: 8px; }
.c3-fold svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.c3-fold[aria-expanded="true"] svg { transform: rotate(180deg); }
.c3-fold-body[hidden] { display: none; }
.c3-fold-body .c3-looks-h { margin-top: 26px; }

/* ─────────────────────────────────────────── new in 2.9.12 ── */
/* (2026-11-01) His words: «ضيف ميزه القوالب دي فالاول و ركز على ان التعديل عليها سهل و ضيف موضوع الساوند افيكت انه اكتر
   من 2100 ساوند افيكت». The two new tools before the six: each a card with a video of the real panel using it (standing,
   the way Premiere docks it) and what it does beside it. Side by side on a wide screen, one under the other below 1100 px,
   the video over the words on a phone. */
.tn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.tool.tn {
  display: grid; grid-template-columns: minmax(0, 1fr) 252px; gap: 20px; align-items: center;
  padding: 16px; border-color: rgba(var(--red-rgb), .3);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(var(--red-rgb), .1), transparent 60%),
    linear-gradient(180deg, var(--bg-000), var(--bg-100));
}
.tool.tn-sfx {
  border-color: rgba(224,122,176,.32);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(224,122,176,.1), transparent 60%),
    linear-gradient(180deg, var(--bg-000), var(--bg-100));
}
.tool.tn:hover { transform: none; }
.tn-media {
  position: relative; order: 2; aspect-ratio: 688 / 1216; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); background: #0a0b0d;
  box-shadow: 0 28px 60px -30px rgba(0,0,0,.9), 0 0 0 6px rgba(255,255,255,.02);
}
.tn-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tn-media .nw-real { inset-inline-start: 10px; bottom: 10px; font-size: 11.5px; }
.tool-body.tn-copy { padding: 6px 6px 6px 0; }
[dir="ltr"] .tool-body.tn-copy { padding: 6px 0 6px 6px; }
.tn .tool-h h3 { font-size: 16px; font-weight: 700; color: var(--red-soft); }
.tn-sfx .tool-h h3 { color: #F5A3D0; }
.tool p.tn-big {
  margin: 4px 0 12px; color: var(--tx); font-size: clamp(23px, 2.1vw, 29px); line-height: 1.32;
  font-weight: 800; letter-spacing: -.025em; text-wrap: balance;
}
.tool p.tn-big b.num {
  font-weight: 700; letter-spacing: -.04em; color: transparent;
  background: linear-gradient(180deg, #8DF6E6, #2FD9BE); -webkit-background-clip: text; background-clip: text;
}
.tn-sfx p.tn-big b.num { background-image: linear-gradient(180deg, #FBC6E3, #E07AB0); }
.tool p.tn-big em {
  font-style: normal; color: transparent;
  background: linear-gradient(100deg, #8DF6E6, #2FD9BE 60%, #5BE8D3); -webkit-background-clip: text; background-clip: text;
}
.tn .tn-copy > p:not(.tn-big):not(.tn-note) { font-size: 15px; line-height: 1.85; }
.tn .nw-points { margin-top: 14px; gap: 8px; }
.tn .nw-points li { font-size: 14.5px; }
.tn-sfx .nw-points li::before { border-color: #E07AB0; }
.tool p.tn-note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--tx-3); }

/* «بكسل» (2026-11-07): the newest, across the row — the plugin's own loop beside its words, in the reels' purple */
.tool.tn.tn-px {
  grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  border-color: rgba(154,107,255,.38);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(154,107,255,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-000), var(--bg-100));
}
.tn-px .tn-media { aspect-ratio: 720 / 640; }
.tn-px .tool-h h3 { color: #C2A8FF; }
.tool.tn-px p.tn-big em { background-image: linear-gradient(100deg, #C2A8FF, #9a6bff 55%, #36dcff); }
.tn-px .nw-points li::before { border-color: #9a6bff; }

@media (max-width: 1100px) {
  .tn-row { grid-template-columns: minmax(0, 1fr); }
  .tool.tn.tn-px { grid-template-columns: minmax(0, 1fr) 360px; }
  .tool.tn { grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; padding: 18px; }
}
@media (max-width: 640px) {
  .tool.tn { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 12px 12px 18px; }
  .tn-media { order: 0; width: min(100%, 320px); justify-self: center; }
  .tool.tn.tn-px { grid-template-columns: minmax(0, 1fr); }
  .tn-px .tn-media { width: 100%; }
  .tool-body.tn-copy, [dir="ltr"] .tool-body.tn-copy { padding: 0 6px; }
}
