/* SILACOD — WhatsApp agent page (whatsapp-agent.html). Builds on v2.css (nav, buttons, sections, phone/WhatsApp mockup, film stages). */

/* ---------- hero ---------- */
.ag-hero { position: relative; padding: clamp(120px, 12vw, 170px) 0 var(--sec-y); background: radial-gradient(60% 60% at 80% 20%, rgba(240,99,67,.18), transparent 60%), radial-gradient(60% 60% at 10% 90%, rgba(37,211,102,.12), transparent 60%), var(--navy99); color: #fff; overflow: hidden; }
.ag-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--gap-l); align-items: center; }
.ag-hero h1 { font-size: clamp(40px, 5.2vw, 78px); font-weight: 900; line-height: 1.08; margin: 18px 0 0; }
.ag-hero h1 em { font-style: normal; color: var(--coral); }
.ag-hero .lead { color: #d0d2ea; max-width: 48ch; margin-top: 20px; }
.ag-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ag-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; padding-inline: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-weight: 800; font-size: 14px; }
.ag-badge .wa-dot { width: 30px; height: 30px; border-radius: 50%; background: #25d366; display: grid; place-items: center; } .ag-badge .wa-dot svg { width: 18px; height: 18px; color: #fff; }
.ag-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 44px; max-width: 640px; }
.ag-stats div { border-radius: 18px; padding: 14px 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.ag-stats b { display: block; font: 800 clamp(22px, 2.2vw, 30px)/1.1 var(--f-lat, "Inter"); }
.ag-stats span { font-size: 13px; color: #b9bbdd; font-weight: 600; }
.ag-note { margin-top: 12px; font-size: 12px; color: #8f92bd; font-weight: 600; }
.ag-stage { display: flex; justify-content: center; padding-block: clamp(30px, 4vw, 60px); }
.ag-stage .phone { width: min(340px, 100%); }
.ag-stage .phone .wa-body { min-height: 440px; }
@media (max-width: 960px) { .ag-hero .wrap { grid-template-columns: 1fr; } .ag-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- how it works ---------- */
.ag-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: var(--head-gap); counter-reset: s; }
.ag-step { position: relative; border-radius: 28px; padding: 30px 28px 28px; background: var(--card, #fff); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(17,19,68,.35); }
html:not([data-theme="light"]) .sec.dark .ag-step { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.ag-step .n { font: 800 14px var(--f-lat, "Inter"); color: var(--coral); }
.ag-step .ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; margin: 16px 0 18px; background: linear-gradient(135deg, var(--coral), #ff9a6b); color: #fff; box-shadow: 0 14px 30px -12px rgba(240,99,67,.7); }
.ag-step:nth-child(2) .ic { background: linear-gradient(135deg, #6c5cff, #4a7dff); box-shadow: 0 14px 30px -12px rgba(90,100,255,.7); }
.ag-step:nth-child(3) .ic { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 14px 30px -12px rgba(37,211,102,.6); }
.ag-step .ic svg { width: 26px; height: 26px; }
.ag-step h3 { font-size: 22px; margin: 0; }
.ag-step p { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
html:not([data-theme="light"]) .sec.dark .ag-step p { color: var(--navy200); }
@media (max-width: 900px) { .ag-steps { grid-template-columns: 1fr; } }

/* ---------- what it does: SILACOD "living bento" v2 (brand/sila-tiles.js) ----------
   Variants: navy (white in light mode) · coral (solid brand) · cream (kinetic type) · photo (full-bleed product) · wa (WhatsApp tile only).
   Scene on top (.ga), title + text below (.gt-tx). Giant numbers in Inter 800, everything else Cairo/Inter as the site. */
.ag-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: var(--head-gap); }
.gt { --g: 240,99,67; position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; padding: 26px 28px; min-height: 330px; color: #fff;
  display: flex; flex-direction: column; gap: 20px; border: 1px solid rgba(255,255,255,.09);
  background: radial-gradient(90% 70% at 50% 0%, rgba(var(--g), .28), rgba(var(--g), 0) 70%), linear-gradient(180deg, #161a52, #0c0e33);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 30px 60px -36px rgba(12,14,51,.6); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gt:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 40px 70px -36px rgba(var(--g), .5); }
.gt.t-v, .gt.t-s, .gt.t-l { --g: 74,125,255; }
.gt .tic { display: none; }
.gt h3 { font-size: clamp(19px, 1.6vw, 24px); margin: 0; line-height: 1.25; }
.gt p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.74); max-width: 46ch; }
.gt .ga { flex: 1; display: grid; place-items: center; min-height: 150px; position: relative; }
.gt-tx { position: relative; z-index: 1; }
.gt:nth-child(1) { grid-column: span 4; } .gt:nth-child(2) { grid-column: span 2; } .gt:nth-child(3) { grid-column: span 2; } .gt:nth-child(4) { grid-column: span 4; } .gt:nth-child(5) { grid-column: span 3; } .gt:nth-child(6) { grid-column: span 3; }
@media (max-width: 1000px) { .ag-tiles { grid-template-columns: 1fr 1fr; } .gt:nth-child(n) { grid-column: span 1; } }
@media (max-width: 620px) { .ag-tiles { grid-template-columns: 1fr; } .gt { min-height: 0; border-radius: 26px; padding: 22px; } }
/* variants */
.gt.v-coral { background: radial-gradient(80% 70% at 70% 10%, #ff9a7e, transparent 60%), linear-gradient(160deg, #f6734f, #e04c2c); border-color: rgba(255,255,255,.2); --g: 240,99,67; }
.gt.v-coral p { color: rgba(255,255,255,.88); }
.gt.v-wa { background: radial-gradient(80% 70% at 30% 0%, #5ef08f, transparent 60%), linear-gradient(160deg, #1fbf5b, #0f8a44); border-color: rgba(255,255,255,.2); --g: 37,211,102; }
.gt.v-wa p { color: rgba(255,255,255,.9); }
.gt.v-cream { background: radial-gradient(70% 60% at 80% 0%, rgba(240,99,67,.16), transparent 65%), #f7efe5; color: var(--navy9, #111344); border-color: rgba(17,19,68,.06); }
.gt.v-cream p { color: #5b6478; }
.gt.v-photo { background: #f3c7b2; border-color: rgba(255,255,255,.2); }
.gt.v-photo .gt-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.gt.v-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(17,19,68,.78)); }
.gt.v-photo:hover .gt-bg { transform: scale(1.06); }
html[data-theme="light"] .gt.v-navy { background: radial-gradient(90% 70% at 50% 0%, rgba(var(--g), .16), rgba(var(--g), 0) 70%), #fff; color: var(--ink); border-color: rgba(17,19,68,.07); box-shadow: 0 30px 60px -40px rgba(17,19,68,.35); }
html[data-theme="light"] .gt.v-navy p { color: var(--muted); }

/* scene parts */
.ga img { display: block; }
.ga-big { display: grid; justify-items: start; } .ga-big b { font: 800 clamp(64px, 7vw, 104px)/.9 var(--f-lat, Inter); letter-spacing: -.05em; background: linear-gradient(180deg, #fff, #ffc2b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ga-big b small { font-size: .45em; letter-spacing: 0; } .ga-big span { font-size: 13px; font-weight: 700; opacity: .7; margin-top: 6px; }
.ga-big.sm b { font-size: clamp(44px, 4.4vw, 64px); } .ga-big.xs b { font-size: 40px; }
html[data-theme="light"] .v-navy .ga-big b { background: linear-gradient(180deg, var(--navy, #232863), #f06343); -webkit-background-clip: text; background-clip: text; }
.ga-q { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 100%; flex-wrap: wrap; }
.ga-chat2 { display: grid; gap: 8px; flex: 1; max-width: 360px; }
.ga-chat2 p { margin: 0; padding: 10px 14px; border-radius: 18px; font-size: 14px; font-weight: 700; color: #0f172a; max-width: 86%; opacity: 0; animation: gaMsg 7s var(--ease) infinite; }
.ga-chat2 .cu { justify-self: end; background: #fff; border-end-end-radius: 5px; }
.ga-chat2 .ag { justify-self: start; display: flex; align-items: center; gap: 10px; background: #d9fdd3; border-end-start-radius: 5px; animation-delay: 1.6s; }
.ga-chat2 .ag img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.ga-typ { justify-self: start; display: flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.12); animation: gaTyp 7s infinite; }
.ga-typ i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; animation: gaDot 1s infinite; } .ga-typ i:nth-child(2) { animation-delay: .15s; } .ga-typ i:nth-child(3) { animation-delay: .3s; }
html[data-theme="light"] .v-navy .ga-chat2 .cu { background: #eef0f8; } html[data-theme="light"] .v-navy .ga-typ { background: #eef0f8; }
@keyframes gaMsg { 0%, 4% { opacity: 0; transform: translateY(10px) scale(.96); } 10%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes gaTyp { 0%, 10% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes gaDot { 50% { transform: translateY(-3px); opacity: 1; } }
.ga-voice2 { display: grid; justify-items: center; gap: 18px; width: 100%; }
.ga-rings { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.ga-rings i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: gaRing 2.4s ease-out infinite; }
.ga-rings i:nth-child(2) { animation-delay: .8s; } .ga-rings i:nth-child(3) { animation-delay: 1.6s; }
.ga-rings b { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #e04c2c; box-shadow: 0 16px 34px -12px rgba(120,20,0,.6); }
.ga-rings b svg { width: 26px; height: 26px; }
@keyframes gaRing { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.ga-vline { display: flex; align-items: center; gap: 10px; width: min(100%, 260px); direction: ltr; } .ga-vline small { font: 700 12px var(--f-lat, Inter); }
.ga-bars { flex: 1; display: flex; align-items: center; gap: 2px; height: 30px; }
.ga-bars i { flex: 1; height: 100%; border-radius: 2px; background: rgba(255,255,255,.9); transform: scaleY(calc(.2 + .8 * var(--h, .5))); animation: gaWave 1.3s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); }
.ga-bars i:nth-child(3n) { --h: .9; } .ga-bars i:nth-child(3n+1) { --h: .45; } .ga-bars i:nth-child(4n) { --h: .7; } .ga-bars i:nth-child(5n) { --h: .3; }
@keyframes gaWave { 50% { transform: scaleY(calc(.15 + .35 * var(--h, .5))); } }
.ga-ppl { display: flex; gap: 8px; } .ga-ppl span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 14px var(--f-lat, Inter); background: rgba(255,255,255,.2); animation: gaPpl 6s infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes gaPpl { 0%, 22% { background: #fff; color: #e04c2c; transform: scale(1.12); } 28%, 100% { background: rgba(255,255,255,.2); color: #fff; transform: none; } }
.ga-conf { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; flex-wrap: wrap; }
.ga-stack3 { position: relative; width: 210px; height: 120px; }
.ga-rc { position: absolute; inset-inline-start: calc(var(--i) * 12px); top: calc(var(--i) * 14px); width: 190px; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: #fff; color: #0f172a;
  box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); z-index: calc(3 - var(--i)); transform: rotate(calc(var(--i) * -4deg)); opacity: calc(1 - var(--i) * .22); animation: gaShuf 4.5s var(--ease) infinite; }
html[dir="rtl"] .ga-rc { transform: rotate(calc(var(--i) * 4deg)); }
.ga-rc:nth-child(1) { animation-name: gaShufTop; }
@keyframes gaShufTop { 0%, 70% { translate: 0 0; opacity: 1; } 82% { translate: 0 -26px; opacity: 0; } 90% { translate: 0 6px; opacity: 0; } 100% { translate: 0 0; opacity: 1; } }
@keyframes gaShuf { 0%, 100% { translate: 0 0; } }
.ga-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; font: 800 13px var(--f-lat, Inter); flex: none; }
.ga-rc:nth-child(2) .ga-av { background: var(--navy, #232863); } .ga-rc:nth-child(3) .ga-av { background: #0f766e; }
.ga-rt { display: grid; flex: 1; } .ga-rt b { font: 800 13px var(--f-lat, Inter); } .ga-rt small { font: 700 11px var(--f-lat, Inter); color: #5b6478; }
.ga-rc em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11px; font-weight: 800; color: #15803d; background: #e8f7ee; padding: 4px 8px; border-radius: 99px; }
.ga-rc em svg { width: 11px; height: 11px; }
.ga-pick { position: absolute; inset: 0; }
.ga-badge { position: absolute; top: 4px; inset-inline-end: 4px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.88); color: var(--navy9, #111344); font-size: 13px; font-weight: 800;
  box-shadow: 0 14px 30px -14px rgba(17,19,68,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: gaBob 4s ease-in-out infinite; }
.ga-badge svg { width: 14px; height: 14px; color: var(--coral); } .ga-badge b { font-family: var(--f-lat, Inter); color: var(--coral); }
@keyframes gaBob { 50% { translate: 0 -6px; } }
.ga-sizes2 { position: absolute; bottom: 0; inset-inline-start: 0; display: flex; gap: 6px; direction: ltr; }
.ga-sizes2 span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--f-lat, Inter); background: rgba(255,255,255,.28); color: #fff; border: 1px solid rgba(255,255,255,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ga-sizes2 span.on { background: #fff; color: var(--navy9, #111344); }
.ga-kin { position: relative; width: 100%; height: 1.2em; font-size: clamp(56px, 6vw, 92px); display: grid; place-items: center; }
.ga-kin b { position: absolute; font-weight: 900; line-height: 1; letter-spacing: -.02em; color: var(--navy, #232863); opacity: 0; animation: gaKin 7.5s var(--ease) infinite; animation-delay: calc(var(--i) * 2.5s); }
.ga-kin b:nth-child(2) { color: var(--coral); font-family: var(--f-lat, Inter); } .ga-kin b:nth-child(3) { font-family: var(--f-lat, Inter); }
.ga-kin b[lang="ar"] { font-family: var(--f-ar); }
@keyframes gaKin { 0% { opacity: 0; transform: translateY(40%) scale(.9); filter: blur(8px); } 6%, 28% { opacity: 1; transform: none; filter: none; } 34%, 100% { opacity: 0; transform: translateY(-40%) scale(1.05); filter: blur(8px); } }
.ga-hand2 { display: grid; gap: 14px; width: 100%; justify-items: center; position: relative; }
.ga-pass { display: flex; align-items: center; gap: 8px; direction: ltr; }
.ga-me { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--f-lat, Inter); }
.ga-me.ai { background: radial-gradient(circle at 30% 30%, #ff9a7e, #f06343 50%, #4a7dff); box-shadow: 0 14px 30px -10px rgba(240,99,67,.8); } .ga-me.ai svg { width: 24px; height: 24px; color: #fff; }
.ga-me.you { background: #fff; color: var(--navy9, #111344); box-shadow: 0 0 0 4px rgba(255,255,255,.15); font-family: var(--f); }
.ga-path { position: relative; width: 110px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 6px, transparent 6px 12px); }
.ga-path i { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; animation: gaPass 2.4s var(--ease) infinite; }
@keyframes gaPass { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
html[data-theme="light"] .v-navy .ga-path { background: repeating-linear-gradient(90deg, rgba(17,19,68,.25) 0 6px, transparent 6px 12px); } html[data-theme="light"] .v-navy .ga-path i { background: var(--coral); box-shadow: 0 0 12px var(--coral); }
html[data-theme="light"] .v-navy .ga-me.you { background: var(--navy, #232863); color: #fff; }
.ga-note { margin: 0; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; font-size: 13px !important; font-weight: 700; color: inherit !important; background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.25); max-width: 100% !important; }
.ga-note svg { width: 14px; height: 14px; flex: none; color: var(--coral); }
html[data-theme="light"] .v-navy .ga-note { background: #f5f6fb; border-color: rgba(17,19,68,.15); }
.ga-hand2 .ga-big { position: absolute; top: -6px; inset-inline-end: 0; justify-items: end; }
.ga-brand2 { display: flex; align-items: center; gap: 30px; }
.ga-aa2 { font-size: clamp(80px, 9vw, 130px); font-weight: 900; line-height: 1; letter-spacing: -.04em; animation: gaFont 8s steps(1) infinite; }
@keyframes gaFont { 0% { font-family: Inter, sans-serif; font-style: normal; } 25% { font-family: Georgia, "Times New Roman", serif; font-style: italic; } 50% { font-family: "Cairo", sans-serif; font-style: normal; } 75% { font-family: ui-monospace, Menlo, monospace; font-style: normal; letter-spacing: -.08em; } }
.ga-pal { display: grid; grid-template-columns: repeat(5, 40px); gap: 8px; }
.ga-pal i { height: 92px; border-radius: 14px; animation: gaPal 8s steps(1) infinite; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); }
.ga-pal i:nth-child(1) { --a: #f06343; --b: #111344; --c: #c9a227; --d: #0f766e; } .ga-pal i:nth-child(2) { --a: #232863; --b: #f3e6d6; --c: #1c1c1c; --d: #e8f3ef; }
.ga-pal i:nth-child(3) { --a: #f3e6d6; --b: #ffb35c; --c: #f5efe6; --d: #f6c453; } .ga-pal i:nth-child(4) { --a: #ffb35c; --b: #d9472a; --c: #8a6b4a; --d: #134e4a; } .ga-pal i:nth-child(5) { --a: #ffffff; --b: #ffffff; --c: #ffffff; --d: #ffffff; }
@keyframes gaPal { 0% { background: var(--a); } 25% { background: var(--b); } 50% { background: var(--c); } 75% { background: var(--d); } }
.ga-fan { position: relative; width: 320px; height: 170px; }
.ga-fan img { position: absolute; left: 50%; bottom: 0; width: 120px; height: 150px; object-fit: cover; border-radius: 16px; border: 4px solid #fff; box-shadow: 0 20px 36px -16px rgba(0,0,0,.6);
  transform-origin: 50% 120%; transform: translateX(-50%) rotate(calc((var(--i) - 1.5) * 9deg)); transition: transform .7s var(--ease); }
.gt:hover .ga-fan img { transform: translateX(calc(-50% + (var(--i) - 1.5) * 58px)) rotate(calc((var(--i) - 1.5) * 14deg)); }
.ga-fan .ga-badge { top: -4px; inset-inline-end: -10px; }
.ga-dev { position: relative; width: 300px; height: 170px; }
.ga-dev .lap { position: absolute; inset: 0 40px 10px 0; border-radius: 12px; padding: 8px 8px 0; background: #1b1f55; border: 2px solid rgba(255,255,255,.25); overflow: hidden; }
.ga-dev .lap img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px 6px 0 0; }
.ga-dev .mob { position: absolute; right: 0; bottom: 0; width: 76px; height: 146px; border-radius: 16px; padding: 5px; background: #0b0d30; border: 2px solid rgba(255,255,255,.3); box-shadow: -10px 18px 30px -12px rgba(0,0,0,.6); animation: gaBob 5s ease-in-out infinite; }
.ga-dev .mob img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
html[data-theme="light"] .v-navy .ga-dev .lap { background: #e9ebf5; border-color: rgba(17,19,68,.12); }
.ga-wa { display: grid; justify-items: center; gap: 16px; }
.ga-waic { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: #fff; color: #1fbf5b; box-shadow: 0 20px 40px -16px rgba(0,60,20,.6); animation: gaBob 4s ease-in-out infinite; }
.ga-waic svg { width: 40px; height: 40px; }
.ga-wab { margin: 0 !important; position: relative; padding: 12px 16px 22px !important; border-radius: 18px 18px 18px 5px; background: #d9fdd3; color: #0b3d1f !important; font-size: 14px !important; font-weight: 800; max-width: 300px !important; box-shadow: 0 16px 30px -16px rgba(0,60,20,.6); }
.ga-wab small { position: absolute; bottom: 5px; inset-inline-end: 10px; font: 700 10px var(--f-lat, Inter); color: #5b7a63; } .ga-wab small i { font-style: normal; color: #34b7f1; }
@media (max-width: 620px) { .ga-q, .ga-conf { justify-content: center; } .ga-big b { font-size: 64px; } .ga-pal { grid-template-columns: repeat(5, 30px); } .ga-pal i { height: 70px; } .ga-brand2 { gap: 18px; } .ga-fan { transform: scale(.85); } }
@media (prefers-reduced-motion: reduce) { .ga *, .ga *::after { animation: none !important; } .ga-chat2 p, .ga-kin b:first-child { opacity: 1; } .ga-typ { display: none; } }

/* ---------- live demo ---------- */
.ag-demo-grid { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.ag-demo .tabs { margin-top: var(--head-gap); }
.ag-log { border-radius: 30px; padding: clamp(20px, 2.6vw, 34px); background: rgba(10,12,40,.55); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); color: #fff; }
.ag-log h3 { margin: 0 0 6px; font-size: 22px; } .ag-log > p { margin: 0 0 18px; color: #b9bbdd; font-size: 15px; }
.ag-log ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ag-log li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); opacity: .38; transition: opacity .5s, background .5s, border-color .5s, transform .5s var(--ease); }
.ag-log li.on { opacity: 1; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); transform: translateX(calc(var(--d, 1) * 4px)); }
.ag-log li.done { opacity: .8; }
.ag-log li > i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font: 800 13px var(--f-lat, "Inter"); font-style: normal; }
.ag-log li.done > i { background: #25d366; } .ag-log li.done > i::before { content: "✓"; } .ag-log li.done > i span { display: none; }
.ag-log li b { display: block; font-size: 15px; } .ag-log li small { display: block; color: #b9bbdd; font-size: 13px; margin-top: 2px; line-height: 1.5; }
@media (max-width: 900px) { .ag-demo-grid { grid-template-columns: 1fr; justify-items: center; } .ag-log { width: 100%; } }

/* ---------- control ---------- */
.ag-ctrl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: var(--head-gap); }
.ag-ctrl ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ag-ctrl li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 22px; background: var(--card, #fff); border: 1px solid var(--line); }
html:not([data-theme="light"]) .ag-ctrl li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.ag-ctrl li > span { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(240,99,67,.12); color: var(--coral); }
.ag-ctrl li > span svg { width: 22px; height: 22px; }
.ag-ctrl li b { display: block; font-size: 17px; } .ag-ctrl li small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.55; }
html:not([data-theme="light"]) .ag-ctrl li small { color: var(--navy200); }
.ag-rules { border-radius: 30px; padding: 26px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.ag-rules h4 { margin: 0 0 14px; font-size: 18px; display: flex; align-items: center; gap: 10px; } .ag-rules h4 .sila-ai { width: 32px; height: 32px; }
.ag-rule { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid #eceef6; margin-top: 10px; font-size: 14px; font-weight: 700; }
.ag-rule .sw { margin-inline-start: auto; flex: none; width: 42px; height: 24px; border-radius: 99px; background: #25d366; position: relative; } .ag-rule .sw::after { content: ""; position: absolute; top: 3px; inset-inline-end: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.ag-rule .sw.off { background: #d6d8e6; } .ag-rule .sw.off::after { inset-inline-end: auto; inset-inline-start: 3px; }
.ag-rule .tone { margin-inline-start: auto; display: flex; gap: 6px; } .ag-rule .tone span { padding: 4px 10px; border-radius: 99px; background: #f1f2f8; font-size: 12px; } .ag-rule .tone span.on { background: var(--navy9); color: #fff; }
@media (max-width: 900px) { .ag-ctrl { grid-template-columns: 1fr; } }

/* ---------- final CTA ---------- */
.ag-final { padding: var(--sec-y) 0; }
.ag-final .cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.ag-final .cta .ctas { justify-content: center; }


/* ---------- hero motion (brand/sila-hero.js): 3D tilt, light sheen, floating result cards ---------- */
.hx { position: relative; perspective: 1400px; --rx: 0deg; --ry: 0deg; --px: 0px; --py: 0px; }
.hx > .fstage { transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; will-change: transform;
  box-shadow: calc(var(--px) * -1.4) calc(40px - var(--py)) 90px -40px rgba(6,7,29,.85), 0 0 0 1px rgba(255,255,255,.06); }
.hx-sheen { position: absolute !important; inset: 0; z-index: 4 !important; pointer-events: none; border-radius: inherit; overflow: hidden; }
.hx-sheen::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 34%; left: -40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.10) 45%, rgba(255,214,200,.16) 50%, rgba(255,255,255,.08) 55%, transparent);
  transform: skewX(-14deg); animation: hxSheen 7s cubic-bezier(.65,0,.35,1) infinite 1.5s; }
@keyframes hxSheen { 0% { left: -40%; } 38%, 100% { left: 120%; } }
.hx-layer { position: absolute; inset: 0; pointer-events: none; z-index: 5; transform: translate(calc(var(--px) * -1.2), calc(var(--py) * -1.2)); }
.hx-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; max-width: 250px;
  background: rgba(16,19,62,.72); border: 1px solid rgba(255,255,255,.16); color: #fff; -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.14);
  opacity: 0; transform: translateY(16px) scale(.88); transition: opacity .5s var(--ease), transform .7s cubic-bezier(.34,1.56,.64,1); }
.hx-card.in { opacity: 1; transform: none; animation: hxFloat 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
.hx-card.out { opacity: 0; transform: translateY(-10px) scale(.96); transition-duration: .5s; animation: none; }
@keyframes hxFloat { 50% { translate: 0 -6px; } }
.hx-card .hx-tx { display: grid; gap: 1px; } .hx-card b { font-size: 13.5px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.hx-card small { font: 700 11px var(--f-lat, Inter); color: rgba(255,255,255,.62); }
.hx-ic { width: 34px; height: 34px; border-radius: 12px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--coral), #ff9a6b); box-shadow: 0 8px 18px -8px rgba(240,99,67,.9); }
.hx-ic.blue { background: linear-gradient(135deg, #4a7dff, #7aa0ff); box-shadow: 0 8px 18px -8px rgba(74,125,255,.9); }
.hx-ic.ok { background: #16a34a; box-shadow: 0 8px 18px -8px rgba(22,163,74,.9); }
.hx-ic svg { width: 17px; height: 17px; color: #fff; }
.hx-sw { display: flex; padding-inline-start: 8px; } .hx-sw i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2px solid #12164a; margin-inline-start: -8px; }
.hx-wave { display: flex; align-items: center; gap: 2px; height: 26px; width: 40px; } .hx-wave i { flex: 1; height: 100%; border-radius: 2px; background: #7aa0ff; animation: gaWave 1.1s ease-in-out infinite; }
.hx-wave i:nth-child(odd) { --h: .9; animation-delay: -.3s; } .hx-wave i:nth-child(3n) { --h: .4; animation-delay: -.6s; }
/* slots around the stage (logical sides, so Arabic mirrors) */
.hx-card.c0 { top: 7%; inset-inline-start: -34px; }
.hx-card.c1 { top: 34%; inset-inline-end: -40px; }
.hx-card.c2 { bottom: 16%; inset-inline-start: -46px; }
.hx-card.c3 { bottom: -18px; inset-inline-end: 9%; }
.hx-st .hx-card.c0 { top: -22px; } .hx-ag .hx-card.c0 { top: 18%; } .hx-ag .hx-card.c2 { bottom: 28%; }
@media (max-width: 1200px) { .hx-card.c0, .hx-card.c2 { inset-inline-start: -12px; } .hx-card.c1 { inset-inline-end: -12px; } }
@media (max-width: 960px) { .hx { margin-top: 10px; } .hx-card { padding: 8px 12px 8px 8px; } .hx-card b { font-size: 12.5px; } .hx-ic { width: 30px; height: 30px; }
  .hx-card.c0 { top: -14px; inset-inline-start: 8px; } .hx-card.c1 { top: auto; bottom: -16px; inset-inline-end: 8px; } .hx-card.c2, .hx-card.c3 { display: none; } }
@media (prefers-reduced-motion: reduce) { .hx-sheen { display: none; } .hx-card.in { animation: none; } }
/* bento v2 polish: receipt text on one line, back cards are plain paper, photo tile keeps room for the photo on phones */
.ga-rc { width: 224px; } .ga-stack3 { width: 250px; } .ga-rt small, .ga-rt b, .ga-rc em { white-space: nowrap; }
.ga-rc:not(:first-child) > * { visibility: hidden; }
.gt.v-photo { min-height: 380px; }
@media (max-width: 620px) { .gt.v-photo { min-height: 420px; } .ga-stack3 { width: 236px; } }

/* FULL LIGHT MODE (2026-10-29): Studio + Agent heroes and the floating hero cards turn light in light mode */
html[data-theme="light"] .ag-hero { background: radial-gradient(60% 60% at 80% 20%, rgba(240,99,67,.12), transparent 60%), radial-gradient(60% 60% at 10% 90%, rgba(37,211,102,.08), transparent 60%), #f5f6fb; color: var(--ink); }
html[data-theme="light"] .ag-hero .lead { color: var(--muted); }
html[data-theme="light"] .ag-badge { background: #fff; border-color: rgba(17,19,68,.1); color: var(--ink); }
html[data-theme="light"] .ag-stats div { background: #fff; border-color: rgba(17,19,68,.08); box-shadow: 0 16px 30px -24px rgba(17,19,68,.4); }
html[data-theme="light"] .ag-stats span { color: var(--muted); } html[data-theme="light"] .ag-note { color: #7a7f9c; }
html[data-theme="light"] .hx-card { background: rgba(255,255,255,.86); border-color: rgba(17,19,68,.08); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(17,19,68,.45); }
html[data-theme="light"] .hx-card small { color: var(--muted); }
html[data-theme="light"] .hx-sw i { border-color: #fff; }
html[data-theme="light"] .hx > .fstage { box-shadow: calc(var(--px) * -1.4) calc(40px - var(--py)) 90px -50px rgba(17,19,68,.45), 0 0 0 1px rgba(17,19,68,.06); }
/* stronger solid tiles so white text reads (WhatsApp green was 2.3:1) */
.gt.v-wa { background: radial-gradient(80% 60% at 30% 0%, #3ddc7a, transparent 60%), linear-gradient(160deg, #16a34a, #0b7a3b); }
.gt.v-coral { background: radial-gradient(70% 55% at 70% 0%, #ff9a7e, transparent 60%), linear-gradient(160deg, #f06343, #d6431f); }
html[data-theme="light"] .ag-log { background: rgba(255,255,255,.88); border-color: rgba(17,19,68,.08); color: var(--ink); box-shadow: 0 30px 60px -40px rgba(17,19,68,.4); }
html[data-theme="light"] .ag-log > p { color: var(--muted); }
html[data-theme="light"] .ag-log li small { color: var(--muted); }
html[data-theme="light"] .ag-log li.on { background: rgba(17,19,68,.05); border-color: rgba(17,19,68,.1); }

/* ---------- live demo: agent trace (2026-10-29, references: AI-agent workflow node graphs on Pinterest) ----------
   phone → travelling beam → trace panel: header (orb, live, timer), steps as nodes on a line that fills with coral,
   a small result visual under each step, and 3 big stats at the bottom. */
.ag-demo-grid { grid-template-columns: minmax(300px, 360px) 70px minmax(0, 1fr); gap: 0; }
.ag-beam { position: relative; align-self: center; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 6px, transparent 6px 12px); }
.ag-beam i { position: absolute; top: -5px; inset-inline-start: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(240,99,67,.2), 0 0 16px var(--coral); opacity: 0; }
.ag-beam.go i { animation: trBeam .9s var(--ease) both; }
@keyframes trBeam { 0% { inset-inline-start: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { inset-inline-start: calc(100% - 12px); opacity: 0; } }
.ag-log.tr { padding: clamp(20px, 2.4vw, 30px); }
.tr-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.tr-orb { width: 30px; height: 30px; }
.tr-live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; background: rgba(37,211,102,.14); color: #3ddc84; }
.tr-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: svaLive 1.6s ease-in-out infinite; }
.tr-time { margin-inline-start: auto; font: 800 12px var(--f-lat, Inter); padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.08); font-variant-numeric: tabular-nums; }
.tr ol { position: relative; gap: 4px !important; --p: 0; }
.tr ol::before, .tr ol::after { content: ""; position: absolute; inset-inline-start: 31px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; background: rgba(255,255,255,.12); }
.tr ol::after { background: linear-gradient(180deg, var(--coral), #ffb35c); bottom: auto; height: calc((100% - 60px) * var(--p)); transition: height .8s var(--ease); box-shadow: 0 0 12px rgba(240,99,67,.6); }
.tr li { position: relative; z-index: 1; background: none !important; border-color: transparent !important; transform: none !important; padding: 10px 12px !important; }
.tr li > i { width: 40px !important; height: 40px !important; border-radius: 14px !important; background: #1b1f5c !important; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.7); transition: background .4s, box-shadow .4s, color .4s; }
.tr li > i svg { width: 18px; height: 18px; } .tr li > i span { display: none !important; } .tr li > i::before { content: none !important; }
.tr li.on > i { background: var(--coral) !important; border-color: var(--coral); color: #fff; box-shadow: 0 0 0 6px rgba(240,99,67,.2), 0 10px 24px -8px rgba(240,99,67,.8); animation: trPulse 1.4s ease-in-out infinite; }
.tr li.done > i { background: #16a34a !important; border-color: #16a34a; color: #fff; }
@keyframes trPulse { 50% { box-shadow: 0 0 0 10px rgba(240,99,67,.06), 0 10px 24px -8px rgba(240,99,67,.8); } }
.tr li > div { flex: 1; }
.tr-fx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); direction: ltr; justify-content: flex-start; }
html[dir="rtl"] .tr-fx { justify-content: flex-end; }
.tr li.on .tr-fx, .tr li.done .tr-fx { opacity: 1; transform: none; }
.tr-fx img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; border: 2px solid rgba(255,255,255,.8); }
.tr-fx b { font: 800 13px var(--f-lat, Inter); } .tr-fx s { font: 700 12px var(--f-lat, Inter); opacity: .5; }
.tr-fx u { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,.2); }
.tr-fx em { font-style: normal; padding: 4px 10px; border-radius: 99px; font: 800 12px var(--f-lat, Inter); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.tr-fx em.t { background: rgba(240,99,67,.18); border-color: rgba(240,99,67,.4); color: #ffb39f; } .tr-fx em.ok { background: rgba(37,211,102,.16); border-color: rgba(37,211,102,.4); color: #3ddc84; }
.tr-fx em.av { width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: var(--coral); border: 0; color: #fff; }
.tr-fx .cl { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2px solid rgba(255,255,255,.6); }
.tr-fx .wv { display: inline-flex; align-items: center; gap: 2px; height: 22px; width: 90px; } .tr-fx .wv i { flex: 1; height: 100%; border-radius: 2px; background: #ffb39f; --h: .6; animation: gaWave 1.1s ease-in-out infinite; }
.tr-fx .wv i:nth-child(odd) { --h: .9; animation-delay: -.4s; } .tr-fx .wv i:nth-child(3n) { --h: .35; animation-delay: -.7s; } .tr-fx .wv.blue i { background: #7aa0ff; }
.tr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.tr-stats span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.06); }
.tr-stats svg { width: 16px; height: 16px; color: var(--coral); flex: none; } .tr-stats b { font: 800 clamp(15px, 1.4vw, 19px) var(--f-lat, Inter); white-space: nowrap; }
html[data-theme="light"] .ag-beam { background: repeating-linear-gradient(90deg, rgba(17,19,68,.25) 0 6px, transparent 6px 12px); }
html[data-theme="light"] .tr-time, html[data-theme="light"] .tr-stats span { background: #f1f2f8; }
html[data-theme="light"] .tr-live { color: #15803d; background: #e8f7ee; }
html[data-theme="light"] .tr ol::before { background: rgba(17,19,68,.1); }
html[data-theme="light"] .tr li:not(.on):not(.done) > i { background: #f1f2f8 !important; border-color: rgba(17,19,68,.1); color: var(--navy); }
html[data-theme="light"] .tr-fx em { background: #f1f2f8; border-color: rgba(17,19,68,.1); }
html[data-theme="light"] .tr-fx em.t { background: #fef0ec; color: #d9472a; border-color: rgba(240,99,67,.3); } html[data-theme="light"] .tr-fx em.ok { background: #e8f7ee; color: #15803d; }
html[data-theme="light"] .tr-fx img { border-color: #fff; box-shadow: 0 4px 10px -4px rgba(17,19,68,.4); } html[data-theme="light"] .tr-fx .cl { border-color: rgba(17,19,68,.15); }
html[data-theme="light"] .tr-fx .wv i { background: var(--coral); } html[data-theme="light"] .tr-fx .wv.blue i { background: #4a7dff; }
html[data-theme="light"] .tr-stats { border-top-color: rgba(17,19,68,.08); }
@media (max-width: 900px) { .ag-demo-grid { grid-template-columns: 1fr; } .ag-beam { width: 2px; height: 56px; margin: 6px auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.35) 0 6px, transparent 6px 12px); }
  .ag-beam.go i { animation-name: trBeamV; } html[data-theme="light"] .ag-beam { background: repeating-linear-gradient(180deg, rgba(17,19,68,.25) 0 6px, transparent 6px 12px); } }
@keyframes trBeamV { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 12px); opacity: 0; } }
@media (max-width: 520px) { .tr-stats { grid-template-columns: 1fr 1fr 1fr; } .tr-stats span { padding: 8px; gap: 5px; } .tr-stats b { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .ag-beam i, .tr li.on > i, .tr-fx .wv i { animation: none !important; } }

/* trace nodes are always solid (the old 80%/62% step opacity let the progress line show through the icons); pending steps dim their text only */
.tr li { opacity: 1 !important; }
.tr li:not(.on):not(.done) > div { opacity: .5; } html[data-theme="light"] .tr li:not(.on):not(.done) > div { opacity: .6; }
.tr li:not(.on):not(.done) > i { background: #1b1f5c !important; color: rgba(255,255,255,.45); }
html[data-theme="light"] .tr li:not(.on):not(.done) > i { background: #eef0f7 !important; color: #9a9fbf; }

/* ===== agent hero v2 (2026-11-01, Pinterest refs: "message pop-up effect" notification stacks, glass bubbles leaving a phone,
   dark AI-agent heroes with a light arc rising behind the product). Night stage + coral horizon arc, the phone opens on the
   product the customer shared, and each result pops OUT of the phone as an iOS-style notification on the chat event it reports. ===== */
.ag-stage2 .phone .wa-body { min-height: 420px; }
/* chat context: date chip + the product link the customer shared (pinned to the top of the chat) */
.wa-ctx { margin-bottom: auto; display: grid; gap: 8px; justify-items: center; }
.wa-ctx .wa-day { padding: 3px 10px; border-radius: 8px; background: #fff; color: #54656f; font: 700 11px var(--f-lat, Inter); box-shadow: 0 1px 1px rgba(0,0,0,.06); }
html[lang="ar"] .wa-ctx .wa-day { font-family: var(--f-ar); }
.wa-share { justify-self: start; display: flex; gap: 10px; align-items: center; width: 84%; padding: 6px; border-radius: 12px; border-start-start-radius: 3px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.08); color: #111; }
.wa-share img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex: none; }
.wa-share span { display: grid; gap: 2px; min-width: 0; } .wa-share b { font-size: 13px; line-height: 1.3; }
.wa-share small { font: 600 10.5px var(--f-lat, Inter); color: #667781; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* notifications: frosted light cards (iOS style) that slide out from behind the phone */
.hx.hx-ag .hx-card.hx-nt { align-items: flex-start; gap: 11px; padding: 11px 16px 12px 11px; border-radius: 22px; max-width: 280px; min-width: 230px;
  background: rgba(250,250,255,.82); color: #0f172a; border: 1px solid rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 24px 50px -22px rgba(6,7,29,.75), 0 2px 6px -2px rgba(6,7,29,.2);
  --dx: -60px; transform: translateX(var(--dx)) scale(.82); opacity: 0;
  transition: opacity .35s var(--ease), transform .75s cubic-bezier(.34,1.45,.64,1); }
.hx.hx-ag .hx-card.hx-nt.in { opacity: 1; transform: none; }
.hx.hx-ag .hx-card.hx-nt.out { opacity: 0; transform: translateY(-14px) scale(.94); transition-duration: .4s; }
.hx-nt .hx-tx { gap: 2px; min-width: 0; }
.hx-nt .hx-app { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.hx-nt .hx-app b { font: 800 10px var(--f-lat, Inter); letter-spacing: .08em; color: #64748b; }
.hx-nt .hx-app i { font: 600 10.5px var(--f-lat, Inter); font-style: normal; color: #94a3b8; }
html[lang="ar"] .hx-nt .hx-app i { font-family: var(--f-ar); }
.hx.hx-ag .hx-nt small { color: #64748b; }
.hx-nt .hx-ic { width: 38px; height: 38px; border-radius: 11px; } .hx-nt .hx-ic svg { width: 19px; height: 19px; }
.hx-nt .hx-wave { width: 38px; height: 38px; padding: 7px 6px; border-radius: 11px; background: linear-gradient(135deg, #232863, #3d4396); flex: none; } .hx-nt .hx-wave i { background: #fff; }
/* order of appearance = c3 (reply) → c1 (voice) → c0 (order) → c2 (synced); they alternate sides like messages leaving the phone */
.hx-ag .hx-card.c3 { top: 12%; bottom: auto; inset-inline-end: -64px; inset-inline-start: auto; --dx: -70px; }
.hx-ag .hx-card.c1 { top: 36%; bottom: auto; inset-inline-start: -78px; inset-inline-end: auto; --dx: 70px; }
.hx-ag .hx-card.c0 { top: auto; bottom: 30%; inset-inline-end: -72px; inset-inline-start: auto; --dx: -70px; }
.hx-ag .hx-card.c2 { top: auto; bottom: 10%; inset-inline-start: -60px; inset-inline-end: auto; --dx: 70px; }
html[dir="rtl"] .hx-ag .hx-card.c3, html[dir="rtl"] .hx-ag .hx-card.c0 { --dx: 70px; } html[dir="rtl"] .hx-ag .hx-card.c1, html[dir="rtl"] .hx-ag .hx-card.c2 { --dx: -70px; }
@media (max-width: 1200px) { .hx-ag .hx-card.c3, .hx-ag .hx-card.c0 { inset-inline-end: -8px; } .hx-ag .hx-card.c1, .hx-ag .hx-card.c2 { inset-inline-start: -8px; } }
@media (max-width: 960px) { .hx.hx-ag .hx-card.hx-nt { min-width: 0; max-width: 220px; padding: 9px 12px 10px 9px; } .hx-nt .hx-ic, .hx-nt .hx-wave { width: 32px; height: 32px; }
  .hx-ag .hx-card.c3 { top: -12px; inset-inline-end: 8px; } .hx-ag .hx-card.c0 { display: flex; bottom: -14px; inset-inline-end: 8px; } .hx-ag .hx-card.c1, .hx-ag .hx-card.c2 { display: none; } }
html[data-theme="light"] .hx.hx-ag .hx-card.hx-nt { background: rgba(255,255,255,.9); border-color: rgba(17,19,68,.06); color: #0f172a; }

/* ===== agent hero v3 (2026-11-01, owner: "remove background behind the phone, another design"). Pinterest refs: a free-floating
   3D-angled iPhone with a floor shadow, glass UI cards hanging at different depths around the device. No stage, no frame, no arc. ===== */
.hx > .fstage.ag-stage2, html[data-theme="light"] .hx > .fstage.ag-stage2 { background: none !important; box-shadow: none !important; border-radius: 0; overflow: visible; padding: clamp(30px, 4vw, 60px) 0 clamp(70px, 7vw, 100px); }
.fstage.ag-stage2::before, html[data-theme="light"] .fstage.ag-stage2::before { display: none; }
.fstage.ag-stage2 .hx-sheen { display: none; }
/* floor shadow under the floating phone (breathes with the float) */
.fstage.ag-stage2::after { inset: auto 22% 4% 22% !important; height: 34px; padding: 0 !important; border-radius: 50%; -webkit-mask: none !important; mask: none !important;
  background: radial-gradient(closest-side, rgba(6,7,29,.55), rgba(6,7,29,0)) !important; filter: blur(6px); animation: agFloor 6s ease-in-out infinite; }
html:not([data-theme="light"]) .fstage.ag-stage2::after { background: radial-gradient(closest-side, rgba(0,0,0,.75), rgba(0,0,0,0)) !important; }
@keyframes agFloor { 50% { transform: scaleX(.86); opacity: .7; } }
/* the phone: 3D angle (like a product shot), real side thickness, slow float */
.ag-stage2 .phone { width: min(310px, 100%); animation: agFloat 6s ease-in-out infinite;
  transform: perspective(1600px) rotateY(-18deg) rotateX(9deg) rotateZ(3deg);
  box-shadow: 1px 1px 0 #2b2c3a, 2px 2px 0 #2b2c3a, 3px 3px 0 #23242f, 4px 4px 0 #23242f, 5px 5px 0 #1c1d26, 6px 6px 0 #1c1d26, 7px 7px 0 #15161d,
    40px 60px 80px -30px rgba(6,7,29,.55), 0 0 0 1.5px rgba(255,255,255,.12); }
html[dir="rtl"] .ag-stage2 .phone { transform: perspective(1600px) rotateY(18deg) rotateX(9deg) rotateZ(-3deg);
  box-shadow: -1px 1px 0 #2b2c3a, -2px 2px 0 #2b2c3a, -3px 3px 0 #23242f, -4px 4px 0 #23242f, -5px 5px 0 #1c1d26, -6px 6px 0 #1c1d26, -7px 7px 0 #15161d,
    -40px 60px 80px -30px rgba(6,7,29,.55), 0 0 0 1.5px rgba(255,255,255,.12); }
@keyframes agFloat { 50% { translate: 0 -12px; } }
/* screen glare across the glass */
.ag-stage2 .phone .scr::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.22), rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.08)); }
/* cards hang at different depths: near ones bigger with a deeper shadow, far ones smaller and lighter */
.hx.hx-ag .hx-card.hx-nt { box-shadow: 0 30px 60px -26px rgba(6,7,29,.6), 0 2px 8px -2px rgba(6,7,29,.18); }
.hx.hx-ag .hx-card.c3.in, .hx.hx-ag .hx-card.c2.in { transform: scale(.9); box-shadow: 0 16px 34px -20px rgba(6,7,29,.45); }
.hx.hx-ag .hx-card.c1.in, .hx.hx-ag .hx-card.c0.in { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .ag-stage2 .phone, .fstage.ag-stage2::after { animation: none; } }
@media (max-width: 960px) { .ag-stage2 .phone { width: min(270px, 78%); } }
