/* SAMAWAL 2026 — طيف السماء (نهاري) × شفق قطبي (ليلي) — 60/30/10 */
:root, html[data-theme="night"] {
  --bg: #0A0A12; --surf: #15141F; --surf2: #1C1B29; --line: #26243A; --line2: #4A4766; --text: #F1F0FA; --muted: #A3A0BD;
  --btn: #8B6CFF; --btnt: #FFFFFF; --eye: #B9A8FF; --sf: #15141F; --edge: #8B6CFF; --panel: #15141F; --ptext: #F1F0FA; --pmuted: #A3A0BD;
  --foot: #07070C; --link: #B9A8FF; --soft: #1D1830; --sh1: none; --sh2: 0 12px 32px -14px rgba(0,0,0,.8);
  --grad: linear-gradient(120deg,#FF8A4C 0%,#FF4F8B 32%,#8B6CFF 66%,#4FD1E8 100%);
  --glow: radial-gradient(120% 70% at 90% 0%,rgba(139,108,255,.30),transparent 60%), radial-gradient(90% 60% at 0% 8%,rgba(79,209,232,.20),transparent 60%);
  --pc-cards: #6FE0F0; --pc-energy: #FFB25C; --pc-digital: #A895FF; --pc-studio: #FF6FA3; --pc-finance: #4FD1E8; --pc-schools: #7FA2FF; --pc-pos: #FF8A4C; --pc-field: #C3A6FF;
}
html[data-theme="day"] {
  --bg: #FFFFFF; --surf: #FFFFFF; --surf2: #F6F5FB; --line: #E7E5F0; --line2: #A9A6BC; --text: #0B0B14; --muted: #5C5C70;
  --btn: #6C4DF0; --btnt: #FFFFFF; --eye: #5B3FE0; --sf: #0B0B14; --edge: #6C4DF0; --panel: #0B0B14; --ptext: #F6F5FB; --pmuted: #BDBACF;
  --foot: #0B0B14; --link: #5B3FE0; --soft: #F1EDFF; --sh1: 0 1px 2px rgba(11,11,20,.06), 0 1px 1px rgba(11,11,20,.04); --sh2: 0 12px 28px -12px rgba(40,20,110,.20);
  --grad: linear-gradient(120deg,#F2702E 0%,#E83E7C 32%,#6C4DF0 66%,#1BA8D6 100%);
  --glow: radial-gradient(120% 70% at 90% 0%,rgba(242,112,46,.10),transparent 60%), radial-gradient(90% 60% at 0% 8%,rgba(108,77,240,.10),transparent 60%);
  --pc-cards: #0E7FA8; --pc-energy: #B86A0E; --pc-digital: #5B3FE0; --pc-studio: #C42C68; --pc-finance: #0F86B0; --pc-schools: #3559C9; --pc-pos: #C9551F; --pc-field: #7A4BD9;
}
body { background-image: var(--glow); background-repeat: no-repeat; background-size: 100% 760px; }
.btn:not(.ghost), .badge, .tabs button[aria-selected="true"], .skip, .phone .pbtn, .steps li::before, .helpfab { background-image: var(--grad) !important; background-color: var(--btn); color: #FFFFFF !important; border-color: transparent !important; }
.btn:not(.ghost):hover { box-shadow: 0 10px 24px -10px rgba(108,77,240,.55); }
.rule, .hbar > i, .top::after { background: var(--grad) !important; }
.xp b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="night"] input, html[data-theme="night"] select, html[data-theme="night"] textarea { background: #100F19; }
::selection { background: #8B6CFF; color: #FFFFFF; }

.brand img { display: none !important; }
div.brand { flex: none !important; min-width: auto !important; }
a.brand { display: inline-flex !important; align-items: center; gap: 10px !important; white-space: nowrap; }
a.brand::before { content: ""; width: 40px; height: 40px; flex: none; border-radius: 12px; background: url(/img/samawal-mark.svg) center/contain no-repeat; box-shadow: 0 6px 18px -6px rgba(108,77,240,.55); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
a.brand:hover::before { transform: rotate(-8deg) scale(1.06); }
a.brand::after { content: "سماول"; font-family: "Alexandria", sans-serif; font-weight: 800; font-size: 25px; line-height: 1; letter-spacing: -.01em; color: var(--text); }
html[lang="en"] a.brand::after { content: "Samawal"; font-family: "Montserrat", "Alexandria", sans-serif; font-size: 23px; }
.need a, .pcard { position: relative; border: 1px solid transparent !important; background: linear-gradient(var(--surf), var(--surf)) padding-box, linear-gradient(var(--line), var(--line)) border-box !important; box-shadow: 0 1px 2px rgba(11,11,20,.04), 0 10px 28px -14px rgba(70,45,160,.22) !important; transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease !important; animation: smRise .7s cubic-bezier(.2,.7,.2,1) both; }
html[data-theme="night"] .need a, html[data-theme="night"] .pcard, :root:not([data-theme="day"]) .need a { box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 14px 32px -16px rgba(139,108,255,.40) !important; }
.need a:hover, .need a:focus-visible, .pcard:hover, .pcard:focus-visible { transform: translateY(-4px); background: linear-gradient(var(--surf), var(--surf)) padding-box, var(--grad) border-box !important; box-shadow: 0 2px 4px rgba(11,11,20,.05), 0 20px 40px -16px rgba(108,77,240,.38) !important; }
.need a:active, .pcard:active { transform: translateY(-1px) scale(.99); }
.need a > svg, .need a > :last-child { transition: transform .28s ease; }
.need a:hover > :last-child { transform: translateX(-4px); }
.need a:nth-child(2), .pcard:nth-child(2) { animation-delay: .08s; } .need a:nth-child(3), .pcard:nth-child(3) { animation-delay: .16s; } .need a:nth-child(4), .pcard:nth-child(4) { animation-delay: .24s; } .need a:nth-child(5), .pcard:nth-child(5) { animation-delay: .32s; } .need a:nth-child(n+6), .pcard:nth-child(n+6) { animation-delay: .4s; }
.btn:not(.ghost) { background-size: 160% 100% !important; background-position: 0% 50%; transition: background-position .5s ease, transform .18s ease-out, box-shadow .25s ease !important; }
.btn:not(.ghost):hover { background-position: 100% 50%; }
@keyframes smRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .need a, .pcard { animation: none !important; transition: none !important; } }

/* ---- سماء التمرير ---- */
.sm-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #FFF6EE 0%, #FDEFF5 25%, #F2EEFF 50%, #EAF3FF 75%, #F5F3FF 100%); background-size: 100% 400%; background-position: 0 var(--skyp, 0%); }
html[data-theme="night"] .sm-sky, :root:not([data-theme="day"]) .sm-sky { background: linear-gradient(180deg, #1A1236 0%, #120F2A 30%, #0C1424 60%, #0A0A12 100%); background-size: 100% 400%; background-position: 0 var(--skyp, 0%); }
body { background-color: transparent !important; }
html { background: var(--bg); }

/* ---- Bento ---- */
.plist.sm-bento { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sm-bento .sm-tile { grid-column: span 2; display: flex !important; align-items: stretch !important; gap: 14px; padding: 16px !important; border-radius: 22px !important; text-decoration: none; color: var(--text); background: linear-gradient(var(--surf), var(--surf)) padding-box, linear-gradient(var(--line), var(--line)) border-box !important; border: 1px solid transparent !important; box-shadow: 0 1px 2px rgba(11,11,20,.04), 0 12px 30px -14px rgba(70,45,160,.25); transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s; position: relative; }
html[data-theme="night"] .sm-bento .sm-tile { box-shadow: 0 14px 34px -16px rgba(139,108,255,.45); }
.sm-bento .sm-tile:hover, .sm-bento .sm-tile:focus-visible { transform: translateY(-4px); background: linear-gradient(var(--surf), var(--surf)) padding-box, var(--grad) border-box !important; }
.sm-bento .sm-half { grid-column: span 1; flex-direction: column !important; }
.sm-bento .tx { display: flex !important; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.sm-bento .tx > b { font-family: "Alexandria", sans-serif; font-size: 20px; line-height: 1.15; }
.sm-bento .sm-feature .tx > b { font-size: 25px; }
.sm-bento .tx > span:not(.sm-pills):not(.sm-tag) { font-size: 13px; color: var(--muted); line-height: 1.5; }
.sm-pills { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.sm-pill { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--pc, #6C4DF0) 13%, transparent); color: var(--text); white-space: nowrap; }
.sm-tag { font-size: 11.5px; font-weight: 700; color: var(--pc, #6C4DF0); }
.sm-arr { width: 34px; height: 34px; border-radius: 50%; background: var(--pc, #6C4DF0); display: flex; align-items: center; justify-content: center; flex: none; align-self: flex-end; transition: transform .28s; }
.sm-tile:hover .sm-arr { transform: translateX(-3px); }
html[dir="ltr"] .sm-tile:hover .sm-arr { transform: translateX(3px); }
.sm-half .sm-arr { position: absolute; bottom: 14px; inset-inline-end: 14px; }
.sm-half .sm-pills { padding-inline-end: 40px; }
.sm-prev { flex: none; width: 128px; border-radius: 16px; background: color-mix(in srgb, var(--pc, #6C4DF0) 12%, transparent); display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 92px; }
.sm-half .sm-prev { width: 100%; height: 78px; min-height: 0; }
.sm-feature .sm-prev { width: 124px; align-items: flex-start; padding-top: 12px; }
.pv { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pv-paper { width: 94px; background: #FDFCF8; color: #0B0B14; border-radius: 6px 6px 0 0; padding: 8px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 4px; font-size: 9px; animation: smPrint 3.2s ease-in-out infinite; }
.pv-paper b { text-align: center; font-size: 9.5px; } .pv-paper i { height: 1px; background: #ddd; display: block; }
.pv-paper p { margin: 0; display: flex; justify-content: space-between; } .pv-paper p.t { font-weight: 700; font-size: 9.5px; }
.pv-list { flex-direction: column; align-items: flex-start; gap: 5px; padding: 0 14px; font-size: 11px; color: var(--text); }
.pv-list p { margin: 0; display: flex; align-items: center; gap: 6px; }
.pv-list em { width: 14px; height: 14px; border-radius: 4px; background: var(--pc); display: inline-block; animation: smTick 3s ease-in-out infinite; }
.pv-list p:nth-child(2) em { animation-delay: .5s; } .pv-list p:nth-child(3) em { animation-delay: 1s; }
.pv-bars { align-items: flex-end; gap: 6px; padding: 10px 0; }
.pv-bars em { width: 11px; border-radius: 4px 4px 2px 2px; background: var(--pc); transform-origin: bottom; animation: smGrow 2.4s ease-in-out infinite alternate; }
.pv-bars em:nth-child(1) { height: 22px; opacity: .55; } .pv-bars em:nth-child(2) { height: 34px; opacity: .7; animation-delay: .15s; } .pv-bars em:nth-child(3) { height: 28px; opacity: .6; animation-delay: .3s; } .pv-bars em:nth-child(4) { height: 44px; opacity: .85; animation-delay: .45s; } .pv-bars em:nth-child(5) { height: 54px; animation-delay: .6s; }
.pv-card { margin: 8px; border-radius: 12px; background: var(--grad); color: #fff; padding: 9px; justify-content: space-between; align-items: flex-start; overflow: hidden; height: auto; min-height: 72px; box-sizing: border-box; }
.pv-card div { display: flex; flex-direction: column; gap: 2px; font-size: 10.5px; } .pv-card div span { font-size: 15px; font-weight: 700; }
.pv-qr { width: 30px; height: 30px; border-radius: 5px; background: #fff conic-gradient(#0B0B14 25%, #fff 0 50%, #0B0B14 0 75%, #fff 0) 0 0/10px 10px; border: 3px solid #fff; }
.pv-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: smShine 3.5s ease-in-out infinite; }
.pv-map { color: var(--pc); } .pv-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-map em { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--pc); animation: smPing 2.2s ease-out infinite; }
.pv-map em:nth-of-type(2) { animation-delay: .6s; } .pv-map em:nth-of-type(3) { animation-delay: 1.2s; } .pv-map em:nth-of-type(4) { animation-delay: .3s; }
@keyframes smPrint { 0% { clip-path: inset(0 0 100% 0); } 55%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes smGrow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes smTick { 0%, 15% { opacity: .15; transform: scale(.6); } 30%, 100% { opacity: 1; transform: none; } }
@keyframes smPing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pc) 60%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
@keyframes smShine { 0%, 40% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }
@media (min-width: 760px) { .plist.sm-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sm-bento .sm-tile { grid-column: span 2; } .sm-bento .sm-half { grid-column: span 1; } .sm-bento .sm-feature { grid-column: span 2; grid-row: span 2; flex-direction: column !important; } .sm-feature .sm-prev { width: 100%; min-height: 170px; } }

/* ---- انتقال الوضع الدائري ---- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: smReveal .7s cubic-bezier(.4,0,.2,1); }
@keyframes smReveal { from { clip-path: circle(0 at var(--vtx, 90%) var(--vty, 5%)); } to { clip-path: circle(150vmax at var(--vtx, 90%) var(--vty, 5%)); } }
#themeBtn svg { transition: transform .6s cubic-bezier(.5,1.6,.4,1); } #themeBtn:hover svg { transform: rotate(-25deg) scale(1.1); }

/* ---- الشريط الثابت ---- */
.sm-bar { position: fixed; bottom: 12px; inset-inline: 12px; z-index: 45; display: flex; gap: 8px; padding: 8px; border-radius: 20px; background: color-mix(in srgb, var(--surf) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 14px 34px -12px rgba(30,20,80,.35); transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.sm-bar.on { transform: none; }
.sm-bar a { flex: 1; text-align: center; padding: 13px 8px; border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 15px; }
.sm-bar-a { background: var(--grad); color: #fff; } .sm-bar-b { background: transparent; color: var(--text); border: 1px solid var(--line2); }
.helpfab { transition: transform .4s cubic-bezier(.2,.7,.2,1) !important; } .helpfab.sm-lift { transform: translateY(-74px); }

/* ---- البحث ---- */
.sm-search { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.sm-s-l { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.sm-search input[type="search"] { font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--edge); background: var(--surf); color: var(--text); box-shadow: 0 8px 24px -12px rgba(108,77,240,.45); outline: none; }
.sm-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sm-chip { font: inherit; font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surf2); color: var(--text); cursor: pointer; }
.sm-hit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 16px; border-radius: 20px; text-decoration: none; color: var(--text); background: linear-gradient(var(--surf), var(--surf)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 12px 30px -14px rgba(70,45,160,.35); animation: smPop .45s cubic-bezier(.2,.7,.2,1); }
.sm-hit-t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: calc(100% - 50px); } .sm-hit-t b { font-family: "Alexandria", sans-serif; font-size: 20px; color: var(--pc); } .sm-hit-p { font-weight: 700; font-size: 14px; }
.sm-hit-d { font-size: 13px; color: var(--muted); width: calc(100% - 50px); order: 3; } .sm-hit .sm-arr { order: 2; margin-inline-start: auto; align-self: center; }
.sm-none { font-size: 13px; color: var(--muted); margin: 0; }
@keyframes smPop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---- صفحة رواج ---- */
.sm-grid3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .sm-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sm-panel { border-radius: 22px; padding: 16px; background: var(--surf); border: 1px solid var(--line); box-shadow: 0 12px 30px -14px rgba(70,45,160,.25); display: flex; flex-direction: column; gap: 12px; --pc: var(--pc-pos); }
.sm-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sm-item { font: inherit; text-align: start; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surf2); color: var(--text); cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: transform .15s; } .sm-item:active { transform: scale(.96); } .sm-item span { font-size: 12px; color: var(--muted); }
.sm-order { border-radius: 16px; background: #0A0A12; color: #F1F0FA; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.sm-lines { display: flex; flex-direction: column; gap: 6px; } .sm-ln { margin: 0; display: flex; justify-content: space-between; font-size: 13px; animation: smPop .3s ease; } .sm-empty { font-size: 12px; color: #A3A0BD; }
.sm-total { margin: auto 0 0; border-top: 1px solid #26243A; padding-top: 8px; display: flex; justify-content: space-between; } .sm-total b { font-size: 18px; }
.sm-ba-box { --pos: 55%; position: relative; height: 260px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.sm-ba-paper { position: absolute; inset: 0; background: repeating-linear-gradient(#FFFDF4 0 27px, #C9D6F0 27px 28px); padding: 18px; color: #4A3A2A; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.sm-ba-paper > *:nth-child(odd) { transform: rotate(-1.5deg); } .sm-ba-paper > *:nth-child(even) { transform: rotate(1.2deg); } .sm-ba-paper .bad { color: #B4261E; }
.sm-ba-app { position: absolute; top: 0; bottom: 0; left: 0; width: var(--pos); overflow: hidden; background: #0A0A12; }
.sm-ba-app > div { width: 320px; margin-left: 0; padding: 16px; color: #F1F0FA; display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; }
.sm-ba-app p { margin: 0; background: #15141F; border-radius: 10px; padding: 9px 10px; display: flex; justify-content: space-between; font-size: 13px; } .sm-ba-app .o { color: #FF8A4C; }
.sm-ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--grad); }
.sm-calc-out { border-radius: 18px; padding: 16px; background: var(--grad); color: #fff; display: flex; flex-direction: column; gap: 4px; } .sm-calc-out b { font-family: "Alexandria", sans-serif; font-size: 36px; line-height: 1.1; } .sm-calc-out span { font-size: 13px; opacity: .92; }
.sm-panel small { font-size: 12px; color: var(--muted); line-height: 1.6; }
.sm-panel input[type="range"] { accent-color: #6C4DF0; }

/* ---- لحظة الفرح ---- */
.sm-confetti { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.sm-confetti i { position: absolute; top: -20px; width: 8px; height: 13px; border-radius: 2px; animation: smFall 2.4s linear forwards; }
@keyframes smFall { to { transform: translateY(105vh) rotate(620deg); opacity: .3; } }

@media (prefers-reduced-motion: reduce) { .pv-paper, .pv-list em, .pv-bars em, .pv-card::after, .pv-map em, .sm-hit, .sm-ln { animation: none !important; } .sm-bar { transition: none; } }
.sm-calc-out b span { font-size: inherit !important; opacity: 1 !important; }
/* ---- خدمات عالمية ---- */
.sm-gl { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .sm-gl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sm-gl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sm-g { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 22px; background: linear-gradient(var(--surf), var(--surf)) padding-box, linear-gradient(var(--line), var(--line)) border-box; border: 1px solid transparent; box-shadow: 0 1px 2px rgba(11,11,20,.04), 0 12px 30px -14px rgba(70,45,160,.25); transition: transform .28s cubic-bezier(.2,.7,.2,1); animation: smRise .7s cubic-bezier(.2,.7,.2,1) both; }
.sm-g:hover { transform: translateY(-4px); background: linear-gradient(var(--surf), var(--surf)) padding-box, var(--grad) border-box; }
.sm-g-f { background: linear-gradient(var(--surf), var(--surf)) padding-box, var(--grad) border-box; border-width: 1.5px; }
.sm-g::before { content: ""; position: absolute; inset-inline-start: 18px; top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--pc); }
.sm-g-t { font-family: "Alexandria", sans-serif; font-size: 19px; line-height: 1.3; }
.sm-g-d { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--muted); flex: 1; }
.sm-g-p { display: flex; align-items: baseline; gap: 6px; } .sm-g-p b { font-family: "Alexandria", sans-serif; font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; } .sm-g-p span { font-size: 13px; color: var(--muted); }
.sm-g-btn { width: 100%; }
/* ---- خدمات عالمية: زرّان ---- */
.sm-g-acts { display: flex; gap: 8px; } .sm-g-acts .sm-g-btn { flex: 1.6; } .sm-g-acts .sm-g-wa { flex: 1; }

/* ---- بطاقات المزايا ---- */
.grid3.sm-feats { gap: 14px; counter-reset: f; }
.sm-feats > .card { position: relative; overflow: hidden; padding: 20px 20px 20px 20px !important; border-radius: 22px !important; background: linear-gradient(var(--surf), var(--surf)) padding-box, linear-gradient(var(--line), var(--line)) border-box !important; border: 1px solid transparent !important; box-shadow: 0 1px 2px rgba(11,11,20,.04), 0 12px 30px -16px rgba(70,45,160,.25); transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s; animation: smRise .7s cubic-bezier(.2,.7,.2,1) both; display: grid !important; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
html[data-theme="night"] .sm-feats > .card { box-shadow: 0 14px 34px -18px rgba(139,108,255,.4); }
.sm-feats > .card::after { content: ""; position: absolute; width: 120px; height: 120px; inset-inline-start: -30px; top: -40px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--page-pc, #6C4DF0) 14%, transparent), transparent 70%); pointer-events: none; transition: transform .5s ease; }
.sm-feats > .card:hover { transform: translateY(-4px); background: linear-gradient(var(--surf), var(--surf)) padding-box, var(--grad) border-box !important; }
.sm-feats > .card:hover::after { transform: scale(1.35); }
.sm-num { grid-row: span 2; width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: "Montserrat", "Alexandria", sans-serif; font-weight: 800; font-size: 15px; color: #fff; background: var(--grad); box-shadow: 0 8px 18px -8px rgba(108,77,240,.6); }
.sm-feats > .card h3 { margin: 2px 0 0 !important; font-size: 18px !important; line-height: 1.35; }
.sm-feats > .card p { margin: 0 !important; font-size: 14px !important; line-height: 1.7; grid-column: 2; }

/* ---- شعار نصّي جديد (فوتر/قائمة) ---- */
.sm-word { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; }
.sm-word-mark { width: 38px; height: 38px; border-radius: 12px; background: url(/img/samawal-mark.svg) center/contain no-repeat; box-shadow: 0 6px 18px -6px rgba(108,77,240,.55); }
.sm-word b { font-family: "Alexandria", sans-serif; font-weight: 800; font-size: 26px; line-height: 1; color: var(--text); }
footer .sm-word b { font-size: 34px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer .sm-word-mark { width: 48px; height: 48px; border-radius: 15px; }

/* ---- القائمة الجانبية ---- */
.drawer .mi { border-radius: 16px; transition: background .2s, transform .2s; }
.drawer .mi:hover, .drawer .mi:focus-visible { background: var(--surf2); transform: translateX(-3px); }
.drawer .mh { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; font-weight: 700; }
.drawer .pdot { border-radius: 14px !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 35%, transparent), 0 6px 16px -8px color-mix(in srgb, var(--pc) 60%, transparent); }

/* ---- الفوتر ---- */
footer.foot { position: relative; overflow: hidden; background: radial-gradient(90% 60% at 90% 0%, rgba(139,108,255,.22), transparent 60%), radial-gradient(70% 50% at 0% 30%, rgba(79,209,232,.14), transparent 60%), #0A0A12 !important; color: #C9C6DC !important; border-top: 0 !important; padding-top: 0 !important; }
footer.foot::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--grad); }
footer.foot .fgrid { padding-top: 36px; gap: 28px 20px !important; }
footer.foot .motto { color: #B9A8FF !important; font-weight: 600; letter-spacing: .01em; }
footer.foot p { color: #A3A0BD !important; }
footer.foot .fh { color: #F1F0FA !important; font-family: "Alexandria", sans-serif; font-size: 13px; letter-spacing: .04em; opacity: .9; margin-bottom: 4px; }
footer.foot nav a { color: #C9C6DC !important; text-decoration: none; position: relative; width: fit-content; transition: color .2s; padding: 3px 0; }
footer.foot nav a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 0; border-radius: 2px; background: var(--grad); transition: width .3s ease; }
footer.foot nav a:hover { color: #fff !important; } footer.foot nav a:hover::after { width: 100%; }
footer.foot .line2 { border-top: 1px solid rgba(255,255,255,.08) !important; color: #8E8BA8 !important; font-size: 12.5px; gap: 6px 16px; flex-wrap: wrap; justify-content: center !important; text-align: center; }
@media (max-width: 760px) { footer.foot .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } footer.foot .fgrid > .col:first-child { grid-column: 1 / -1; } }
.sm-cta { padding: 34px 0 6px; }
.sm-cta-in { position: relative; border-radius: 26px; padding: 24px; background: linear-gradient(rgba(21,20,31,.92), rgba(21,20,31,.92)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; box-shadow: 0 20px 50px -20px rgba(108,77,240,.55); }
.sm-cta-in > div:first-child { display: flex; flex-direction: column; gap: 6px; } .sm-cta-in b { font-family: "Alexandria", sans-serif; font-size: 22px; color: #fff; line-height: 1.35; } .sm-cta-in span { color: #A3A0BD; font-size: 14px; }
.sm-cta-b { display: flex; gap: 8px; flex-wrap: wrap; } .sm-cta-b .btn.ghost { color: #F1F0FA !important; border-color: rgba(255,255,255,.22) !important; background: rgba(255,255,255,.04) !important; }
/* ---- ديجيتال وستوديو: إضافات ---- */
.sm-sim { border-radius: 24px; background: #0A0A12; color: #F1F0FA; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 22px 48px -20px rgba(108,77,240,.6); max-width: 560px; width: 100%; margin-inline: auto; }
.sm-sim-h { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .08em; color: #B9A8FF; } .sm-sim-h em { font-style: normal; letter-spacing: 0; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: #A3A0BD; }
.sm-bub { max-width: 80%; padding: 9px 12px; font-size: 13.5px; line-height: 1.6; animation: smMsg 7s ease-in-out infinite both; } .sm-bub.in { align-self: flex-start; background: #1F7A4D; border-radius: 16px 16px 16px 4px; } .sm-bub.out { align-self: flex-end; background: var(--grad); border-radius: 16px 16px 4px 16px; animation-delay: 1.4s; }
.sm-flow { height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #8B6CFF, #4FD1E8, transparent); background-size: 200% 100%; animation: smFlow 1.8s linear infinite; }
.sm-chk { display: flex; gap: 6px; flex-wrap: wrap; font-size: 11.5px; animation: smMsg 7s ease-in-out infinite both; animation-delay: .7s; } .sm-chk span { padding: 4px 9px; border-radius: 9px; background: #15141F; border: 1px solid #26243A; }
.sm-sim-f { display: flex; justify-content: space-between; font-size: 11.5px; color: #A3A0BD; } .sm-live { color: #3DDC97; animation: smBlink 1.4s ease-in-out infinite; }
@keyframes smMsg { 0%, 6% { opacity: 0; transform: translateY(8px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes smFlow { to { background-position: 200% 0; } } @keyframes smBlink { 50% { opacity: .35; } }
.sm-marq-w { overflow: hidden; margin-inline: -16px; padding: 4px 0 10px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sm-marq { display: flex; gap: 10px; width: max-content; animation: smMarq 24s linear infinite; } .sm-marq.slow { animation-duration: 32s; }
.sm-marq > span:not(.sm-th) { padding: 8px 14px; border-radius: 999px; background: var(--surf2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; }
@keyframes smMarq { to { transform: translateX(50%); } } html[dir="ltr"] .sm-marq { animation-name: smMarqL; } @keyframes smMarqL { to { transform: translateX(-50%); } }
.sm-ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); flex: none; }
.sm-svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } @media (min-width: 900px) { .sm-svc { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sm-svc-c { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 20px; text-decoration: none; color: var(--text); background: linear-gradient(var(--surf), var(--surf)) padding-box, linear-gradient(var(--line), var(--line)) border-box; border: 1px solid transparent; box-shadow: 0 1px 2px rgba(11,11,20,.04), 0 12px 28px -14px rgba(70,45,160,.25); transition: transform .28s cubic-bezier(.2,.7,.2,1); animation: smRise .7s cubic-bezier(.2,.7,.2,1) both; }
.sm-svc-c:hover { transform: translateY(-4px); background: linear-gradient(var(--surf), var(--surf)) padding-box, var(--grad) border-box; }
.sm-svc-c b { font-size: 15px; } .sm-svc-c > span:not(.sm-ic) { font-size: 12.5px; color: var(--muted); line-height: 1.55; flex: 1; } .sm-svc-c small { font-size: 11.5px; color: var(--muted); }
.sm-svc-c strong { font-family: "Alexandria", sans-serif; font-size: 21px; margin-top: -4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sm-works { display: flex; flex-direction: column; gap: 10px; }
.sm-w { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 20px; text-decoration: none; color: var(--text); background: var(--surf); border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(70,45,160,.25); transition: transform .25s; } a.sm-w:hover { transform: translateY(-3px); }
.sm-w-n { width: 60px; height: 60px; flex: none; border-radius: 14px; background: linear-gradient(135deg, var(--pc), color-mix(in srgb, var(--pc) 45%, #0A0A12)); display: flex; align-items: flex-end; padding: 6px; box-sizing: border-box; color: #fff; font-weight: 800; font-size: 13px; }
.sm-w-t { flex: 1; display: flex; flex-direction: column; gap: 2px; } .sm-w-t b { font-size: 15px; } .sm-w-t span { font-size: 12.5px; color: var(--muted); }
.sm-w em { font-style: normal; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; } .sm-w em.ok { background: color-mix(in srgb, #1FA36B 16%, transparent); color: #1FA36B; } .sm-w em.demo { background: color-mix(in srgb, #E0A526 18%, transparent); color: #B07A00; }
html[data-theme="night"] .sm-w em.demo { color: #F4C430; }
.sm-steps { display: flex; flex-direction: column; gap: 12px; } .sm-step { display: flex; gap: 12px; align-items: flex-start; } .sm-step > div { display: flex; flex-direction: column; gap: 2px; } .sm-step b { font-size: 15px; } .sm-step span:not(.sm-num) { font-size: 13px; color: var(--muted); }
.sm-step .sm-num { width: 36px; height: 36px; border-radius: 12px; grid-row: auto; font-size: 15px; }
.sm-faq { display: flex; flex-direction: column; gap: 8px; } .sm-faq details { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--surf); } .sm-faq summary { font-weight: 700; font-size: 14.5px; cursor: pointer; } .sm-faq p { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.sm-band { border-radius: 24px; padding: 20px; background: var(--grad); color: #fff; display: flex; flex-direction: column; gap: 8px; } .sm-band b { font-family: "Alexandria", sans-serif; font-size: 21px; } .sm-band > span { font-size: 13.5px; opacity: .92; } .sm-band > div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.sm-band .btn { background: #fff !important; background-image: none !important; color: #0B0B14 !important; } .sm-band .btn.ghost { background: rgba(255,255,255,.14) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.45) !important; }
.sm-th { width: 118px; height: 150px; flex: none; border-radius: 18px; background: linear-gradient(160deg, var(--pc), color-mix(in srgb, var(--pc) 50%, #0A0A12)); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; box-sizing: border-box; box-shadow: 0 14px 30px -14px var(--pc); }
.sm-th b { font-family: "Alexandria", sans-serif; font-size: 26px; } .sm-th i { font-style: normal; font-size: 12px; font-weight: 700; }
.sm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; } .sm-stats div { background: var(--surf2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 4px; } .sm-stats b { display: block; font-family: "Alexandria", sans-serif; font-size: 19px; } .sm-stats span { font-size: 11.5px; color: var(--muted); }
.sm-diff { display: grid; grid-template-columns: 1fr; gap: 8px; } @media (min-width: 760px) { .sm-diff { grid-template-columns: 1fr 1fr; } }
.sm-diff div { border-radius: 16px; padding: 14px; font-size: 14px; line-height: 1.7; } .sm-diff em { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; margin-bottom: 4px; }
.sm-diff .bad { background: color-mix(in srgb, #E24B4A 12%, transparent); } .sm-diff .bad em { color: #E24B4A; } .sm-diff .good { background: color-mix(in srgb, #1FA36B 13%, transparent); } .sm-diff .good em { color: #1FA36B; }
.sm-hb { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; } @media (min-width: 760px) { .sm-hb { grid-template-columns: 1.2fr 1fr; } }
.sm-hb a { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 26px; text-decoration: none; transition: transform .28s cubic-bezier(.2,.7,.2,1); animation: smRise .7s cubic-bezier(.2,.7,.2,1) both; } .sm-hb a:hover { transform: translateY(-4px); }
.sm-hb .k { font-size: 12px; font-weight: 700; } .sm-hb a > b { font-family: "Alexandria", sans-serif; font-size: 23px; line-height: 1.3; }
.sm-hb .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; } .sm-hb .go { padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 13px; }
.sm-hb-dg { background: radial-gradient(70% 80% at 0% 100%, rgba(139,108,255,.45), transparent 70%), #0A0A12; color: #F1F0FA; box-shadow: 0 22px 48px -20px rgba(108,77,240,.6); } .sm-hb-dg .k { color: #B9A8FF; } .sm-hb-dg .row > span:first-child { color: #A3A0BD; } .sm-hb-dg .row b { color: #fff; } .sm-hb-dg .go { background: var(--grad); color: #fff; }
.sm-hb-dg .tags { display: flex; gap: 6px; flex-wrap: wrap; } .sm-hb-dg .tags i { font-style: normal; font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.08); }
.sm-hb-st { background: linear-gradient(160deg, color-mix(in srgb, #E83E7C 10%, var(--surf)), color-mix(in srgb, #6C4DF0 10%, var(--surf))); color: var(--text); border: 1px solid var(--line); } .sm-hb-st .k { color: var(--pc-studio); } .sm-hb-st .row > span:first-child { color: var(--muted); } .sm-hb-st .go { background: var(--text); color: var(--bg); }
.sm-hb-st .sw { display: flex; gap: 8px; } .sm-hb-st .sw i { flex: 1; height: 64px; border-radius: 12px; } .sm-hb-st .sw i:nth-child(1) { background: linear-gradient(160deg, #E83E7C, #6E1B3C); } .sm-hb-st .sw i:nth-child(2) { background: linear-gradient(160deg, #F2702E, #7A3412); } .sm-hb-st .sw i:nth-child(3) { background: linear-gradient(160deg, #6C4DF0, #2B1E6E); } .sm-hb-st .sw i:nth-child(4) { background: linear-gradient(160deg, #1BA8D6, #0C4E66); }
@media (prefers-reduced-motion: reduce) { .sm-marq, .sm-bub, .sm-chk, .sm-flow, .sm-live { animation: none !important; } }
html, body { overflow-x: clip; }
.sm-dg .wrap, .sm-st .wrap, .sm-dg .wrap > *, .sm-st .wrap > * { min-width: 0; }
.sm-marq-w { max-width: calc(100% + 32px); box-sizing: border-box; }
