/* سند سايت — الصفحة الرئيسية (تُحمّل في الصفحة الرئيسية فقط) */
:root { --lx-night: #05211A; --lx-gold-1: #F7C948; --lx-gold-2: #E0A00A; --lx-ease: cubic-bezier(.2, .7, .2, 1); }

/* ظهور العناصر عند التمرير */
.lx-js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--lx-ease), transform .8s var(--lx-ease); }
.lx-js [data-rv].in { opacity: 1; transform: none; }

/* ---------- عام ---------- */
.lx-sec { padding: 112px 0; position: relative; }
.lx-mist { background: var(--mist); }
.lx-dark { background: var(--lx-night); color: #fff; }
.lx-head { max-width: 860px; margin-bottom: 52px; }
.lx-head p { max-width: 44em; }
.lx-head.center p { margin-inline: auto; }
.lx-head.center { text-align: center; margin-inline: auto; }
.lx-head .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--gold-deep); margin-bottom: 14px; }
.lx-head .kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lx-head h2 { font-size: clamp(30px, 3.9vw, 50px); font-weight: 800; line-height: 1.25; }
.lx-head p { margin-top: 14px; font-size: 18.5px; color: var(--muted); }
.lx-dark .lx-head .kicker { color: var(--gold); }
.lx-dark .lx-head p { color: rgba(255, 255, 255, .7); }
.center { text-align: center; }

