/* loooooop — طبقة فوق vo.css (المنقول من الأصل بألوان معكوسة):
   الخطوط العربية، الاتجاه من اليمين، الشخصية البيضاء، والرسومات الخاصة بنا */
@property --idle { syntax: "<number>"; inherits: true; initial-value: 0; }
:root {
  --body: "IBM Plex Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif;
  --round: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
}
/* أساسيات Tailwind preflight التي يعتمد عليها الأصل */
*, ::before, ::after { box-sizing: border-box; border: 0 solid; }
a { color: inherit; text-decoration: inherit; }
button { font: inherit; color: inherit; background: transparent; padding: 0; line-height: inherit; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
table { border-collapse: collapse; }
svg { display: inline-block; vertical-align: middle; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #000; line-height: 1.5; }
.vo-topmenu-button svg { width: 14px; height: 14px; }
.vo-hero-steps button > span { background: #3a3a40; }
.vo-hero-steps i { background: #c9c9cf; }
svg.vo-watchstory-floater { width: clamp(44px, 8vw, 84px) !important; height: clamp(44px, 8vw, 84px) !important; }
.lp-demo .lp-main { display: flex; flex-direction: column; gap: 16px; padding: 34px clamp(18px, 4vw, 54px); min-height: 0; }
.vo-footer-word { font-size: clamp(48px, 13.6vw, 236px) !important; }
.voice-os { font-family: var(--body); }
.voice-os h1, .voice-os h2, .voice-os h3 { letter-spacing: -.01em; }
.vo-hero-muse, .vo-bento-title, .voice-os h2 { letter-spacing: -.015em !important; line-height: 1.18; }
.vo-hero-beat p, .vo-watchstory-head h2, .vo-watchstory-end-title, .vo-plans > h2 { letter-spacing: -.02em !important; line-height: 1.12 !important; }
.vo-fun-word { margin: 0 .1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1em; height: 1em; flex: none; }

/* ---------- الشخصية: شاشة بيضاء بوجه أسود ---------- */
.lp-face { position: relative; display: block; width: 100%; height: 100%; container-type: size; }
.lp-face .eye { position: absolute; top: 30%; width: 19cqw; aspect-ratio: 1; border: 5.2cqw solid #0a0a0a; border-radius: 50%;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1); animation: lp-blink 5.2s infinite; }
.lp-face .eye.l { right: 27cqw; } .lp-face .eye.r { left: 27cqw; }
.lp-face .eye::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #0a0a0a; top: 33%; left: 33%;
  transition: transform .4s cubic-bezier(.16,1,.3,1); transform: translate(var(--lx, 0), var(--ly, 0)); }
.lp-face .mouth { position: absolute; left: 50%; top: 66%; width: 16cqw; height: 7cqw; translate: -50% 0; border: 0 solid #0a0a0a; border-bottom-width: 3.2cqw;
  border-radius: 0 0 50cqw 50cqw; }
.lp-face[data-mood=happy] .eye { border-width: 0; border-top: 4.6cqw solid #0a0a0a; border-radius: 50% 50% 0 0; height: 9cqw; top: 36%; animation: none; }
.lp-face[data-mood=happy] .eye::after { display: none; }
.lp-face[data-mood=happy] .mouth { width: 22cqw; height: 11cqw; border-bottom-width: 3.6cqw; }
.lp-face[data-mood=think] .eye { --ly: -45%; --lx: 35%; }
.lp-face[data-mood=think] .mouth { width: 9cqw; height: 4cqw; border-bottom-width: 2.6cqw; border-radius: 50%; translate: -10% 0; }
.lp-face[data-mood=type] .eye { --ly: 50%; }
.lp-face[data-mood=type] .mouth { width: 12cqw; height: 0; border-bottom-width: 2.8cqw; border-radius: 4cqw; }
.lp-face[data-mood=wow] .eye { transform: scale(1.12); }
.lp-face[data-mood=wow] .mouth { width: 9cqw; height: 9cqw; border: 2.8cqw solid #0a0a0a; border-radius: 50%; }
.lp-face[data-mood=sleep] .eye { border-width: 0; border-bottom: 3.4cqw solid #0a0a0a; border-radius: 0 0 50% 50%; height: 7cqw; top: 40%; animation: none; }
.lp-face[data-mood=sleep] .eye::after { display: none; }
.lp-face[data-mood=sleep] .mouth { width: 7cqw; height: 4cqw; border-bottom-width: 2.4cqw; }
@keyframes lp-blink { 0%, 93%, 100% { scale: 1 1; } 96% { scale: 1 .1; } }
.vo-notch .lp-face, .vo-footer-pet .lp-face { pointer-events: none; }
.vo-want-notch .lp-face { position: absolute; inset: 6px; width: auto; height: auto; }
.vo-topbar-brand svg { display: block; width: 44px; height: 28px; }

/* ---------- الملصقات (SVG) مكان الصور ---------- */
.vo-hero-rotate svg { width: auto; height: 1.5em; aspect-ratio: 1; margin-block: -.35em; margin-inline-start: .04em; animation: vo-tile-pop .7s cubic-bezier(.34,1.56,.64,1) .1s both; }
.vo-tile-art { display: block; }
svg.vo-tile-art.is-brain { right: 18px; left: auto; bottom: -14px; width: min(180px, 28%); height: auto; }
svg.vo-tile-art.is-plan { right: 14px; left: auto; bottom: -18px; width: min(160px, 24%); height: auto; }
.vo-tile-mic svg { display: block; width: 100%; height: auto; }
.vo-tile-mail > b svg { width: 28px; height: 28px; }
svg.vo-watchstory-floater { width: 1.3em; height: 1.3em; }
.vo-want-art > svg { display: block; width: 100%; height: 100%; }

/* ---------- الاتجاه من اليمين داخل البطاقات ---------- */
.vo-tile-chat, .vo-tile-day { right: auto; left: 28px; }
.voice-os .vo-tile-mic { right: auto; left: -14px; }
.voice-os .vo-tile-zero { left: auto; right: 18px; direction: ltr; transform-origin: 80% 90%; }
.vo-tile-tap { left: auto; right: 28px; }
.vo-tile-heard { left: 46%; right: 28px; }
.vo-tile-you { border-radius: 20px 20px 20px 6px; }
.vo-tile-taby { border-radius: 20px 20px 6px 20px; }
.vo-tile-dots { left: auto; right: 18px; }
.vo-tile-wifi { align-self: flex-start; padding: 9px 16px 9px 10px; }
.vo-tile-wifi i:after { left: auto; right: 3px; transition: right .3s cubic-bezier(.16,1,.3,1); }
.vo-tile-wifi[aria-checked=true] i:after { left: auto; right: 19px; }
.vo-tile-day b { color: #9a8a80; }
.vo-topmenu { right: auto; left: 24px; }
.vo-download svg, .vo-topbar-link svg, .vo-hero-down svg, .vo-compare-get svg, .vo-watchstory-check svg, .vo-plan-check-link svg { width: 1em; height: 1em; }
@media (max-width: 767px) {
  .vo-tile-chat, .vo-tile-day { left: auto; }
  .vo-tile-heard { left: 28px; }
}

/* ---------- عرض «شاهد كيف يعمل» بدل الفيديو ---------- */
.lp-demo { position: relative; display: grid; grid-template-columns: 230px 1fr; aspect-ratio: 16 / 9; background: #fff; color: #111; text-align: start; font-size: 15px; }
.lp-demo aside { display: flex; flex-direction: column; gap: 4px; padding: 22px 16px; background: #f6f6f4; border-inline-end: 1px solid #ececea; }
.lp-demo aside b { margin: 0 8px 12px; font-size: 14px; color: #888; font-weight: 600; }
.lp-demo aside span { padding: 9px 12px; border-radius: 10px; color: #444; }
.lp-demo aside span.on { background: #fff; color: #111; font-weight: 600; box-shadow: 0 2px 8px #0000000d; }
.lp-demo .you { align-self: flex-start; max-width: 70%; padding: 13px 18px; border-radius: 20px 20px 20px 6px; background: #111; color: #fff; }
.lp-demo .ai { align-self: stretch; padding: 16px 20px; border-radius: 20px; border: 1px solid #ececea; line-height: 1.75; white-space: pre-wrap; min-height: 6em; }
.lp-demo .ai:empty::before { content: ""; display: inline-block; width: 26px; height: 8px; background: radial-gradient(circle, #bbb 3px, transparent 4px) 0 50% / 9px 8px repeat-x; animation: vo-bit-bounce 1s infinite; }
.lp-demo .ai.typing::after { content: "▍"; color: #8b6cff; animation: lp-caret 1s steps(1) infinite; }
.lp-demo .bar { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid #e6e6e3; border-radius: 16px; color: #999; }
.lp-demo .bar i { margin-inline-start: auto; width: 34px; height: 34px; border-radius: 50%; background: #111; }
@keyframes lp-caret { 50% { opacity: 0; } }
.vo-focus-tile[data-playing] .vo-focus-play { opacity: 0; pointer-events: none; }
.vo-focus-play { transition: opacity .3s; }
@media (max-width: 767px) { .lp-demo { grid-template-columns: 1fr; aspect-ratio: 4 / 5; } .lp-demo aside { display: none; } }

/* ---------- جدار الأمثلة: لقطات شاشة مرسومة بدل الصور ---------- */
.lp-shot { position: relative; height: 330px; display: grid; place-items: center; padding: 26px; overflow: hidden; background: var(--g); }
@media (min-width: 768px) { .lp-shot { height: 360px; } }
.lp-shot .win { width: min(92%, 420px); border-radius: 16px; background: #fff; color: #111; box-shadow: 0 24px 50px #0000003d; padding: 14px; display: grid; gap: 10px; font-size: 14px; text-align: start; rotate: var(--rot, -2deg); }
.lp-shot .win .you { justify-self: start; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: #111; color: #fff; }
.lp-shot .win .ai { padding: 10px 13px; border-radius: 14px; background: #f3f3f1; line-height: 1.6; }
.lp-shot .mini { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 84px; height: 54px; background: #fff; border-radius: 0 0 16px 16px; box-shadow: 0 8px 20px #0003; }

/* ---------- قسم المطوّرين بدل الجهاز ---------- */
.lp-code { width: min(780px, 100%); margin: 0 auto; border-radius: 26px; overflow: hidden; background: #0d0d10; color: #e8e8ea; text-align: left; direction: ltr;
  box-shadow: 0 40px 80px #0000004d, 0 0 0 1px #ffffff14; }
.lp-code .bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #17171c; }
.lp-code .bar i { width: 12px; height: 12px; border-radius: 50%; background: #3a3a42; }
.lp-code .bar span { margin-left: 12px; font: 13px ui-monospace, Consolas, monospace; color: #8b8b96; }
.lp-code pre { margin: 0; padding: 26px 28px 30px; overflow-x: auto; font: 15px/1.8 ui-monospace, Consolas, monospace; }
.lp-code .k { color: #c49bff; } .lp-code .s { color: #f1b35c; } .lp-code .c { color: #6b6b76; } .lp-code .o { color: #6fe3b4; }
.vo-held.lp-held { background: none; overflow: visible; border-radius: 0; display: block; }

/* ---------- بطاقات «تريد أن تبدأ» ---------- */
.vo-want-screen { background: radial-gradient(90% 70% at 30% 90%, #3b4f7a, transparent 70%), linear-gradient(180deg, #121826, #1d2740); box-shadow: inset 0 0 0 5px #eee; }
.vo-want-card.is-premium { background: linear-gradient(160deg, #000 40%, #1c1430); }
.lp-art-api { display: grid; place-items: center; background: #0d0d10; color: #c49bff; font: 700 56px/1 ui-monospace, Consolas, monospace; direction: ltr; }

/* ---------- الأسئلة (أكورديون) ---------- */
.vo-faq .border-b { border-bottom: 1px solid #27272b; }
.vo-faq h3 { margin: 0; }
.vo-faq h3 button { display: flex; width: 100%; align-items: center; justify-content: space-between; border: 0; background: none; color: inherit; }
.vo-faq h3 button svg { width: 16px; height: 16px; flex: none; transition: transform .25s; }
.vo-faq [data-state=open] h3 button svg { transform: rotate(180deg); }
.vo-faq [role=region] { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.vo-faq [role=region] > div { overflow: hidden; }
.vo-faq [data-state=open] > [role=region] { grid-template-rows: 1fr; }
.vo-faq [role=region] p { margin: 0 0 22px; }

/* ---------- التذييل ---------- */
.vo-footer-word { direction: ltr; text-align: center; font-family: "Arial Black", "Segoe UI Black", var(--body); }
.vo-footer-made { direction: rtl; }

@media (prefers-reduced-motion: reduce) {
  .lp-face .eye { animation: none; }
}

/* ---------- LORA: البرنامج الحقيقي بحجمه (نافذة 460×280 كما في LORA2) ---------- */
.vo-hero { --face-height: 264px; }
.vo-hero .vo-notch.lp-slot, .vo-hero[data-open=true] .vo-notch.lp-slot { width: 400px; height: 264px; background: none; box-shadow: none; padding: 0; visibility: hidden; }
.lp-lora { position: fixed; top: 0; left: 50%; z-index: 60; width: 460px; height: 280px; border: 0; background: transparent; color-scheme: normal;
  transform: translateX(-50%); pointer-events: none; transition: opacity .3s; }
.lp-lora[data-mode=open] { height: 100vh; }
.lp-lora[data-mode=expanded] { width: 760px; height: 100vh; }
/* وهي مفتوحة ما تنسحب لفوق مع السكرول، وإلا ينقص آخر الكارت */
.lp-lora[data-mode=open], .lp-lora[data-mode=expanded] { translate: none !important; }
.lp-lora[data-capture] { pointer-events: auto; }
.lp-lora[data-gone] { opacity: 0; pointer-events: none !important; }
@media (max-width: 480px) { .lp-lora { width: 100vw; } .lp-lora[data-mode=expanded] { width: 100vw; } }
.lp-mini { display: block; width: 100%; height: 100%; }
.vo-want-notch .lp-mini { position: absolute; inset: 6px; width: auto; height: auto; }
.vo-footer-pet { background: #fff !important; }
.vo-want-notch { background: #fff !important; }
.lp-lora[data-pos=left] { left: 24px; transform: none; }
.lp-lora[data-pos=right] { left: auto; right: 24px; transform: none; }
.vo-watchstory-end > p { margin-top: 44px !important; }
/* ستكرات «صُمّم لك»: أكبر، بظل ناعم ولمعة تمرّ عليها */
svg.vo-watchstory-floater { width: clamp(64px, 9vw, 120px) !important; height: clamp(64px, 9vw, 120px) !important;
  filter: drop-shadow(0 10px 18px #000a) drop-shadow(0 0 1px #fff8) !important; }
.vo-watchstory-end[data-shown=true] svg.vo-watchstory-floater:hover { scale: 1.15; }
.vo-love-card figcaption span { color: #f2b45a !important; } .vo-love-card figcaption span::before { content: "" !important; }
.vo-love-card { background: #fff !important; border-color: #fff !important; box-shadow: 0 10px 30px -12px #0008; } .vo-love-card blockquote { color: #111 !important; } .vo-love-card figcaption b { color: #6b6b75 !important; } .vo-love-card figcaption span { color: #c8871f !important; }

/* ===== بطاقات الأسئلة: زجاج دافئ ناعم بدل الأبيض الساطع، مع دخول متتابع وحافة ذهبية عند المرور ===== */
.vo-love-card { position: relative; overflow: hidden; background: linear-gradient(160deg, #23212a, #16151b) !important; border: 1px solid #ffffff14 !important;
  box-shadow: 0 1px 0 #ffffff12 inset, 0 18px 40px -22px #000 !important; border-radius: 22px !important;
  opacity: 0; translate: 0 28px; filter: blur(6px); transition: opacity .7s ease, translate .9s cubic-bezier(.16,1,.3,1), filter .7s ease, transform .4s cubic-bezier(.16,1,.3,1), border-color .4s; transition-delay: calc(var(--i, 0) * 70ms); }
.vo-love-card.in { opacity: 1; translate: 0 0; filter: none; }
.vo-love-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), #f2b45a1c, transparent 50%); opacity: 0; transition: opacity .4s; }
.vo-love-card:hover { transform: translateY(-5px); border-color: #f2b45a55 !important; transition-delay: 0s; }
.vo-love-card:hover::before { opacity: 1; }
.vo-love-card blockquote { color: #f1eff6 !important; }
.vo-love-card figcaption b { color: #8d8a98 !important; }
.vo-love-card figcaption span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #f2b45a1a; color: #f2c47a !important;
  scale: .6; opacity: 0; transition: scale .5s cubic-bezier(.34,1.56,.64,1), opacity .4s; transition-delay: calc(var(--i, 0) * 70ms + .5s); }
.vo-love-card.in figcaption span { scale: 1; opacity: 1; }
