/* =====================================================================
   VXCZ — سلايدر التعريف (أعلى الصفحة الرئيسية)
   يعتمد على متغيرات الهوية في styles.css
   ===================================================================== */
.intro { position: relative; overflow: hidden; background: var(--black); color: #fff; border-bottom: 1px solid #1d242a; }
.intro__viewport { overflow: hidden; touch-action: pan-y; outline: none; cursor: grab; }
.intro__viewport:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }
.intro__viewport.dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.intro__track { display: flex; transition: transform .75s cubic-bezier(.22, .8, .2, 1); will-change: transform; }
.intro__viewport.dragging .intro__track { transition: none; }

.islide { position: relative; isolation: isolate; flex: 0 0 100%; min-width: 0; min-height: 540px; display: flex; overflow: hidden; }
.islide::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.islide__num {
  position: absolute; z-index: -1; top: 14px; inset-inline-end: 12px;
  font-family: var(--font-latin); font-weight: 700; font-size: 110px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); user-select: none;
}
.islide__in { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 18px; padding-block: 28px 76px; }
.islide__copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.islide__copy h2 { font-size: 27px; font-weight: 900; line-height: 1.35; }
.islide__txt { color: #c9cfd4; font-size: 14.5px; line-height: 1.85; max-width: 520px; }
.islide__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(244, 198, 45, .35); margin-bottom: 4px; }
.islide__copy .islide__brand { font-family: var(--font-latin); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: .06em; direction: ltr; }
.islide__sub { color: var(--gold); font-size: 18px; font-weight: 800; line-height: 1.5; }
.islide__more { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1px solid #4a535b; font-size: 14px; font-weight: 800; transition: border-color .2s, color .2s; }
.islide__more:hover { border-color: var(--gold); color: var(--gold); }
.islide__quote { font-size: 21px; font-weight: 900; color: var(--gold); line-height: 1.5; }
.islide__steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.islide__steps li { display: inline-flex; align-items: center; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid #3a434a; }
.islide__steps li:not(:last-child)::after { content: "←"; margin-inline-start: 8px; color: var(--gold); font-weight: 900; }
.islide__steps .is-end { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.islide__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* دخول محتوى الشريحة الحالية */
.islide__copy > *, .islide__vis { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.islide.is-on .islide__copy > *, .islide.is-on .islide__vis { opacity: 1; transform: none; }
.islide.is-on .islide__copy > :nth-child(1) { transition-delay: .15s; }
.islide.is-on .islide__copy > :nth-child(2) { transition-delay: .22s; }
.islide.is-on .islide__copy > :nth-child(3) { transition-delay: .29s; }
.islide.is-on .islide__copy > :nth-child(4) { transition-delay: .36s; }
.islide.is-on .islide__copy > :nth-child(5) { transition-delay: .43s; }
.islide.is-on .islide__vis { transition-delay: .3s; }

/* خلفيات الشرائح */
.islide--hero::before { background: radial-gradient(circle at 25% 60%, #2b333b, #0e1317 48%, #07090b); }
.islide--hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 45%; background: repeating-linear-gradient(90deg, rgba(244, 198, 45, .07) 0 1px, transparent 1px 60px); -webkit-mask: linear-gradient(0deg, #000, transparent); mask: linear-gradient(0deg, #000, transparent); transform: perspective(300px) rotateX(55deg); transform-origin: bottom; pointer-events: none; }
.islide--mkt::before { background: radial-gradient(circle at 15% 25%, rgba(244, 198, 45, .1), transparent 45%), linear-gradient(160deg, #10161b, #080b0e); }
.islide--content::before { background: radial-gradient(circle at 30% 55%, #1c252d, #0a0d10 60%); }
.islide--show::before { background: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(135deg, #10161b, #080b0e); }
.islide--flow::before { background: radial-gradient(circle at 30% 50%, rgba(244, 198, 45, .09), transparent 50%), #0b1014; }
.islide--why::before { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 18px), linear-gradient(180deg, #0e1419, #080b0e); }
.islide--cta::before { background: radial-gradient(circle at 50% 50%, rgba(244, 198, 45, .16), transparent 55%), #080b0e; }

/* المساحة البصرية: تصميم ثابت 340×190 يتكبّر حسب الشاشة */
.islide__vis { position: relative; height: 200px; }
.iv { position: absolute; left: 50%; top: 50%; width: 340px; height: 190px; margin: -95px 0 0 -170px; }

/* 1: السيارة */
.iv-hero__word { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-latin); font-weight: 700; font-size: 120px; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px rgba(244, 198, 45, .2); direction: ltr; }
.islide--hero .islide__vis { height: 150px; }
.islide--hero .iv { height: 150px; margin-top: -75px; }
.iv-hero .icar { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.islide--hero.is-on .icar { animation: carIn 1.2s var(--ease) both .2s; }
@keyframes carIn { from { transform: translateX(-40px); opacity: 0; } }

/* 2: التسويق */
.iv-phone { position: absolute; top: 0; left: 50%; width: 140px; height: 190px; margin-left: -70px; border-radius: 22px; padding: 8px; background: #151b20; border: 1px solid #3a434a; box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .8); display: flex; flex-direction: column; gap: 6px; }
.iv-phone__bar { display: flex; align-items: center; gap: 5px; font-size: 10px; }
.iv-av { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #111; font-weight: 900; font-size: 10px; font-family: var(--font-latin); }
.iv-phone__bar b { font-family: var(--font-latin); }
.iv-phone__bar i { margin-inline-start: auto; font-style: normal; font-size: 9px; color: #9ba5ac; padding: 0 5px; border: 1px solid #3a434a; border-radius: 5px; }
.iv-phone__img { flex: 1; border-radius: 12px; overflow: hidden; }
.iv-phone__img .art { width: 100%; height: 100%; }
.iv-phone__act { display: flex; gap: 10px; font-size: 12px; color: #c5cbd0; padding-inline: 2px; }
.iv-phone__act span:first-child { color: #ff4d6d; }
.iv-phone__lines { display: flex; flex-direction: column; gap: 4px; padding-bottom: 2px; }
.iv-phone__lines i { height: 5px; border-radius: 3px; background: #2a333b; }
.iv-phone__lines i:last-child { width: 60%; }
.iv-float { position: absolute; font-size: 11.5px; font-weight: 800; white-space: nowrap; padding: 6px 11px; border-radius: 999px; background: rgba(21, 27, 32, .94); border: 1px solid #3a434a; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); animation: ivFloat 6s ease-in-out infinite; }
.iv-float--1 { top: 38px; left: -6px; border-color: rgba(244, 198, 45, .5); }
.iv-float--2 { top: 88px; left: 18px; animation-delay: -2s; }
.iv-float--3 { top: 138px; left: -2px; animation-delay: -4s; }
@keyframes ivFloat { 50% { transform: translateY(-6px); } }
.iv-plats { position: absolute; top: 26px; right: 30px; display: flex; flex-direction: column; gap: 6px; }
.iv-plat { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.iv-plat svg { width: 16px; height: 16px; }
.iv-plat--youtube { background: #FF0033; --glyph-cut: #FF0033; }
.iv-plat--snapchat { background: #FFFC00; --glyph-line: #111; }
.iv-plat--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.iv-plat--tiktok { background: #000; border: 1px solid #3a434a; }
.iv-plat--tiktok svg { filter: drop-shadow(-1px -1px 0 #25F4EE) drop-shadow(1px 1px 0 #FE2C55); }

/* 3: التصوير */
.iv-cam__frame { position: absolute; inset: 0 0 34px; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #26303a, #0c1014 70%); border: 1px solid #2a333b; }
.iv-cam__frame .icar { position: absolute; left: 6%; bottom: -6px; width: 88%; height: auto; }
.iv-c { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(255, 255, 255, .85); }
.iv-c--1 { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.iv-c--2 { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.iv-c--3 { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }
.iv-c--4 { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.iv-rec { position: absolute; top: 12px; left: 36px; display: flex; align-items: center; gap: 5px; font-family: var(--font-latin); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.iv-rec b { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: ivRec 1.4s steps(2) infinite; }
@keyframes ivRec { 50% { opacity: .2; } }
.iv-tc { position: absolute; top: 11px; right: 36px; font-family: var(--font-latin); font-size: 10px; color: #d0d5d9; letter-spacing: .06em; }
.iv-meta { position: absolute; bottom: 12px; right: 36px; font-family: var(--font-latin); font-size: 9px; color: var(--gold); letter-spacing: .1em; }
.iv-focus { position: absolute; top: 46%; left: 50%; width: 46px; height: 34px; margin: -17px 0 0 -23px; border: 1.5px solid var(--gold); border-radius: 4px; animation: ivFocus 3s ease-in-out infinite; }
@keyframes ivFocus { 0%, 100% { transform: scale(1); } 50% { transform: scale(.85); } }
.iv-tags { position: absolute; bottom: 0; inset-inline: 0; display: flex; justify-content: center; gap: 6px; }
.iv-tags span { font-size: 11.5px; font-weight: 800; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid #3a434a; }

/* 4: عرض المنتجات والخدمات */
.iv-pc { position: absolute; top: 4px; width: 106px; border-radius: 14px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .85); }
.iv-pc__img { height: 76px; }
.iv-pc__img .art { width: 100%; height: 100%; }
.iv-pc__body { padding: 7px 9px 9px; display: flex; flex-direction: column; gap: 4px; }
.iv-pc__body b { font-size: 12px; font-weight: 800; line-height: 1.3; }
.iv-pc__body span { font-size: 9.5px; font-weight: 800; text-align: center; padding: 3px 0; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.iv-pc--1 { right: 0; transform: rotate(5deg) translateY(10px); }
.iv-pc--2 { left: 50%; margin-left: -53px; z-index: 2; transform: translateY(-4px); }
.iv-pc--2 .iv-pc__body span { background: var(--gold); border-color: var(--gold); }
.iv-pc--3 { left: 0; transform: rotate(-5deg) translateY(10px); }
.iv-note { position: absolute; bottom: 0; inset-inline: 0; text-align: center; font-size: 11.5px; font-weight: 700; color: #b9c0c5; }

/* 5: رحلة العميل */
.iv-flow ol { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.iv-flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.iv-flow li b { font-size: 11.5px; font-weight: 800; line-height: 1.4; color: #d0d5d9; max-width: 80px; }
.iv-node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: #151b20; border: 1px solid #3a434a; }
.iv-node--brand { font-family: var(--font-latin); font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--gold); border-color: var(--gold); direction: ltr; }
.iv-node--gold { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(244, 198, 45, .15); }
.iv-flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; right: calc(50% + 30px); width: calc(100% - 60px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 11px); opacity: .85;
  animation: ivDash 1.2s linear infinite;
}
@keyframes ivDash { to { background-position: -11px 0; } }
.islide--flow.is-on .iv-node { animation: ivNode .6s var(--ease) both .15s; }
.islide--flow.is-on li:nth-child(2) .iv-node { animation-delay: .35s; }
.islide--flow.is-on li:nth-child(3) .iv-node { animation-delay: .55s; }
.islide--flow.is-on li:nth-child(4) .iv-node { animation-delay: .75s; }
@keyframes ivNode { from { transform: scale(.6); opacity: 0; } }

/* 6: لماذا VXCZ */
.iv-why { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.iv-why__lead { font-size: 13px; font-weight: 800; color: #b9c0c5; }
.iv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.iv-chips li { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #151b20; border: 1px solid #3a434a; white-space: nowrap; }
.iv-chips li:last-child { border-style: dashed; color: #c9cfd4; }
.iv-why__end { margin-top: 2px; font-size: 13.5px; font-weight: 800; color: #fff; border-inline-start: 3px solid var(--gold); padding-inline-start: 10px; }

/* 7: ابدأ معنا */
.islide--cta .islide__in { justify-items: center; text-align: center; }
.islide--cta .islide__copy { align-items: center; }
.islide--cta .islide__copy h2 { font-size: 42px; }
.islide--cta .islide__cta { justify-content: center; }
.islide--cta .islide__vis { position: absolute; inset: 0; height: auto; z-index: -1; }
.islide--cta .iv { inset: 0; width: auto; height: auto; margin: 0; transform: none; }
.iv-cta__ring { position: absolute; left: 50%; top: 45%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; border: 1px solid rgba(244, 198, 45, .22); animation: ivRing 6s ease-in-out infinite; }
.iv-cta__ring--2 { width: 440px; height: 440px; margin: -220px 0 0 -220px; border-style: dashed; border-color: rgba(255, 255, 255, .08); animation-delay: -3s; }
@keyframes ivRing { 50% { transform: scale(1.05); } }

/* التحكم */
.intro__ctrl { position: absolute; z-index: 5; bottom: 22px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 14px; pointer-events: none; }
.intro__ctrl > * { pointer-events: auto; }
.intro__dots { display: flex; gap: 2px; }
.intro__dots button { width: 22px; height: 28px; display: grid; place-items: center; transition: width .35s var(--ease); }
.intro__dots button::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .3); transition: width .35s var(--ease), background .3s; }
.intro__dots button.on { width: 34px; }
.intro__dots button.on::before { width: 24px; background: var(--gold); }
.intro__dots button:not(.on):hover::before { background: rgba(255, 255, 255, .6); }
.intro__count { display: none; font-family: var(--font-latin); font-size: 12px; color: #8d979e; letter-spacing: .08em; direction: ltr; }
.intro__count b { color: #fff; font-weight: 700; }
.intro__arrows { display: none; gap: 8px; }
.intro__arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #3a434a; background: rgba(8, 11, 14, .55); color: #fff; transition: border-color .2s, color .2s, transform .15s; }
.intro__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.intro__arrow:hover { border-color: var(--gold); color: var(--gold); }
.intro__arrow:active { transform: scale(.94); }
.intro__progress { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .06); }
.intro__progress i { display: block; height: 100%; width: 0; background: var(--gold); }

@media (max-width: 370px) {
  .iv { transform: scale(.86); }
  .islide__copy .islide__brand { font-size: 54px; }
}
@media (min-width: 640px) {
  .islide { min-height: 600px; }
  .islide__vis, .islide--hero .islide__vis { height: 250px; }
  .islide--hero .iv { height: 190px; margin-top: -95px; }
  .islide__in { gap: 22px; padding-block: 34px 88px; }
  .iv { transform: scale(1.22); }
  .islide__copy h2 { font-size: 32px; }
  .islide__copy .islide__brand { font-size: 84px; }
  .islide__sub { font-size: 22px; }
  .islide__txt { font-size: 15.5px; }
  .islide__num { font-size: 160px; }
  .intro__ctrl { justify-content: space-between; }
  .intro__arrows { display: flex; }
  .intro__count { display: inline; }
}
@media (min-width: 960px) {
  .islide { min-height: 580px; }
  .islide__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px; padding-block: 60px 100px; }
  .islide__vis, .islide--hero .islide__vis { height: 380px; }
  .iv { transform: scale(1.5); }
  .islide__copy h2 { font-size: 40px; }
  .islide__copy .islide__brand { font-size: 112px; }
  .islide__sub { font-size: 26px; }
  .islide__txt { font-size: 16.5px; }
  .islide__quote { font-size: 28px; }
  .islide__steps li { font-size: 14px; padding: 7px 14px; }
  .islide--cta .islide__in { grid-template-columns: minmax(0, 1fr); }
  .islide--cta .islide__copy h2 { font-size: 64px; }
  .islide__num { font-size: 220px; top: 20px; }
  .iv-cta__ring { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
  .iv-cta__ring--2 { width: 640px; height: 640px; margin: -320px 0 0 -320px; }
}
@media (min-width: 1200px) {
  .iv { transform: scale(1.62); }
}
@media (prefers-reduced-motion: reduce) {
  .intro__track { transition: none; }
}
