/* ===== قسورة ERP — التصميم الجديد (v2): الصفحة الرئيسية. يُحمَّل بعد v2-shell.css ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--f); font-size: 17px; line-height: 1.75; color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--o6); text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .45em; line-height: 1.25; font-weight: 800; color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--o); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }
.v-wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
[data-icon] { display: inline-grid; place-items: center; }
[data-icon] svg { width: 1em; height: 1em; }

/* ---------- الهيرو ---------- */
.v-hero { position: relative; background: var(--night); color: #fff; padding: clamp(120px, 15vw, 172px) 0 0; text-align: center; }
.v-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.v-hero-bg::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(60% 46% at 50% 0%, rgba(242, 122, 26, .30), transparent 70%),
  radial-gradient(36% 30% at 86% 30%, rgba(255, 154, 69, .14), transparent 70%),
  radial-gradient(36% 30% at 12% 42%, rgba(255, 154, 69, .10), transparent 70%); }
.v-hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 78%); mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 78%); }
.v-hero > .v-wrap { position: relative; z-index: 1; }
.v-pill { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .98rem; color: #FFD3AB; background: rgba(242, 122, 26, .12); border: 1px solid rgba(242, 122, 26, .35); padding: 5px 16px; border-radius: 99px; margin-bottom: 26px; }
.v-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--o); box-shadow: 0 0 0 4px rgba(242, 122, 26, .25); animation: vpulse 2.2s ease-in-out infinite; }
@keyframes vpulse { 50% { box-shadow: 0 0 0 9px rgba(242, 122, 26, 0); } }
.v-hero h1 { font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.2rem); line-height: 1.14; letter-spacing: -.01em; margin: 0 auto .32em; max-width: 13em; text-wrap: balance; }
.v-hero h1 span { display: block; background: linear-gradient(100deg, #FFC08A 0%, #FF9A45 40%, #F27A1A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .12em; }
.v-lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.36rem); font-weight: 300; color: var(--ntext); max-width: 44em; margin: 0 auto 34px; line-height: 1.7; text-wrap: balance; }
.v-hero .v-row { justify-content: center; }
.v-hero .v-btn { padding: 15px 32px; font-size: 1.1rem; }
.v-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 26px; color: #A99C91; font-size: .98rem; }
.v-checks li { display: flex; align-items: center; gap: 7px; }
.v-checks [data-icon] { color: var(--ok); font-size: 1.1rem; }