/* ---------- إطار المتصفح والجوال والشاشة المصغّرة ---------- */
.lx-browser { background: #fff; border-radius: 16px; overflow: hidden; color: var(--ink); box-shadow: 0 0 0 1px rgba(7, 42, 33, .08), 0 40px 100px -40px rgba(7, 42, 33, .45); }
.lx-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; background: #F2F5F3; border-bottom: 1px solid #E1E8E4; direction: ltr; }
.lx-bar .dots { display: flex; gap: 6px; }
.lx-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #D3DBD6; }
.lx-bar .dots i:first-child { background: #F26B5B; } .lx-bar .dots i:nth-child(2) { background: #F5BE4F; } .lx-bar .dots i:nth-child(3) { background: #5CC56E; }
.lx-url { flex: 1; max-width: 420px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; border-radius: 8px; background: #fff; border: 1px solid #E1E8E4; font-size: 13px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.lx-url svg { color: #1E9E5A; flex: none; }
.lx-url b.ar { font-family: var(--body); font-size: 13px; direction: rtl; }
.lx-url b { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; transition: opacity .3s; }
.lx-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #11804A; direction: rtl; white-space: nowrap; }
.lx-live i { width: 8px; height: 8px; border-radius: 50%; background: #1FAF54; animation: lx-pulse 2s infinite; }
.lx-screen { display: block; position: relative; overflow: hidden; background: #fff; }
.lx-screen iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .8s ease; background: #fff; }
.lx-screen iframe.on { opacity: 1; }
.lx-phone { background: #0D1A16; border-radius: 36px; padding: 28px 9px 9px; box-shadow: 0 0 0 1.5px #2C3A35 inset, 0 40px 80px -24px rgba(0, 0, 0, .6); position: relative; }
.lx-phone .lx-screen { border-radius: 28px; height: 100%; }
.lx-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; border-radius: 99px; background: #0D1A16; z-index: 2; }

/* ---------- الواجهة ---------- */
main { overflow-x: clip; }
.lx-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lx-hero { position: relative; color: #fff; text-align: center; padding: 124px 0 0;
  background: radial-gradient(1100px 560px at 50% -12%, #17664F 0%, rgba(23, 102, 79, 0) 62%), linear-gradient(180deg, var(--green-deep) 0%, var(--green-night) 100%); }
.has-ann .lx-hero { padding-top: 160px; }
.lx-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23175C49' stroke-width='1.2'%3E%3Cpath d='M60 6l15.9 38.1L114 60 75.9 75.9 60 114 44.1 75.9 6 60l38.1-15.9z'/%3E%3Cpath d='M60 22l26.9 11.1L98 60 86.9 86.9 60 98 33.1 86.9 22 60l11.1-26.9z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%); }
.lx-glow { position: absolute; width: 760px; height: 760px; left: 50%; top: 18%; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(224, 160, 10, .22) 0%, rgba(224, 160, 10, 0) 62%); filter: blur(10px); animation: lx-drift 14s ease-in-out infinite alternate; }
.lx-hero-copy { position: relative; }
.lx-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.spark { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(224, 160, 10, .6); animation: lx-ring 2.4s infinite; }
.lx-hero h1 { font-size: clamp(36px, min(5.6vw, 8.6vh), 70px); font-weight: 800; line-height: 1.2; margin-top: 18px; letter-spacing: 0; }
.lx-hero h1 .hl { position: relative; display: inline-block; padding-bottom: .12em; background: linear-gradient(90deg, var(--lx-gold-1), var(--lx-gold-2) 60%, #F2B53A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-hero h1 .hl::after { content: ""; position: absolute; inset-inline: 4%; bottom: -.04em; height: .2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14C60 4 140 2 296 10' fill='none' stroke='%23E0A00A' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; opacity: .8; transform-origin: right; animation: lx-draw 1.2s .5s var(--lx-ease) both; }
.lx-hero .lede { max-width: 42em; margin: 18px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .8); }
.lx-prompt { max-width: 820px; margin: 28px auto 0; background: #fff; color: var(--ink); border-radius: 26px; padding: 14px; text-align: start;
  box-shadow: 0 0 0 7px rgba(224, 160, 10, .13), 0 30px 80px -24px rgba(0, 0, 0, .6); transition: box-shadow .25s; }
.lx-prompt:focus-within { box-shadow: 0 0 0 7px rgba(224, 160, 10, .35), 0 30px 80px -24px rgba(0, 0, 0, .6); }
.lx-prompt textarea { width: 100%; border: 0; resize: none; min-height: 58px; padding: 8px 10px; font-size: 18px; line-height: 1.8; background: transparent; }
.lx-prompt textarea:focus { outline: none; }
.lx-prompt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.lx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lx-chip { border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 99px; padding: 4px 13px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.lx-chip:hover { border-color: var(--green); color: var(--green); }
.lx-chip[aria-pressed="true"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.lx-go { min-height: 50px; padding-inline: 24px; font-size: 16.5px; font-weight: 700; box-shadow: 0 10px 24px -10px rgba(224, 160, 10, .8); flex: none; }
.lx-assure { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.lx-assure li { display: inline-flex; align-items: center; gap: 6px; }
.lx-assure svg { color: var(--gold); }

.lx-stage-wrap { margin-top: 48px; margin-bottom: -150px; position: relative; z-index: 2; }
.lx-stage { position: relative; max-width: 1040px; margin-inline: auto; transform-origin: 50% 0; transition: transform 1.4s var(--lx-ease), opacity 1s ease; }
.lx-js .lx-stage:not(.in) { transform: perspective(2200px) rotateX(14deg) translateY(30px); opacity: 0; }
.lx-stage > .lx-browser { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 60px 140px -40px rgba(0, 0, 0, .75); }
.lx-stage .lx-browser .lx-screen { aspect-ratio: 16 / 9.2; }
.lx-stage .lx-phone { position: absolute; width: 214px; aspect-ratio: 390 / 800; inset-inline-end: -46px; bottom: -34px; }
.lx-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; font-size: 14.5px; text-align: start;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .5); animation: lx-float 7s ease-in-out infinite; }
.lx-float small { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.lx-float .sw { display: inline-flex; }
.lx-float .sw i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); transition: background-color .6s; }
.lx-float .sw i + i { margin-inline-start: -8px; }
.lx-float b { font-weight: 800; }
.lx-float .ok { width: 28px; height: 28px; border-radius: 50%; background: var(--ok-bg); color: #0B6247; display: grid; place-items: center; }
.lx-float.f1 { inset-inline-start: -64px; top: 16%; }
.lx-float.f2 { inset-inline-start: -40px; bottom: -26px; animation-delay: -3.5s; }

.lx-strip { padding: 214px 0 40px; border-bottom: 1px solid var(--line); }
.lx-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; color: var(--muted); font-size: 15.5px; font-weight: 600; }
.lx-strip span { display: inline-flex; align-items: center; gap: 8px; }
.lx-strip svg { color: var(--green); }

/* ---------- شاهده يُبنى ---------- */
.lx-theater { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.lx-studio { background: linear-gradient(160deg, #0E4A3A, var(--green-night)); color: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; min-height: 540px; position: relative; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(7, 42, 33, .6); }
.lx-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lx-steps li { display: grid; gap: 2px; font-size: 14px; color: rgba(255, 255, 255, .5); transition: color .3s; }
.lx-steps li b { font-family: ui-monospace, Menlo, monospace; font-size: 13px; font-weight: 700; }
.lx-steps li i { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); margin-top: 8px; position: relative; overflow: hidden; }
.lx-steps li i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--lx-ease); }
.lx-steps li.on, .lx-steps li.done { color: #fff; }
.lx-steps li.on b, .lx-steps li.done b { color: var(--gold); }
.lx-steps li.done i::after { transform: scaleX(1); }
.lx-steps li.on i::after { transform: scaleX(1); transition-duration: var(--dur, 3s); transition-timing-function: linear; }
.lx-panel { display: none; flex: 1; flex-direction: column; gap: 16px; }
.lx-panel.on { display: flex; animation: lx-in .5s var(--lx-ease); }
.bubble { border-radius: 18px; padding: 14px 16px; font-size: 16px; line-height: 1.8; }
.bubble.user { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); border-start-start-radius: 4px; min-height: 104px; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--gold); vertical-align: middle; margin-inline-start: 2px; animation: lx-blink 1s steps(1) infinite; }
.lx-studio .hint { font-size: 14px; color: rgba(255, 255, 255, .6); }
.lx-progress { display: grid; gap: 10px; }
.lx-progress > span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.lx-progress b { color: var(--gold); font-family: ui-monospace, Menlo, monospace; }
.lx-progress div { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.lx-progress div i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--lx-gold-2), var(--lx-gold-1)); transition: width .6s var(--lx-ease); }
.lx-tasks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.lx-tasks li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 15.5px; opacity: .42; transition: opacity .3s, background-color .3s; }
.lx-tasks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); flex: none; box-sizing: border-box; }
.lx-tasks li.run { opacity: 1; background: rgba(255, 255, 255, .07); }
.lx-tasks li.run::before { border-color: var(--gold); border-top-color: transparent; animation: lx-spin .8s linear infinite; }
.lx-tasks li.done { opacity: 1; }
.lx-tasks li.done::before { border: 0; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072A21' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.lx-pub { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 20px; display: grid; gap: 12px; }
.lx-pub .state { display: inline-flex; align-items: center; gap: 8px; width: max-content; background: rgba(31, 175, 84, .16); color: #7BE3A4; font-weight: 700; font-size: 13.5px; padding: 3px 12px; border-radius: 99px; }
.lx-pub .state i { width: 8px; height: 8px; border-radius: 50%; background: #2ECC71; animation: lx-pulse 2s infinite; }
.lx-pub .host { font-family: ui-monospace, Menlo, monospace; font-size: 17px; direction: ltr; text-align: right; overflow-wrap: anywhere; }
.lx-pub ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.lx-pub li { display: flex; align-items: center; gap: 8px; }
.lx-pub svg { color: var(--gold); flex: none; }
.lx-replay { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid rgba(224, 160, 10, .55); background: transparent; color: var(--gold); border-radius: 99px; padding: 9px 18px; font-weight: 700; cursor: pointer; transition: background-color .15s; }
.lx-replay:hover { background: rgba(224, 160, 10, .1); }
.lx-th-browser { display: flex; flex-direction: column; }
.lx-th-browser .lx-screen { flex: 1; min-height: 460px; }
.lx-skel { position: absolute; inset: 0; z-index: 2; background: #fff; padding: 7% 8%; display: grid; align-content: start; gap: 18px; transition: opacity .7s; }
.lx-skel i { display: block; height: 18px; border-radius: 8px; background: linear-gradient(90deg, #EEF2F0 0%, #F7F9F8 40%, #EEF2F0 80%) 0 0 / 200% 100%; animation: lx-shimmer 1.4s linear infinite; }
.lx-skel i:nth-child(1) { width: 30%; } .lx-skel i:nth-child(2) { width: 70%; height: 44px; } .lx-skel i:nth-child(3) { width: 55%; height: 44px; }
.lx-skel i.w { width: 100%; height: 160px; margin-top: 20px; border-radius: 16px; } .lx-skel i:nth-child(5) { width: 45%; }
.lx-skel.off { opacity: 0; pointer-events: none; }

/* ---------- عدّل بكلامك ---------- */
.lx-editor { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 90px -50px rgba(7, 42, 33, .45); }
.lx-editor > .lx-browser { border-radius: 0; box-shadow: none; }
.lx-editor .lx-screen { height: 560px; }
.lx-chat { background: #F6F9F7; border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.lx-chat-head { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; font-weight: 700; font-size: 14.5px; border-bottom: 1px solid var(--line); color: var(--green-deep); }
.lx-chat-head svg { color: var(--gold-deep); }
.lx-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; max-height: 300px; }
.lx-chat .bubble { font-size: 15px; padding: 10px 14px; max-width: 88%; animation: lx-in .35s var(--lx-ease); }
.lx-chat .bubble.bot { background: #fff; border: 1px solid var(--line); border-start-start-radius: 4px; align-self: flex-start; }
.lx-chat .bubble.me { background: var(--green-deep); color: #fff; border-start-end-radius: 4px; align-self: flex-end; }
.lx-chat .bubble.ok { border-color: #B9DECB; }
.lx-chat .bubble.ok b { color: #0B6247; }
.lx-chat .bubble small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.lx-typing { display: inline-flex; gap: 4px; padding: 14px 16px !important; }
.lx-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AB0A4; animation: lx-bounce 1s infinite; }
.lx-typing i:nth-child(2) { animation-delay: .15s; } .lx-typing i:nth-child(3) { animation-delay: .3s; }
.lx-cmds { display: grid; gap: 8px; padding: 14px 16px 6px; border-top: 1px solid var(--line); }
.lx-cmds button { text-align: start; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 9px 14px; font-size: 14.5px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: border-color .15s, background-color .15s; }
.lx-cmds button::before { content: "«"; color: var(--gold-deep); }
.lx-cmds button::after { content: "»"; color: var(--gold-deep); margin-inline-end: auto; }
.lx-cmds button:hover:not([disabled]) { border-color: var(--green); background: var(--mist); }
.lx-cmds button[aria-pressed="true"] { border-color: #B9DECB; background: var(--ok-bg); color: #0B6247; }
.lx-cmds button[disabled] { cursor: default; }
.lx-reset { margin: 6px 16px 14px; align-self: flex-start; font-size: 14px; }

/* ---------- القوالب ---------- */
.lx-reel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.lx-tpl { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 12px 12px 18px; transition: border-color .25s, background-color .25s, transform .35s var(--lx-ease); }
.lx-tpl:hover { border-color: rgba(224, 160, 10, .5); background: rgba(255, 255, 255, .06); transform: translateY(-4px); }
.lx-tpl-shot { display: block; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; }
.lx-tpl-shot .lx-screen { position: absolute; inset: 0; }
.lx-tpl-shot .lx-screen iframe { transition: opacity .6s ease, transform var(--scroll, 4s) cubic-bezier(.45, .05, .35, 1); }
.lx-tpl-shot .sw { position: absolute; bottom: 10px; left: 10px; display: flex; background: rgba(255, 255, 255, .92); border-radius: 99px; padding: 4px; gap: 3px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); }
.lx-tpl-shot .sw i { width: 16px; height: 16px; border-radius: 50%; }
.lx-tpl-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 6px 0; }
.lx-tpl-meta h3 { font-size: 20px; }
.lx-tpl-meta span { font-size: 14px; color: rgba(255, 255, 255, .6); }
.lx-tpl p { margin: 6px 6px 0; font-size: 14.5px; color: rgba(255, 255, 255, .66); }

/* ---------- المزايا ---------- */
.lx-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lx-bento article { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 8px; }
.lx-bento h3 { font-size: 20px; }
.lx-bento p { color: var(--muted); font-size: 15.5px; }
.b-phone { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, var(--green-deep), var(--green-night)) !important; color: #fff; border: 0 !important; display: grid !important; grid-template-columns: minmax(0, 1fr) 210px; align-items: end; gap: 22px !important; padding-bottom: 0 !important; }
.b-phone .txt { align-self: start; display: grid; gap: 10px; }
.b-phone h3 { font-size: 26px; }
.b-phone p { color: rgba(255, 255, 255, .75); }
.b-phone .lx-phone { width: 210px; aspect-ratio: 390 / 760; border-end-start-radius: 0; border-end-end-radius: 0; padding-bottom: 0; margin-bottom: -1px; }
.b-phone .lx-phone .lx-screen { border-end-start-radius: 0; border-end-end-radius: 0; }
.b-domain { grid-column: span 2; }
.lx-addr { margin-top: auto; display: flex; align-items: center; gap: 8px; direction: ltr; background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-family: ui-monospace, Menlo, monospace; font-size: 18px; font-weight: 600; }
.lx-addr svg { color: #1E9E5A; flex: none; }
.lx-addr .caret { background: var(--green); }
.lx-msgs { display: grid; gap: 8px; margin-top: 8px; }
.lx-msgs div { border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; font-size: 13.5px; display: grid; background: #fff; box-shadow: 0 8px 20px -14px rgba(7, 42, 33, .4); }
.lx-msgs div:nth-child(2) { margin-inline-start: 12px; opacity: .85; }
.lx-msgs div:nth-child(3) { margin-inline-start: 24px; opacity: .65; }
.lx-msgs b { font-size: 13px; }
.lx-msgs span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-chart { display: flex; align-items: flex-end; gap: 5px; height: 64px; margin-top: auto; padding-top: 8px; border-bottom: 1px solid var(--line); }
.lx-chart i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--green), #8FC9B2); min-height: 6px; transform-origin: bottom; }
.in .lx-chart i { animation: lx-grow 1s var(--lx-ease) both; }
.lx-chart i:nth-child(2) { animation-delay: .08s !important; } .lx-chart i:nth-child(3) { animation-delay: .16s !important; } .lx-chart i:nth-child(4) { animation-delay: .24s !important; }
.lx-chart i:nth-child(5) { animation-delay: .32s !important; } .lx-chart i:nth-child(6) { animation-delay: .4s !important; } .lx-chart i:nth-child(7) { animation-delay: .48s !important; background: linear-gradient(180deg, var(--gold), #F5D27A); }
@keyframes lx-grow { from { transform: scaleY(0); } }
.lx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; direction: ltr; justify-content: flex-end; }
.lx-tags span { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--mist); border: 1px solid var(--line); }
.lx-inv { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 8px; background: #FCFDFC; }
.lx-inv div { flex: 1; display: grid; gap: 6px; }
.lx-inv small { font-size: 12px; color: var(--muted); font-weight: 700; }
.lx-inv b { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.lx-inv div i { height: 6px; border-radius: 3px; background: var(--mist); }
.lx-inv div i.s { width: 60%; }
.lx-inv #lx-qr { width: 70px; height: 70px; flex: none; }
.lx-inv #lx-qr svg { width: 100%; height: 100%; display: block; }
.lx-pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.lx-pics i { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, #E9A23B, #7C2D12); }
.lx-pics i:nth-child(2) { background: linear-gradient(135deg, #17B3A3, #0F6CA8); }
.lx-pics i:nth-child(3) { background: linear-gradient(135deg, #C9A24B, #1E4D3B); }
.lx-pics i.up { background: var(--mist); border: 1.5px dashed #AFC1B7; display: grid; place-items: center; color: var(--green); }
.b-team { grid-column: span 2; background: #FFF7E1 !important; border-color: #F2DFAA !important; display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px !important; }
.b-team .txt { display: grid; gap: 8px; }
.lx-help { display: grid; justify-items: start; gap: 12px; }
.lx-help .av { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--green-deep); color: #fff; font-weight: 800; font-size: 18px; border: 3px solid #FFF7E1; margin-inline-end: -12px; }
.lx-help .av.b { background: var(--gold); color: var(--green-night); }
.lx-help .av.c { background: #0F6CA8; }
.lx-help > .av { display: inline-grid; }
.lx-help .note { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #F2DFAA; border-radius: 12px; padding: 8px 12px; font-size: 13.5px; white-space: nowrap; }
.lx-help .note b { color: var(--gold-deep); }
.lx-help .note svg { color: var(--green); }
.lx-help { grid-template-columns: repeat(3, auto); }
.lx-help .note { grid-column: 1 / -1; }

/* ---------- المقارنة ---------- */
.lx-cmp-scroll { overflow-x: auto; }
.lx-cmp { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.lx-cmp th, .lx-cmp td { padding: 17px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lx-cmp thead th { font-size: 15px; color: var(--muted); font-weight: 700; border-bottom-width: 2px; }
.lx-cmp tbody th { font-weight: 700; width: 24%; }
.lx-cmp td span:not(.ck) { vertical-align: middle; }
.lx-cmp .us { background: var(--green-deep); color: #fff; font-weight: 600; border-bottom-color: rgba(255, 255, 255, .1); }
.lx-cmp thead .us { border-radius: 20px 20px 0 0; padding-block: 20px; }
.lx-cmp thead .us .logo { color: #fff; font-size: 18px; }
.lx-cmp thead .us .logo img { width: 34px; height: 34px; }
.lx-cmp tbody tr:last-child .us { border-radius: 0 0 20px 20px; }
.ck { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; margin-inline-end: 10px; vertical-align: middle; flex: none; }
.ck.y { background: #1FAF54; color: #fff; }
.ck.y svg { width: 13px; height: 13px; stroke-width: 3; }
.ck.m { background: conic-gradient(var(--gold) 0 50%, #E7E1CF 0); }
.ck.n { background: #E3E8E5; position: relative; }
.ck.n::before, .ck.n::after { content: ""; position: absolute; width: 10px; height: 2px; background: #8A9A92; border-radius: 2px; transform: rotate(45deg); }
.ck.n::after { transform: rotate(-45deg); }
.lx-cmp .us .ck.y { background: var(--gold); color: var(--green-night); }
.lx-legend { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.lx-legend .ck { width: 16px; height: 16px; margin-inline: 12px 4px; }
.lx-legend .ck:first-child { margin-inline-start: 0; }
.lx-legend .ck.n::before, .lx-legend .ck.n::after { width: 7px; }

.lx-cmp-cards { display: none; }
.lx-cmp-cards .c { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: grid; gap: 8px; }
.lx-cmp-cards h3 { font-size: 16.5px; }
.lx-cmp-cards p { font-size: 14.5px; color: var(--muted); display: flex; align-items: center; gap: 0; }
.lx-cmp-cards p b { font-weight: 700; margin-inline-end: 6px; color: var(--ink); white-space: nowrap; }
.lx-cmp-cards p.us { background: var(--green-deep); color: #fff; border-radius: 12px; padding: 8px 12px; }
.lx-cmp-cards p.us b { color: var(--gold); }
.lx-cmp-cards p.us .ck.y { background: var(--gold); color: var(--green-night); }
.lx-cmp-cards .ck { width: 20px; height: 20px; flex: none; }

/* ---------- الأسعار ---------- */
.lx-pricing .cycle { display: flex; width: max-content; margin: 0 auto 36px; }
.lx-pricing .plans { gap: 22px; align-items: stretch; padding-top: 12px; }
.lx-pricing .plan { border-radius: 26px; padding: 32px 28px; transition: transform .3s var(--lx-ease), box-shadow .3s; }
.lx-pricing .plan:not(.featured):hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(7, 42, 33, .5); }
.lx-pricing .plan.featured { transform: translateY(-12px); background: radial-gradient(500px 300px at 80% -10%, #17664F, transparent 70%), var(--green-deep); padding-block: 44px; box-shadow: 0 0 0 2px var(--gold), 0 40px 80px -36px rgba(7, 42, 33, .8); }
.lx-pricing .plan .tag { display: inline-block; background: var(--gold); color: var(--green-night); border-radius: 99px; padding: 2px 10px; font-size: 12.5px; vertical-align: middle; }
.lx-pricing .plan .price { font-size: 50px; }
.price s { font-size: 19px; font-weight: 600; opacity: .55; text-decoration-thickness: 2px; margin-inline-end: 4px; font-family: var(--body); }
.lx-credit { display: flex; align-items: center; gap: 16px; max-width: 860px; margin: 34px auto 0; background: #FFF7E1; border: 1px solid #F2DFAA; border-radius: 20px; padding: 18px 22px; }
.lx-credit .coin { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--green-night); background: radial-gradient(circle at 35% 30%, #FFE08A, var(--gold) 70%); box-shadow: 0 0 0 4px rgba(224, 160, 10, .2); }
.lx-credit p { font-size: 15.5px; color: #4D3A06; }
.pay-note.center { text-align: center; }

/* ---------- الأسئلة ---------- */
.lx-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 64px; align-items: start; }
.lx-faq-grid .lx-head { position: sticky; top: 100px; margin-bottom: 0; }
.lx-faq-grid .lx-head .btn { margin-top: 24px; }
.lx-faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.lx-faq details[open] { border-color: #B9DECB; box-shadow: 0 20px 40px -30px rgba(7, 42, 33, .5); }
.lx-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 17.5px; }
.lx-faq summary::-webkit-details-marker { display: none; }
.lx-faq summary b { font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--gold-deep); flex: none; }
.lx-faq summary span { flex: 1; }
.lx-faq summary::after { content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A3F31' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='18'/%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s, background-color .2s; }
.lx-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--ok-bg); }
.lx-faq details p { padding: 0 22px 20px 22px; padding-inline-start: 52px; color: var(--muted); }

/* ---------- الختام ---------- */
.lx-close { background: var(--mist); padding: 0 0 112px; }
.lx-close-card { position: relative; overflow: hidden; border-radius: 34px; padding: 80px 40px; text-align: center; color: #fff;
  background: radial-gradient(900px 400px at 50% 0%, #17664F, transparent 70%), linear-gradient(180deg, var(--green-deep), var(--green-night)); }
.lx-close-card::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23175C49' stroke-width='1.2'%3E%3Cpath d='M60 6l15.9 38.1L114 60 75.9 75.9 60 114 44.1 75.9 6 60l38.1-15.9z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.lx-close-card .lx-glow { top: -10%; width: 600px; height: 600px; }
.lx-close-card > *:not(.lx-glow) { position: relative; }
.lx-close-card h2 { font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; }
.lx-close-card p { margin: 14px auto 0; max-width: 34em; font-size: 18.5px; color: rgba(255, 255, 255, .78); }
.lx-mini-prompt { display: flex; gap: 8px; max-width: 640px; margin: 32px auto 0; background: #fff; border-radius: 99px; padding: 7px; box-shadow: 0 0 0 7px rgba(224, 160, 10, .14); }
.lx-mini-prompt input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font-size: 16.5px; color: var(--ink); }
.lx-mini-prompt input:focus { outline: none; }
.lx-mini-prompt:focus-within { box-shadow: 0 0 0 7px rgba(224, 160, 10, .35); }
.lx-mini-prompt .btn { min-height: 48px; padding-inline: 24px; }

/* ---------- حركات ---------- */
@keyframes lx-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 175, 84, .55); } 70% { box-shadow: 0 0 0 8px rgba(31, 175, 84, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 175, 84, 0); } }
@keyframes lx-ring { 0% { box-shadow: 0 0 0 0 rgba(224, 160, 10, .6); } 70% { box-shadow: 0 0 0 10px rgba(224, 160, 10, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 160, 10, 0); } }
@keyframes lx-drift { from { transform: translateX(-56%) translateY(-10px); } to { transform: translateX(-44%) translateY(30px); } }
@keyframes lx-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lx-float { 50% { transform: translateY(-10px); } }
@keyframes lx-blink { 50% { opacity: 0; } }
@keyframes lx-spin { to { transform: rotate(360deg); } }
@keyframes lx-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lx-shimmer { to { background-position: -200% 0; } }
@keyframes lx-bounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }

/* ---------- الشاشات ---------- */
@media (max-width: 1180px) {
  .lx-float { display: none; }
  .lx-stage .lx-phone { inset-inline-end: -10px; width: 180px; }
}
@media (max-width: 980px) {
  .lx-theater, .lx-editor, .lx-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .lx-studio { min-height: 0; }
  .lx-th-browser .lx-screen { min-height: 0; aspect-ratio: 16 / 11; flex: none; }
  .lx-editor .lx-screen { height: auto; aspect-ratio: 16 / 11; }
  .lx-chat { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .lx-chat-log { max-height: 220px; }
  .lx-reel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-team { grid-template-columns: minmax(0, 1fr); }
  .b-phone { grid-row: auto !important; }
  .lx-faq-grid { gap: 28px; }
  .lx-faq-grid .lx-head { position: static; }
  .lx-th-browser, .lx-editor > .lx-browser { order: -1; }
  .lx-editor > .lx-browser { border-bottom: 1px solid var(--line); }
  .lx-chat { border-bottom: 0; }
}
@media (max-width: 700px) {
  .lx-sec { padding: 76px 0; }
  .lx-hero { padding-top: 116px; }
  .has-ann .lx-hero { padding-top: 150px; }
  .lx-prompt { border-radius: 22px; padding: 10px; }
  .lx-prompt textarea { font-size: 16.5px; min-height: 92px; }
  .lx-prompt-foot { flex-direction: column; align-items: stretch; }
  .lx-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
  .lx-chips::-webkit-scrollbar { display: none; }
  .lx-chip { flex: none; }
  .lx-go { width: 100%; }
  .lx-stage-wrap { margin-top: 44px; margin-bottom: -90px; }
  .lx-stage .lx-phone { display: none; }
  .lx-stage .lx-browser .lx-screen { aspect-ratio: 16 / 12; }
  .lx-bar { height: 34px; }
  .lx-bar .dots i { width: 8px; height: 8px; }
  .lx-live { display: none; }
  .lx-strip { padding-top: 124px; }
  .lx-strip .wrap { gap: 10px 18px; font-size: 14px; justify-content: flex-start; }
  .lx-steps li span { font-size: 13px; }
  .lx-reel { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .lx-reel::-webkit-scrollbar { display: none; }
  .lx-tpl { scroll-snap-align: center; }
  .lx-bento { grid-template-columns: minmax(0, 1fr); }
  .lx-bento article { grid-column: auto !important; grid-row: auto !important; }
  .b-phone { grid-template-columns: minmax(0, 1fr) 150px; }
  .b-phone .lx-phone { width: 150px; }
  .b-phone h3 { font-size: 21px; }
  .lx-close-card { padding: 56px 20px; border-radius: 26px; }
  .lx-mini-prompt { flex-direction: column; border-radius: 22px; }
  .lx-mini-prompt input { min-height: 48px; padding: 0 12px; }
  .lx-faq summary { font-size: 16px; padding: 16px; gap: 12px; }
  .lx-faq details p { padding: 0 16px 18px; }
  .lx-credit { align-items: flex-start; }
  .lx-eyebrow { font-size: 12.5px; padding: 5px 12px; gap: 8px; }
  .lx-theater, .lx-editor { display: flex; flex-direction: column; }
  .lx-th-browser, .lx-editor > .lx-browser { order: -1; }
  .lx-editor > .lx-browser { border-bottom: 1px solid var(--line); }
  .lx-chat { border-bottom: 0; }
  .lx-chat-log { min-height: 0; max-height: 170px; }
  .lx-cmds { grid-template-columns: 1fr 1fr; }
  .lx-cmds button { font-size: 13px; padding: 8px 10px; }
  .lx-cmds button::before, .lx-cmds button::after { display: none; }
  .lx-studio { padding: 20px; }
  .lx-cmp-scroll { display: none; }
  .lx-cmp-cards { display: grid; gap: 12px; }
  .b-phone { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; text-align: center; }
  .b-phone .lx-phone { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-js [data-rv] { opacity: 1; transform: none; }
  .lx-stage { transform: none; opacity: 1; }
  .lx-glow, .lx-float, .spark, .lx-live i, .caret { animation: none !important; }
}