/* منصّة عرض البرنامج */
.v-stage { position: relative; margin: clamp(44px, 6vw, 72px) auto calc(-1 * var(--ov)); max-width: 1120px; }
.v-stage::before { content: ''; position: absolute; inset: 8% 6% 30%; background: radial-gradient(closest-side, rgba(242, 122, 26, .55), transparent); filter: blur(70px); z-index: -1; }
.v-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--nline); margin-bottom: 22px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.v-tabs button { position: relative; overflow: hidden; font: 700 .98rem var(--f); color: #BDAFA3; background: none; border: 0; padding: 8px 18px; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .2s, background .2s; }
.v-tabs button:hover { color: #fff; }
.v-tabs button[aria-selected="true"] { color: #fff; background: rgba(242, 122, 26, .22); box-shadow: inset 0 0 0 1px rgba(242, 122, 26, .5); }
.v-tabs button[aria-selected="true"]::after { content: ''; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--o); transform-origin: right; transform: scaleX(0); }
.v-stage.auto .v-tabs button[aria-selected="true"]::after { animation: vprog 5.5s linear forwards; }
html[dir="ltr"] .v-tabs button[aria-selected="true"]::after { transform-origin: left; }
@keyframes vprog { to { transform: scaleX(1); } }
.v-persp { perspective: 1800px; }
.v-frame { position: relative; border-radius: 18px; overflow: hidden; background: #0E0906; border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--sh-lg); transform: rotateX(var(--tilt, 0deg)); transform-origin: 50% 100%; will-change: transform; }
.v-chrome { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #1B130E; border-bottom: 1px solid var(--nline); direction: ltr; }
.v-chrome i { width: 11px; height: 11px; border-radius: 50%; background: #4A3D34; }
.v-chrome i:first-child { background: var(--o); }
.v-chrome span { flex: 1; text-align: center; color: #8F8176; font-size: .82rem; background: rgba(255, 255, 255, .05); border-radius: 8px; padding: 2px 10px; max-width: 340px; margin-inline: auto; }
.v-shots { position: relative; aspect-ratio: 1440 / 880; background: #fff; }
.v-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .55s ease; }
.v-shots img.on { opacity: 1; }
.v-cap { position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(18, 12, 8, .78); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* مجسمات ثلاثية الأبعاد متحركة على جانبي عنوان الهيرو، من مجال البرنامج: فاتورة، عملة، رسم مبيعات، كاشير يطبع إيصالًا، كرتونة مخزون (الشاشات الواسعة فقط) */
.v-hero .q3-deco { display: none; }
.v3o { display: none; position: absolute; top: 0; left: 0; right: 0; height: 780px; pointer-events: none; z-index: 0; font-size: 10px; direction: ltr; opacity: .42; }
@media (min-width: 1400px) { .v3o { display: block; } }
@media (min-width: 1750px) { .v3o { font-size: 12px; } }
.v3o-p { position: absolute; -webkit-perspective: 900px; perspective: 900px; -webkit-transform: translate3d(calc(var(--px, 0) * var(--k, 10px)), calc(var(--py, 0) * var(--k, 10px)), 0); transform: translate3d(calc(var(--px, 0) * var(--k, 10px)), calc(var(--py, 0) * var(--k, 10px)), 0); transition: transform .6s ease-out; }
.v3o-inv { left: 2.5%; top: 170px; }
.v3o-cn { left: 15%; top: 455px; }
.v3o-cn .q3-coin { width: 6.4em; height: 6.4em; margin: 0; }
.v3o-bx { left: 4.5%; top: 560px; }
.v3o-ch { right: 3%; top: 175px; }
.v3o-ps { right: 9%; top: 450px; }
@media (min-width: 1750px) { .v3o-inv { left: 5%; top: 160px; } .v3o-cn { left: 17%; top: 440px; } .v3o-bx { left: 7%; top: 560px; } .v3o-ch { right: 6%; top: 160px; } .v3o-ps { right: 13%; top: 450px; } }

/* الفاتورة: تطفو وتتمايل، وختم «تم» ينبض */
.v3o-inv-i { position: relative; width: 17em; height: 21em; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transform: rotateY(26deg) rotateX(10deg) rotateZ(-5deg); transform: rotateY(26deg) rotateX(10deg) rotateZ(-5deg); -webkit-animation: v3oinv 7s ease-in-out infinite; animation: v3oinv 7s ease-in-out infinite; }
@-webkit-keyframes v3oinv { 50% { -webkit-transform: rotateY(6deg) rotateX(4deg) rotateZ(-2deg) translateY(-18px); } }
@keyframes v3oinv { 50% { transform: rotateY(6deg) rotateX(4deg) rotateZ(-2deg) translateY(-18px); } }
.v3o-sheet { position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box; padding: 1.5em 1.5em 0; border-radius: 1.3em; text-align: left; background: #241A13; background: linear-gradient(160deg, #3A2B21 0%, #221812 55%, #17100B 100%); border: 1px solid rgba(255, 255, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2.5em 4em -1.5em rgba(0, 0, 0, .8), 0 0 3em -1em rgba(242, 122, 26, .35); -webkit-transform: translateZ(18px); transform: translateZ(18px); }
.v3o-sheet.v3o-back { padding: 0; background: linear-gradient(160deg, rgba(242, 122, 26, .35), rgba(242, 122, 26, .08)); border-color: rgba(255, 154, 69, .4); box-shadow: none; -webkit-transform: translate3d(1.3em, 1.3em, -16px); transform: translate3d(1.3em, 1.3em, -16px); }
.v3o-logo { display: block; width: 2.8em; height: 2.8em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFB46B, #F27A1A 60%, #B44F05); box-shadow: 0 .4em .8em -.2em rgba(0, 0, 0, .6); margin-bottom: 1.2em; }
.v3o-logo img { display: block; width: 2em; height: 2em; margin: .4em; -webkit-filter: brightness(.25); filter: brightness(.25); }
.v3o-no { position: absolute; top: 2.1em; right: 1.5em; font: 700 1.05em/1 'Segoe UI', Tahoma, sans-serif; font-style: normal; color: #CDBFB3; letter-spacing: .04em; }
.v3o-ln { display: block; height: .6em; border-radius: .3em; background: rgba(255, 255, 255, .13); margin-bottom: .85em; }
.v3o-vat { display: inline-block; margin-top: .4em; padding: .25em .7em; border-radius: 99px; font: 700 .95em/1.3 'Segoe UI', Tahoma, sans-serif; color: #FFD3AB; background: rgba(242, 122, 26, .18); border: 1px solid rgba(242, 122, 26, .45); }
.v3o-tot { display: block; margin-top: .45em; font: 800 2.1em/1.2 'Segoe UI', Tahoma, sans-serif; color: #fff; text-shadow: 0 .1em .4em rgba(242, 122, 26, .5); }
.v3o-qr { position: absolute; right: 1.5em; bottom: 1.4em; width: 3.6em; height: 3.6em; border-radius: .2em; background-color: #F6EEE6; background-image: linear-gradient(45deg, #1D1510 25%, transparent 25%, transparent 75%, #1D1510 75%), linear-gradient(45deg, #1D1510 25%, transparent 25%, transparent 75%, #1D1510 75%); background-size: .9em .9em; background-position: 0 0, .45em .45em; box-shadow: 0 0 0 .3em #F6EEE6; }
.v3o-ok { position: absolute; top: -1.2em; left: -1.2em; width: 1.9em; height: 1.9em; border-radius: 50%; text-align: center; font: 800 1.6em/1.9em 'Segoe UI', Tahoma, sans-serif; color: #fff; background: radial-gradient(circle at 35% 30%, #5BE3A0, #1E9E62 65%, #10663E); box-shadow: 0 .5em 1em -.3em rgba(0, 0, 0, .6); -webkit-transform: translateZ(60px); transform: translateZ(60px); -webkit-animation: v3ook 3.5s ease-in-out infinite; animation: v3ook 3.5s ease-in-out infinite; }
@-webkit-keyframes v3ook { 0%, 60%, 100% { -webkit-transform: translateZ(60px) scale(1); } 70% { -webkit-transform: translateZ(60px) scale(1.25); } 80% { -webkit-transform: translateZ(60px) scale(.95); } }
@keyframes v3ook { 0%, 60%, 100% { transform: translateZ(60px) scale(1); } 70% { transform: translateZ(60px) scale(1.25); } 80% { transform: translateZ(60px) scale(.95); } }

/* رسم المبيعات: يدور ببطء والأعمدة تنمو وتنخفض */
.v3o-ch-i { position: relative; width: 12.4em; height: 15em; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transform: rotateX(-18deg) rotateY(-40deg); transform: rotateX(-18deg) rotateY(-40deg); -webkit-animation: v3och 9s ease-in-out infinite; animation: v3och 9s ease-in-out infinite; }
@-webkit-keyframes v3och { 50% { -webkit-transform: rotateX(-12deg) rotateY(-8deg) translateY(-12px); } }
@keyframes v3och { 50% { transform: rotateX(-12deg) rotateY(-8deg) translateY(-12px); } }
.v3o-base { position: absolute; left: -1.5em; right: -1.5em; bottom: -1.2em; height: 5em; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 122, 26, .5), rgba(242, 122, 26, 0)); -webkit-transform: rotateX(80deg); transform: rotateX(80deg); }
.v3o-bar { position: absolute; bottom: 1.5em; width: 2.8em; height: var(--h); -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; -webkit-animation: v3obar 4s ease-in-out infinite; animation: v3obar 4s ease-in-out infinite; }
.v3o-bar + .v3o-bar { -webkit-animation-delay: -1.3s; animation-delay: -1.3s; }
.v3o-bar + .v3o-bar + .v3o-bar { -webkit-animation-delay: -2.6s; animation-delay: -2.6s; }
@-webkit-keyframes v3obar { 0%, 100% { -webkit-transform: scaleY(.55); } 50% { -webkit-transform: scaleY(1); } }
@keyframes v3obar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.v3o-bar i { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.v3o-bar .f { background: linear-gradient(180deg, #FFB06B 0%, #F27A1A 45%, #C85A08 100%); -webkit-transform: translateZ(1.4em); transform: translateZ(1.4em); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.v3o-bar .s { background: linear-gradient(180deg, #D96A12, #9A4205); -webkit-transform: rotateY(90deg) translateZ(1.4em); transform: rotateY(90deg) translateZ(1.4em); }
.v3o-bar .l { background: linear-gradient(180deg, #E07316, #A54806); -webkit-transform: rotateY(-90deg) translateZ(1.4em); transform: rotateY(-90deg) translateZ(1.4em); }
.v3o-bar .t { height: 2.8em; background: #FFC58F; -webkit-transform: rotateX(90deg) translateZ(1.4em); transform: rotateX(90deg) translateZ(1.4em); }
.v3o-up { position: absolute; top: -.8em; right: -1.4em; padding: .35em .9em; border-radius: 99px; font: 800 1.2em/1.3 'Segoe UI', Tahoma, sans-serif; color: #fff; background: linear-gradient(180deg, #2DBF7C, #1E9E62); box-shadow: 0 .6em 1.2em -.4em rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .35); -webkit-animation: v3oup 4s ease-in-out infinite; animation: v3oup 4s ease-in-out infinite; }
@-webkit-keyframes v3oup { 50% { -webkit-transform: translateY(-10px); } }
@keyframes v3oup { 50% { transform: translateY(-10px); } }

/* كرتونة المخزون: تدور حول نفسها */
.v3o-box { position: relative; width: 7em; height: 7em; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-animation: v3obox 12s linear infinite; animation: v3obox 12s linear infinite; }
@-webkit-keyframes v3obox { from { -webkit-transform: rotateX(-22deg) rotateY(0deg); } to { -webkit-transform: rotateX(-22deg) rotateY(360deg); } }
@keyframes v3obox { from { transform: rotateX(-22deg) rotateY(0deg); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.v3o-box i { position: absolute; top: 0; left: 0; width: 7em; height: 7em; background: #B9773A; background: linear-gradient(180deg, #D0915A, #A8662C); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.v3o-box i:before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.2em; background: rgba(242, 210, 160, .55); }
.v3o-box .f1 { -webkit-transform: translateZ(3.5em); transform: translateZ(3.5em); }
.v3o-box .f1:after { content: 'QF'; position: absolute; left: 1.2em; bottom: 1.1em; padding: .25em .55em; border: 2px solid rgba(29, 21, 16, .7); border-radius: .3em; font: 800 1.2em/1 'Segoe UI', Tahoma, sans-serif; color: rgba(29, 21, 16, .75); }
.v3o-box .f2 { -webkit-transform: rotateY(90deg) translateZ(3.5em); transform: rotateY(90deg) translateZ(3.5em); background: linear-gradient(180deg, #B97A40, #8F5420); }
.v3o-box .f3 { -webkit-transform: rotateY(180deg) translateZ(3.5em); transform: rotateY(180deg) translateZ(3.5em); }
.v3o-box .f4 { -webkit-transform: rotateY(-90deg) translateZ(3.5em); transform: rotateY(-90deg) translateZ(3.5em); background: linear-gradient(180deg, #B97A40, #8F5420); }
.v3o-box .tp { background: #E0A56C; -webkit-transform: rotateX(90deg) translateZ(3.5em); transform: rotateX(90deg) translateZ(3.5em); }
.v3o-box .tp:before { top: 2.9em; height: 1.2em; background: rgba(242, 122, 26, .75); }
.v3o-box .bt { background: #5A3615; -webkit-transform: rotateX(-90deg) translateZ(3.5em); transform: rotateX(-90deg) translateZ(3.5em); box-shadow: 0 0 3em 1em rgba(0, 0, 0, .5); }

/* جهاز الكاشير: يطبع إيصالًا يخرج ويعود */
.v3o-pos { position: relative; width: 14em; height: 17em; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transform: rotateX(14deg) rotateY(-28deg); transform: rotateX(14deg) rotateY(-28deg); -webkit-animation: v3opos 8s ease-in-out infinite; animation: v3opos 8s ease-in-out infinite; }
@-webkit-keyframes v3opos { 50% { -webkit-transform: rotateX(8deg) rotateY(-12deg) translateY(-12px); } }
@keyframes v3opos { 50% { transform: rotateX(8deg) rotateY(-12deg) translateY(-12px); } }
.v3o-body { position: absolute; left: 0; bottom: 0; width: 14em; height: 11em; box-sizing: border-box; padding: 1em; border-radius: 1.2em; background: linear-gradient(160deg, #3B2C22, #1A120D); border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 .35em #2A1F17, 0 2.2em 3.5em -1.2em rgba(0, 0, 0, .85); -webkit-transform: translateZ(10px); transform: translateZ(10px); }
.v3o-scr { height: 3.4em; border-radius: .5em; padding: .4em .8em; box-sizing: border-box; text-align: right; background: linear-gradient(180deg, #123528, #0A2219); box-shadow: inset 0 0 1em rgba(45, 191, 124, .35); }
.v3o-scr small { display: block; font: 700 .75em/1 'Segoe UI', Tahoma, sans-serif; color: #6FE3AC; letter-spacing: .1em; }
.v3o-scr b { display: block; font: 800 1.7em/1.2 'Segoe UI', Tahoma, sans-serif; color: #B8FFD9; text-shadow: 0 0 .5em rgba(111, 227, 172, .7); }
.v3o-keys { margin-top: .8em; font-size: 0; }
.v3o-keys i { display: inline-block; width: 3.6em; height: 1.4em; margin: 0 .4em .45em 0; border-radius: .35em; font-size: 10px; background: linear-gradient(180deg, #4A392D, #2E2219); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 .2em 0 #120C08; }
.v3o-keys i:nth-child(3n) { margin-right: 0; }
.v3o-keys i.ok { background: linear-gradient(180deg, #FF9A45, #E06A0E); }
.v3o-rc { position: absolute; left: 3em; bottom: 10.3em; width: 8em; height: 7em; overflow: hidden; -webkit-transform: translateZ(4px); transform: translateZ(4px); }
.v3o-rc-i { position: absolute; left: 0; bottom: 0; width: 8em; height: 7em; box-sizing: border-box; padding: .6em .8em; border-radius: .3em .3em 0 0; background: #FBF5EE; box-shadow: 0 .3em 1em rgba(0, 0, 0, .35); text-align: center; -webkit-animation: v3orc 5s ease-in-out infinite; animation: v3orc 5s ease-in-out infinite; }
@-webkit-keyframes v3orc { 0%, 8% { -webkit-transform: translateY(100%); } 55%, 85% { -webkit-transform: translateY(0); } 100% { -webkit-transform: translateY(100%); } }
@keyframes v3orc { 0%, 8% { transform: translateY(100%); } 55%, 85% { transform: translateY(0); } 100% { transform: translateY(100%); } }
.v3o-rc-i b { display: block; font: 800 1em/1.3 'Segoe UI', Tahoma, sans-serif; color: #F27A1A; }
.v3o-rc-i i { display: block; height: .45em; margin: .45em auto 0; border-radius: .2em; background: #C9BBAE; }
.v3o-rc-i i.q { width: 2em; height: 2em; margin-top: .6em; background-color: #FBF5EE; background-image: linear-gradient(45deg, #1D1510 25%, transparent 25%, transparent 75%, #1D1510 75%), linear-gradient(45deg, #1D1510 25%, transparent 25%, transparent 75%, #1D1510 75%); background-size: .5em .5em; background-position: 0 0, .25em .25em; border-radius: 0; }

@media (prefers-reduced-motion: reduce) { .v3o-inv-i, .v3o-ch-i, .v3o-up, .v3o-bar, .v3o-box, .v3o-pos, .v3o-rc-i, .v3o-ok { -webkit-animation: none !important; animation: none !important; } .v3o-p { transition: none; } }

/* المشهد ثلاثي الأبعاد: كمبيوتر + تابلت + جوال (أنماط الأجهزة من الطبقة المشتركة q.css: q3d-*) */
.v-persp { position: relative; font-size: 13.3px; -webkit-perspective: 2260px; perspective: 2260px; direction: ltr; text-align: left; }
.v3-fit { width: 84em; -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }
.v3-scene { position: relative; width: 84em; height: 53em; margin: 0 auto; direction: ltr; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transform: rotateX(var(--tilt, 4deg)) rotateX(var(--mx, 0deg)) rotateY(var(--my, 0deg)); transform: rotateX(var(--tilt, 4deg)) rotateX(var(--mx, 0deg)) rotateY(var(--my, 0deg)); -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; transition: transform .45s ease-out; will-change: transform; }
.v3-scene > div { position: absolute; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }
.v3-d { left: 12em; top: 0; -webkit-animation: q3fa 7s ease-in-out infinite; animation: q3fa 7s ease-in-out infinite; }
.v3-t { left: 0; top: 16em; -webkit-transform: translateZ(5em) rotateY(16deg); transform: translateZ(5em) rotateY(16deg); -webkit-animation: q3fb 8s ease-in-out infinite; animation: q3fb 8s ease-in-out infinite; }
.v3-m { left: 69em; top: 20em; -webkit-transform: translateZ(8em) rotateY(-16deg); transform: translateZ(8em) rotateY(-16deg); -webkit-animation: q3fc 6.5s ease-in-out infinite; animation: q3fc 6.5s ease-in-out infinite; }
.v3-glow { left: 6em; top: 36em; width: 72em; height: 14em; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(242, 122, 26, .45), rgba(242, 122, 26, 0)); -webkit-transform: translateZ(-6em) rotateX(80deg); transform: translateZ(-6em) rotateX(80deg); }
.v3-d .v-shots { aspect-ratio: auto; height: 35.6em; }
.v3-d .v-shots img { top: 0; left: 0; }
.v3-d .v-cap { bottom: 10px; right: 10px; }
@media (max-width: 680px) {
  .v3-fit { width: 66em; }
  .v3-scene { width: 66em; height: 50em; }
  .v3-d { left: 0; }
  .v3-t { display: none; }
  .v3-m { font-size: 1.15em; left: auto; right: 2.6em; top: 13em; }
  .v3-glow { left: -4em; }
}
@media (prefers-reduced-motion: reduce) { .v3-scene > div { -webkit-animation: none !important; animation: none !important; } .v3-scene { transition: none; } }
/* لقطات المزايا: إطار مائل ثلاثي الأبعاد مع طبقة خلفية */
.v-feat { -webkit-perspective: 1600px; perspective: 1600px; }
.v-shot { overflow: visible; -webkit-transform: rotateY(-7deg) rotateX(3deg); transform: rotateY(-7deg) rotateX(3deg); box-shadow: 0 2px 4px rgba(60, 30, 5, .08), 0 24px 40px -22px rgba(60, 30, 5, .4), 0 60px 90px -50px rgba(242, 122, 26, .45); }
.v-shot::before { content: ''; position: absolute; top: 18px; left: -18px; right: 18px; bottom: -18px; border-radius: 18px; background: linear-gradient(135deg, rgba(242, 122, 26, .22), rgba(242, 122, 26, .04)); border: 1px solid rgba(242, 122, 26, .25); z-index: -1; -webkit-transform: translateZ(-40px); transform: translateZ(-40px); }
.v-shot > img, .v-shot > .v-chrome { position: relative; }
.v-shot > .v-chrome { border-radius: 16px 16px 0 0; }
.v-shot > img { display: block; border-radius: 0 0 16px 16px; }
.v-feat:nth-child(even) .v-shot { -webkit-transform: rotateY(7deg) rotateX(3deg); transform: rotateY(7deg) rotateX(3deg); }
.v-feat:nth-child(even) .v-shot::before { left: 18px; right: -18px; }
.v-feat .v-shot:hover { -webkit-transform: rotateY(0deg) rotateX(0deg) translateY(-6px); transform: rotateY(0deg) rotateX(0deg) translateY(-6px); }
@media (max-width: 900px) { .v-shot, .v-feat:nth-child(even) .v-shot { -webkit-transform: none; transform: none; } .v-shot::before { display: none; } }

/* ---------- الأقسام ---------- */
.v-sec { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.v-sec.alt { background: var(--alt); }
.v-sec.dark { background: var(--night); color: #F4ECE4; }
.v-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.v-eye { display: inline-block; font-weight: 700; font-size: .95rem; color: var(--o7); letter-spacing: .02em; margin-bottom: 12px; }
.v-eye::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--o); vertical-align: middle; margin-inline-end: 10px; border-radius: 2px; }
.dark .v-eye { color: #FFB06B; }
.v-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.2; text-wrap: balance; }
.v-head p { color: var(--mut); font-size: 1.14rem; margin: 0; text-wrap: balance; }
.dark .v-head p { color: var(--ntext); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- الأرقام ---------- */
.v-stats { padding: calc(var(--ov) + clamp(48px, 6vw, 80px)) 0 clamp(36px, 5vw, 56px); }
.v-nums { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--sh); overflow: hidden; }
.v-num { padding: 30px 20px; text-align: center; border-inline-start: 1px solid var(--line); }
.v-num:first-child { border: 0; }
.v-num b { display: block; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.8rem); line-height: 1; font-weight: 800; color: var(--ink); direction: ltr; }
.v-num b em { font-style: normal; color: var(--o); }
.v-num span { display: block; margin-top: 8px; color: var(--mut); font-size: 1.02rem; }
.v-apps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; margin-top: 36px; }
.v-apps > span { color: var(--mut); font-weight: 700; margin-inline-end: 8px; }
.v-apps img { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: transform .2s; }
.v-apps img:hover { transform: translateY(-3px) scale(1.06); }

/* ---------- البنتو ---------- */
.v-bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(180px, auto); gap: 18px; }
.v-b { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.v-b:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--o-line); }
.v-b h3 { font-size: 1.42rem; margin-bottom: .3em; }
.v-b p { color: var(--mut); margin: 0; }
.v-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--o-soft); color: var(--o6); font-size: 1.5rem; display: grid; place-items: center; margin-bottom: 16px; box-shadow: inset 0 0 0 1px var(--o-line); }
.v-b.big { grid-row: span 2; background: var(--night2); color: #fff; border-color: transparent; padding: 32px 32px 0; display: flex; flex-direction: column; }
.v-b.big::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 50% at 80% 0%, rgba(242, 122, 26, .28), transparent 70%); pointer-events: none; }
.v-b.big > * { position: relative; }
.v-b.big h3 { font-size: 1.9rem; }
.v-b.big p { color: var(--ntext); font-size: 1.08rem; }
.v-b.big .v-ic { background: rgba(242, 122, 26, .18); color: #FFB06B; box-shadow: inset 0 0 0 1px rgba(242, 122, 26, .4); }
.v-b.big figure { margin: 26px 0 0; flex: 1; min-height: 190px; border-radius: 14px 14px 0 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0; box-shadow: 0 -20px 50px -20px rgba(242, 122, 26, .4); }
.v-b.big figure img { width: 100%; height: 100%; object-fit: cover; object-position: top right; }
.v-b.wide { grid-column: span 2; display: flex; align-items: center; gap: 22px; }
.v-b.wide .v-ic { margin: 0; flex: none; }

/* ---------- الأنشطة ---------- */
.v-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.v-acts button { display: inline-flex; align-items: center; gap: 9px; font: 700 1rem var(--f); color: var(--ink2); background: var(--card); border: 1px solid var(--line); padding: 9px 18px; border-radius: 99px; cursor: pointer; transition: all .2s ease; }
.v-acts button [data-icon] { color: var(--o); font-size: 1.15rem; }
.v-acts button:hover { border-color: var(--o); color: var(--ink); transform: translateY(-2px); }
.v-acts button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 12px 24px -12px rgba(23, 17, 13, .6); }
.v-acts button[aria-selected="true"] [data-icon] { color: #FFB06B; }
.v-ap { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--sh); animation: vfade .45s ease; }
.v-ap[hidden] { display: none; }
@keyframes vfade { from { opacity: 0; transform: translateY(10px); } }
.v-ap-t { padding: clamp(26px, 4vw, 46px); }
.v-ap-t .v-ic { width: 58px; height: 58px; font-size: 1.8rem; }
.v-ap-t h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.v-ap-t p { color: var(--mut); font-size: 1.08rem; margin-bottom: 24px; }
.v-ap-l { padding: clamp(26px, 4vw, 46px); background: var(--alt); border-inline-start: 1px solid var(--line); display: grid; gap: 14px; align-content: center; }
.v-ap-l li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; color: var(--ink2); }
.v-ap-l [data-icon] { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #E3F5EC; color: var(--ok); font-size: .95rem; margin-top: 3px; }

/* ---------- صفوف المزايا ---------- */
.v-feat { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.v-feat + .v-feat { margin-top: clamp(64px, 8vw, 110px); }
.v-feat:nth-child(even) .v-feat-t { order: 2; }
.v-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--o7); background: var(--o-soft); border: 1px solid var(--o-line); padding: 3px 14px; border-radius: 99px; margin-bottom: 16px; }
.v-feat-t h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.25; }
.v-feat-t > p { color: var(--mut); font-size: 1.1rem; }
.v-ticks { display: grid; gap: 12px; margin: 22px 0 28px; }
.v-ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink2); }
.v-ticks [data-icon] { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--o-soft); color: var(--o6); font-size: .9rem; margin-top: 4px; }
.v-shot { margin: 0; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 40px 80px -40px rgba(60, 30, 5, .45); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.v-shot:hover { transform: translateY(-6px) scale(1.01); }
.v-shot .v-chrome span { background: rgba(255, 255, 255, .06); }

/* ---------- الدول ---------- */
.v-ctry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v-c { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.v-c:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--o-line); }
.v-c-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.v-c-h i { font-style: normal; font-weight: 800; font-size: .95rem; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #FFB06B; display: grid; place-items: center; letter-spacing: .04em; }
.v-c-h b { font-size: 1.3rem; }
.v-c small { display: inline-block; font-size: .88rem; font-weight: 700; color: var(--o7); background: var(--o-soft); padding: 2px 12px; border-radius: 99px; margin-bottom: 10px; }
.v-c p { color: var(--mut); font-size: .98rem; margin: 0; line-height: 1.65; }

/* ---------- الوحدات (داكن) ---------- */
.v-sec.dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 40% at 85% 0%, rgba(242, 122, 26, .2), transparent 70%), radial-gradient(40% 40% at 5% 100%, rgba(242, 122, 26, .12), transparent 70%); pointer-events: none; }
.v-sec.dark > .v-wrap { position: relative; }
.v-mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v-mods .card { background: rgba(255, 255, 255, .04); border: 1px solid var(--nline); border-radius: var(--r); padding: 26px; transition: background .3s, border-color .3s, transform .3s; }
.v-mods .card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(242, 122, 26, .5); transform: translateY(-4px); }
.v-mods .icon { width: 50px; height: 50px; border-radius: 14px; background: rgba(242, 122, 26, .16); color: #FFB06B; font-size: 1.5rem; display: grid; place-items: center; margin-bottom: 16px; box-shadow: inset 0 0 0 1px rgba(242, 122, 26, .35); }
.v-mods h3 { font-size: 1.3rem; color: #fff; }
.v-mods .chips { display: grid; gap: 9px; margin-top: 14px; }
.v-mods .chips li { color: var(--ntext); padding-inline-start: 18px; position: relative; }
.v-mods .chips li::before { content: ''; position: absolute; inset-inline-start: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--o); }

/* ---------- بطاقات عامة ---------- */
.v-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v-g5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.v-card, .v-g3 > .card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; color: inherit; transition: transform .3s, box-shadow .3s, border-color .3s; }
.v-card:hover, .v-g3 > .card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--o-line); color: inherit; }
.v-card h3, .v-g3 > .card h3 { font-size: 1.28rem; }
.v-card p, .v-g3 > .card p { color: var(--mut); margin: 0; font-size: 1rem; flex: 1; }
.v-g3 > .card .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }
.v-g3 > .card .btn { display: inline-flex; font: 700 .98rem var(--f); padding: 9px 20px; border-radius: 12px; border: 1.5px solid var(--line); color: var(--ink); background: var(--card); transition: all .2s; }
.v-g3 > .card .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.v-g3 > .card .btn:hover { border-color: var(--o); transform: translateY(-2px); }
.v-g3 > .card .btn-primary:hover { background: var(--o6); border-color: var(--o6); }
.v-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--o6); }
.v-more [data-icon] { transition: transform .2s; }
html[dir="ltr"] .v-more [data-icon] { transform: scaleX(-1); }
.v-card:hover .v-more [data-icon] { transform: translateX(-4px); }
html[dir="ltr"] .v-card:hover .v-more [data-icon] { transform: scaleX(-1) translateX(-4px); }
.v-center { text-align: center; margin-top: 36px; }

/* ---------- الخطوات ---------- */
.v-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.v-steps::before { content: ''; position: absolute; top: 27px; inset-inline: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--o-line) 0 8px, transparent 8px 16px); }
.v-steps .step { counter-increment: s; position: relative; text-align: center; padding: 0 10px; }
.v-steps .step::before { content: counter(s); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--ink); color: #FFB06B; font-weight: 800; font-size: 1.4rem; box-shadow: 0 0 0 8px var(--alt); position: relative; }
.v-steps h3 { font-size: 1.3rem; }
.v-steps p { color: var(--mut); margin: 0; }

/* ---------- المواقع ---------- */
.v-sites { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v-site { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: inherit; transition: transform .3s, box-shadow .3s, border-color .3s; }
.v-site:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--o); color: inherit; }
.v-site .v-ic { width: 44px; height: 44px; font-size: 1.3rem; margin: 0; flex: none; border-radius: 12px; }
.v-site b { display: block; font-size: 1.08rem; line-height: 1.35; margin-bottom: 4px; }
.v-site small { display: block; color: var(--mut); font-size: .9rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- الأسئلة ---------- */
.v-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.v-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.v-faq details[open] { border-color: var(--o-line); box-shadow: var(--sh); }
.v-faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 1.14rem; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--o-soft); color: var(--o6); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.v-faq details[open] summary::after { transform: rotate(45deg); }
.v-faq p { padding: 0 22px 20px; margin: 0; color: var(--ink2); }

/* ---------- الدعوة ---------- */
.v-cta { position: relative; overflow: hidden; border-radius: 32px; background: var(--night); color: #fff; text-align: center; padding: clamp(48px, 8vw, 96px) 24px; }
.v-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 110%, rgba(242, 122, 26, .5), transparent 70%), radial-gradient(40% 50% at 90% 0%, rgba(255, 154, 69, .18), transparent 70%); }
.v-cta::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 50% 60%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 60%, #000, transparent); }
.v-cta > * { position: relative; z-index: 1; }
.v-cta h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); line-height: 1.2; }
.v-cta p { color: var(--ntext); font-size: 1.18rem; max-width: 600px; margin: 0 auto 30px; }
.v-cta .v-row { justify-content: center; }

/* ---------- الاستجابة ---------- */
@media (max-width: 1080px) {
  .v-ctry, .v-mods, .v-g4, .v-steps { grid-template-columns: repeat(2, 1fr); }
  .v-g5 { grid-template-columns: repeat(3, 1fr); }
  .v-sites { grid-template-columns: repeat(2, 1fr); }
  .v-steps::before { display: none; }
  .v-steps { gap: 34px 18px; }
  .v-bento { grid-template-columns: 1fr 1fr; }
  .v-b.big { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .v-wrap { width: min(100% - 32px, var(--wrap)); }
  .v-hero .v-btn { width: 100%; }
  .v-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .v-tabs::-webkit-scrollbar { display: none; }
  .v-tabs button { flex: none; padding: 8px 14px; }
  .v-chrome { padding: 8px 12px; }
  .v-chrome span { font-size: .7rem; }
  .v-nums { grid-template-columns: 1fr 1fr; }
  .v-num { padding: 22px 12px; }
  .v-num:nth-child(3) { border-inline-start: 0; }
  .v-num:nth-child(n+3) { border-top: 1px solid var(--line); }
  .v-apps img { width: 44px; height: 44px; }
  .v-apps > span { width: 100%; text-align: center; margin: 0; }
  .v-bento, .v-ap, .v-feat, .v-g3, .v-ctry, .v-mods, .v-g4, .v-g5 { grid-template-columns: 1fr; }
  .v-b.big, .v-b.wide { grid-column: auto; }
  .v-b.wide { flex-direction: column; align-items: flex-start; gap: 0; }
  .v-b.wide .v-ic { margin-bottom: 16px; }
  .v-ap-l { border-inline-start: 0; border-top: 1px solid var(--line); }
  .v-feat:nth-child(even) .v-feat-t { order: 0; }
  .v-acts { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 4px 16px 12px; margin-inline: -16px; scrollbar-width: none; }
  .v-acts::-webkit-scrollbar { display: none; }
  .v-acts button { flex: none; }
  .v-steps { grid-template-columns: 1fr 1fr; }
  .v-sites { grid-template-columns: 1fr; }
  .v-cta { border-radius: 24px; }
  .v-cta .v-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .v-frame { transform: none !important; }
  .v-pill::before, .v-stage.auto .v-tabs button[aria-selected="true"]::after { animation: none; }
}
@media (max-width: 760px) {
  .v-hero { padding-top: 104px; }
  .v-pill { font-size: .86rem; padding: 4px 14px; margin-bottom: 18px; }
  .v-hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .v-checks { font-size: .9rem; gap: 6px 16px; }
}
