/* =====================================================================
   كَيْم — الصفحة التعريفية. أسلوب فاخر: أخضر ليلي عميق + عاجي + ذهبي الختم.
   لا أبيض صارخ: النصوص عاجية على الداكن، والأقسام الفاتحة بلون ورقي دافئ.
   ===================================================================== */
:root {
  /* أخضر كَيْم الليلي: داكن وفخم لكن يُقرأ أخضر بوضوح */
  --night: #0A2318; --night-2: #0D2B1E; --night-3: #123626;
  --ivory: #ECE6D6; --ivory-2: #B9B3A2; --ivory-3: #8E8A7C;
  --paper: #F3EEE3; --paper-2: #EAE3D3; --card: #FBF8F1;
  --ink: #13261C; --ink-2: #33503F; --muted: #6B7466;
  --line-d: rgba(236, 230, 214, .10); --line-d2: rgba(236, 230, 214, .18);
  --line: #DDD5C3;
  --gold: #C9A24A; --gold-2: #E3C677; --gold-3: #F1DDA0;
  --seal: #1F6B43; --seal-2: #2F8F5B; --seal-3: #6FC69A;
  --bad: #C24E4E;
  --r: 14px; --r-sm: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.2, .9, .3, 1.2);
  --shadow-d: 0 30px 80px rgba(0, 0, 0, .45);
  --shadow-l: 0 1px 2px rgba(40, 32, 10, .06), 0 10px 30px rgba(40, 32, 10, .08);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--night); color: var(--ivory); font: 400 16px/1.75 var(--font-base, "Plex", Tahoma, sans-serif); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
bdi, td { font-variant-numeric: tabular-nums; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--card); color: var(--ink); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(201, 162, 74, .35); color: inherit; }

/* حبيبات خفيفة فوق كل شيء (ملمس طباعة فاخرة) */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ستارة الافتتاح: الشعار يظهر ثم ينسحب */
.intro-curtain { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--night); animation: curtain 1.15s .55s var(--ease) forwards; pointer-events: none; }
.intro-curtain img { animation: curtain-logo 1s var(--ease) both; }
@keyframes curtain { to { clip-path: inset(0 0 100% 0); } }
@keyframes curtain-logo { from { opacity: 0; transform: scale(.85); filter: blur(6px); } 60% { opacity: 1; transform: none; filter: none; } to { opacity: 0; transform: translateY(-14px); } }

/* ===== الأزرار ===== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 15px var(--font-base, inherit); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--spring), background-color .25s, color .25s, border-color .25s, box-shadow .3s; }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold-3), var(--gold) 55%, #A9842F); color: #1B1406; box-shadow: 0 8px 24px rgba(201, 162, 74, .25), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-gold:hover { box-shadow: 0 14px 36px rgba(201, 162, 74, .38), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold::after, .btn-seal::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); background-size: 250% 100%; background-position: 200% 0; }
.btn-gold:hover::after, .btn-seal:hover::after { animation: sheen 1s var(--ease); }
@keyframes sheen { to { background-position: -200% 0; } }
.btn-seal { background: var(--seal); color: #F3EEE3; }
.btn-seal:hover { background: #185738; box-shadow: 0 10px 26px rgba(31, 107, 67, .3); }
.btn-outline { background: transparent; color: var(--ivory); border-color: var(--line-d2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-3); }
.btn-ghost { background: transparent; color: var(--ivory-2); }
.btn-ghost:hover { color: var(--ivory); background: rgba(236, 230, 214, .06); }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.magnetic { will-change: transform; }

/* ===== الرأس ===== */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-head.scrolled { background: rgba(10, 35, 24, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line-d); }
.site-head.on-ivory { background: rgba(243, 238, 227, .82); border-bottom-color: var(--line); color: var(--ink); }
.site-head.on-ivory .btn-ghost { color: var(--ink-2); } .site-head.on-ivory .btn-ghost:hover { background: rgba(19, 38, 28, .06); color: var(--ink); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 19px; font-weight: 600; }
.brand small { font-size: 10px; letter-spacing: .28em; opacity: .65; }
.site-head nav { display: flex; gap: 30px; }
.site-head nav a { position: relative; text-decoration: none; font-size: 14.5px; opacity: .78; transition: opacity .2s; padding: 6px 0; }
.site-head nav a:hover, .site-head nav a.on { opacity: 1; }
.site-head nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.site-head nav a:hover::after, .site-head nav a.on::after { transform: scaleX(1); }
.head-actions { display: flex; gap: 8px; align-items: center; }

/* ===== الأقسام ===== */
.dark { background: var(--night); color: var(--ivory); }
.ivory { background: var(--paper); color: var(--ink); color-scheme: light; }
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--gold); margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.ivory .kicker { color: #9A7A2E; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.2; }
.section-head p:last-child { margin-top: 16px; font-size: clamp(16px, 1.4vw, 18px); color: var(--ivory-2); max-width: 60ch; }
.ivory .section-head p:last-child { color: var(--muted); }

/* ===== البداية ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(47, 143, 91, .22), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(201, 162, 74, .10), transparent 60%), var(--night); }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), rgba(201, 162, 74, .10), transparent 60%); transition: background .2s; }
.hero-seal { position: absolute; width: min(900px, 90vw); left: -340px; bottom: -420px; fill: none; stroke: rgba(201, 162, 74, .09); stroke-width: .8; pointer-events: none; }
.hero-seal rect, .hero-seal path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 3s 1.4s var(--ease) forwards; }
.hero-seal .dash { stroke-dasharray: 2 3.6; stroke-dashoffset: 0; opacity: 0; animation: fadein 1.5s 2.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line-d2); border-radius: 999px; font-size: 13px; color: var(--ivory-2); background: rgba(236, 230, 214, .03); opacity: 0; animation: up .8s 1.5s var(--ease) forwards; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 74, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(201, 162, 74, 0); } }
.display { margin: 22px 0 0; font-size: clamp(38px, 5.2vw, 74px); line-height: 1.12; font-weight: 600; color: var(--ivory); }
.mask { display: block; overflow: hidden; padding-bottom: .08em; }
.mask > span { display: inline-block; transform: translateY(105%); animation: line-up 1.1s var(--ease) forwards; }
.mask:nth-child(1) > span { animation-delay: 1.55s; } .mask:nth-child(2) > span { animation-delay: 1.68s; } .mask:nth-child(3) > span { animation-delay: 1.81s; }
@keyframes line-up { to { transform: none; } }
/* التدرج على كل كلمة لوحدها: لو حطيناه على الأب، المتصفح يرسم كل الكلمات المخفية فوق بعض */
.rotator { position: relative; display: inline-grid; font-style: normal; vertical-align: top; }
.rot-word { grid-area: 1 / 1; opacity: 0; transform: translateY(.5em); filter: blur(6px); transition: opacity .55s var(--ease), transform .7s var(--ease), filter .55s; white-space: nowrap; color: transparent; background: linear-gradient(90deg, var(--gold-3), var(--gold) 60%); -webkit-background-clip: text; background-clip: text; visibility: hidden; }
.rot-word.is-on, .rot-word.is-out { visibility: visible; }
.rot-word.is-on { opacity: 1; transform: none; filter: none; }
.rot-word.is-out { opacity: 0; transform: translateY(-.5em); filter: blur(6px); }
.lead { margin-top: 26px; max-width: 54ch; font-size: clamp(16.5px, 1.45vw, 19px); line-height: 1.85; color: var(--ivory-2); opacity: 0; animation: up .9s 2s var(--ease) forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; opacity: 0; animation: up .9s 2.1s var(--ease) forwards; }
.hero-facts { display: flex; gap: clamp(20px, 4vw, 48px); margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line-d); opacity: 0; animation: up .9s 2.25s var(--ease) forwards; }
.hero-facts div { display: grid; gap: 2px; }
.hero-facts dt { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: var(--ivory); }
.hero-facts dd { margin: 0; font-size: 13px; color: var(--ivory-3); }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid var(--line-d2); border-radius: 14px; opacity: .7; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* كشف الصندوق: زجاج داكن بحافة ذهبية */
.statement-wrap { position: relative; opacity: 0; animation: up 1.1s 2.15s var(--ease) forwards; perspective: 1200px; }
.statement { margin: 0; padding: 22px 24px; border-radius: 18px; background: linear-gradient(180deg, rgba(236, 230, 214, .06), rgba(236, 230, 214, .025)); border: 1px solid var(--line-d2); box-shadow: var(--shadow-d), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(10px); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.statement::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(227, 198, 119, .55), transparent 40%, transparent 60%, rgba(47, 143, 91, .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.statement figcaption { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line-d); font-weight: 600; }
.replay { border: 1px solid var(--line-d2); background: transparent; color: var(--ivory-2); font: inherit; font-size: 12px; padding: 4px 12px; border-radius: 999px; cursor: pointer; transition: color .2s, border-color .2s; }
.replay:hover { color: var(--gold-3); border-color: var(--gold); }
.statement table { width: 100%; border-collapse: collapse; font-size: 15px; }
.statement th { text-align: start; font-weight: 400; color: var(--ivory-2); padding: 10px 0; }
.statement td { text-align: left; direction: ltr; padding: 10px 0; color: var(--ivory); }
.statement tr + tr { border-top: 1px solid var(--line-d); }
.statement tr.sum th, .statement tr.sum td { color: var(--gold-3); font-weight: 600; }
.statement tr.diff th, .statement tr.diff td { color: #F09A9A; font-weight: 600; }
.statement.play tbody tr { opacity: 0; transform: translateX(-12px); }
.statement.play tbody tr.shown { opacity: 1; transform: none; transition: opacity .45s, transform .55s var(--ease); }
.statement tr.diff.alert td, .statement tr.diff.alert th { animation: flash 1.2s ease-out 2; }
@keyframes flash { 30% { background: rgba(194, 78, 78, .18); } }
.tag-hidden { display: inline-block; margin-inline-start: 8px; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(201, 162, 74, .4); color: var(--gold-2); font-size: 10.5px; font-weight: 500; vertical-align: 2px; }
.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-inline-start: 2px; background: var(--gold); vertical-align: -2px; opacity: 0; }
.statement.typing-now .typing::after { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.statement-note { margin-top: 12px; font-size: 12.5px; color: var(--ivory-3); display: flex; align-items: center; gap: 8px; }
.statement-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.notify-card { position: absolute; inset-inline-end: -22px; bottom: -40px; display: flex; gap: 12px; align-items: center; width: min(340px, 92%); padding: 12px 14px; border-radius: 14px; background: rgba(19, 40, 31, .92); border: 1px solid var(--line-d2); box-shadow: var(--shadow-d); color: var(--ivory); opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .5s, transform .7s var(--spring); backdrop-filter: blur(10px); }
.notify-card.on { opacity: 1; transform: none; }
.notify-card div { display: grid; flex: 1; font-size: 13px; line-height: 1.55; }
.notify-card b { color: #F09A9A; font-weight: 600; }
.notify-card span, .notify-card small { color: var(--ivory-3); font-size: 12px; }

/* ===== الشريط المتحرك ===== */
.marquee { overflow: hidden; border-block: 1px solid var(--line-d); padding: 20px 0; background: var(--night-2); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-size: clamp(16px, 1.6vw, 20px); color: var(--ivory-2); white-space: nowrap; }
.marquee-track i { color: var(--gold); font-style: normal; opacity: .8; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ===== كيف يشتغل ===== */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.how-steps { display: grid; gap: 12vh; padding: 6vh 0 18vh; }
.how-step { padding: 26px 28px; border-radius: var(--r); border: 1px solid transparent; opacity: .38; transition: opacity .5s, border-color .5s, background-color .5s, transform .6s var(--ease); }
.how-step.is-on { opacity: 1; border-color: var(--line); background: var(--card); box-shadow: var(--shadow-l); transform: translateX(-6px); }
.how-step .no { font-size: 13px; font-weight: 600; color: #9A7A2E; letter-spacing: .1em; }
.how-step h3 { font-size: clamp(21px, 2.1vw, 27px); margin: 8px 0 10px; color: var(--ink); }
.how-step p { color: var(--muted); font-size: 16px; }
.how-stage { position: sticky; top: 18vh; }
.device { position: relative; aspect-ratio: 4 / 3.1; border-radius: 22px; background: var(--night); border: 1px solid #22382D; box-shadow: 0 40px 90px rgba(10, 35, 24, .35); overflow: hidden; }
.device-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line-d); }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(236, 230, 214, .16); }
.screen { position: absolute; inset: 44px 0 0; display: grid; place-items: center; padding: 24px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .55s var(--ease), transform .7s var(--ease); color: var(--ivory); }
.screen.is-on { opacity: 1; transform: none; }
.mini-pos, .mini-close, .mini-chat { width: min(380px, 100%); display: grid; gap: 10px; }
.mp-row { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: rgba(236, 230, 214, .05); border: 1px solid var(--line-d); }
.mp-total { display: flex; justify-content: space-between; padding: 14px 4px 4px; border-top: 1px solid var(--line-d); font-size: 18px; }
.mp-total b { color: var(--gold-3); }
.mp-chip { justify-self: start; padding: 6px 12px; border-radius: 999px; background: rgba(47, 143, 91, .18); color: var(--seal-3); font-size: 13px; }
.mini-close p { font-size: 18px; font-weight: 600; }
.mini-close label { color: var(--ivory-3); font-size: 13px; }
.mc-input { padding: 14px; border-radius: 10px; border: 1px solid var(--gold); direction: ltr; text-align: left; font-size: 20px; color: var(--ivory); box-shadow: 0 0 0 4px rgba(201, 162, 74, .12); }
.mc-btn { padding: 12px; border-radius: 999px; background: var(--seal); text-align: center; font-weight: 600; }
.mini-close small { color: var(--ivory-3); text-align: center; }
.bubble { justify-self: start; max-width: 92%; padding: 14px 16px; border-radius: 16px 16px 4px 16px; background: #1E3A2D; border: 1px solid var(--line-d); line-height: 1.9; font-size: 14px; }
.bubble.small { background: rgba(194, 78, 78, .16); border-color: rgba(194, 78, 78, .35); font-size: 13px; }
.screen.is-on .bubble { animation: up .6s var(--ease) both; } .screen.is-on .bubble.small { animation-delay: .35s; }

/* ===== التجربة التفاعلية ===== */
.demo-section { background: radial-gradient(900px 500px at 50% 0%, rgba(47, 143, 91, .16), transparent 60%), var(--night); }
.demo-tabs { position: relative; display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 18px; background: rgba(236, 230, 214, .04); border: 1px solid var(--line-d2); border-radius: 999px; }
.demo-tab { position: relative; z-index: 1; border: 0; background: none; padding: 10px 22px; font: 600 14.5px var(--font-base, inherit); color: var(--ivory-2); cursor: pointer; border-radius: 999px; transition: color .3s; }
.demo-tab[aria-selected="true"] { color: #1B1406; }
.demo-ink { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-3), var(--gold)); transition: left .5s var(--spring), width .5s var(--spring); }
.demo-window { background: var(--card); color: var(--ink); color-scheme: light; border-radius: 18px; box-shadow: var(--shadow-d); overflow: hidden; border: 1px solid rgba(236, 230, 214, .2); }
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.demo-bar .dots { display: flex; gap: 6px; } .demo-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #CFC6B3; }
.demo-url { flex: 1; text-align: center; font-size: 12.5px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; max-width: 280px; margin: 0 auto; }
.demo-badge { font-size: 11.5px; color: #8A6A20; background: #F1E6C8; padding: 2px 9px; border-radius: 999px; }
.demo-panel { display: none; padding: 20px; min-height: 380px; }
.demo-panel.is-on { display: block; animation: up .5s var(--ease); }
.pos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.pos-search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff8; transition: border-color .2s, box-shadow .2s; }
.pos-search:focus-within { border-color: var(--seal); box-shadow: 0 0 0 4px rgba(31, 107, 67, .12); }
.pos-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 14.5px; background: none; min-width: 0; color: var(--ink); }
.mic { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #E7F0E9; cursor: pointer; font-size: 16px; transition: transform .25s var(--spring); }
.mic:hover { transform: scale(1.08); }
.mic.listening { background: #F7E2E2; border-color: var(--bad); animation: mic 1s ease-in-out infinite; }
@keyframes mic { 50% { box-shadow: 0 0 0 7px rgba(194, 78, 78, .15); } }
.voice-line { min-height: 24px; margin: 10px 2px; font-size: 13.5px; color: var(--seal); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.tile { text-align: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #FFFDF8; cursor: pointer; font: inherit; color: var(--ink); transition: transform .3s var(--spring), border-color .2s, box-shadow .3s; }
.tile:hover { transform: translateY(-4px); border-color: var(--seal-2); box-shadow: 0 14px 28px rgba(40, 32, 10, .12); }
.tile:active { transform: scale(.95); }
.tile b { display: block; font-size: 15px; font-weight: 600; }
.tile span { color: var(--seal); font-weight: 600; font-size: 14px; }
.tile small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.tile.hit { animation: hit .5s ease-out; }
@keyframes hit { 30% { box-shadow: 0 0 0 4px rgba(201, 162, 74, .5); } }
.pos-right { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--paper); }
.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.link { border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit; font-size: 12.5px; text-decoration: underline; }
.cart { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 160px; display: grid; align-content: start; gap: 6px; }
.cart li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; background: #FFFDF8; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; animation: slide-in .4s var(--spring); }
.cart li.empty { justify-content: center; color: var(--muted); background: none; border-style: dashed; animation: none; }
.cart li .q { display: inline-grid; place-items: center; min-width: 26px; height: 22px; border-radius: 6px; background: #E2EEE5; color: var(--seal); font-weight: 600; font-size: 12.5px; margin-inline-end: 8px; }
.cart li.bump { animation: bump .4s ease-out; }
@keyframes slide-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes bump { 40% { transform: scale(1.03); background: #E7F0E9; } }
.cart-total { display: flex; align-items: baseline; gap: 8px; padding: 14px 2px; margin-top: 8px; border-top: 1px solid var(--line); }
.cart-total span { flex: 1; color: var(--ink-2); }
.cart-total b { font-size: 26px; font-weight: 600; color: var(--ink); }
.cart-total small { color: var(--muted); }
.paid-stamp { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.paid-stamp span { padding: 8px 24px; border: 3px solid var(--seal); color: var(--seal); border-radius: 12px; font-size: 22px; font-weight: 600; transform: rotate(-8deg); background: rgba(251, 248, 241, .9); animation: stamp .5s var(--spring) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(1.6); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.floor-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.legend { display: flex; gap: 14px; } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; }
.st-free { background: #D8D0BE; } .st-open { background: var(--gold); } .st-ready { background: var(--seal-2); }
.floor-stats b { color: var(--ink); }
.floor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.table-btn { position: relative; height: 100px; border: 1px solid var(--line); border-radius: 14px; background: #FFFDF8; cursor: pointer; font: inherit; color: var(--ink); display: grid; place-items: center; align-content: center; gap: 2px; transition: transform .35s var(--spring), background-color .35s, border-color .35s, box-shadow .3s; }
.table-btn:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(40, 32, 10, .12); }
.table-btn b { font-size: 22px; font-weight: 600; }
.table-btn small { font-size: 12px; color: var(--muted); }
.table-btn[data-st="open"] { background: #F6EBCF; border-color: var(--gold); }
.table-btn[data-st="ready"] { background: #DDEEE2; border-color: var(--seal-2); }
.table-btn[data-st="ready"]::after { content: ""; position: absolute; top: 9px; inset-inline-end: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--seal-2); animation: ready 1.4s ease-in-out infinite; }
@keyframes ready { 50% { box-shadow: 0 0 0 6px rgba(47, 143, 91, .2); } }
.kitchen-ticket { margin-top: 16px; padding: 14px 16px; border: 1px dashed #9C9586; border-radius: 6px; background: #FFFDF8; font-size: 13px; max-width: 300px; animation: slide-in .45s var(--spring); }
.kitchen-ticket h4 { margin: 0 0 4px; text-align: center; font-weight: 600; }
.ship-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cod b { color: var(--seal); }
.ships { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ship { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #FFFDF8; transition: border-color .3s, background-color .35s; }
.ship b { font-size: 14.5px; font-weight: 600; } .ship small { display: block; color: var(--muted); font-size: 12px; }
.steps { display: flex; gap: 4px; }
.steps i { width: 28px; height: 6px; border-radius: 3px; background: #DDD5C3; transition: background-color .5s; }
.steps i.on { background: var(--seal-2); }
.ship[data-st="3"] { background: #E6F1E9; border-color: #BCD8C5; }
.ship .next { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; cursor: pointer; font: inherit; font-size: 12.5px; color: var(--ink-2); transition: transform .3s var(--spring), background-color .2s; }
.ship .next:hover { background: var(--paper-2); transform: translateY(-2px); }
.ship .next:disabled { opacity: .5; cursor: default; transform: none; }

/* ===== الأنظمة ===== */
.systems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.system { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l); transition: transform .5s var(--ease), box-shadow .5s; overflow: hidden; }
.system:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(40, 32, 10, .14); }
.sys-ico { width: 52px; height: 52px; padding: 10px; border-radius: 14px; background: #E5EFE7; fill: none; stroke: var(--seal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--spring); }
.system:hover .sys-ico { transform: rotate(-8deg) scale(1.08); }
.sys-ico * { stroke-dasharray: 130; }
.system:hover .sys-ico * { animation: redraw 1s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 130; } to { stroke-dashoffset: 0; } }
.sys-no { position: absolute; top: 24px; inset-inline-end: 26px; font-size: 44px; font-weight: 600; color: rgba(19, 38, 28, .06); line-height: 1; }
.system h3 { margin: 22px 0 16px; font-size: 24px; color: var(--ink); }
.system ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; flex: 1; }
.system li { position: relative; padding-inline-start: 20px; color: var(--ink-2); font-size: 15px; }
.system li::before { content: ""; position: absolute; inset-inline-start: 0; top: .75em; width: 8px; height: 1.5px; background: #9A7A2E; }
.sys-cta { margin-top: 22px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: start; color: var(--seal); font: 600 15px var(--font-base, inherit); cursor: pointer; transition: letter-spacing .3s, color .2s; }
.sys-cta:hover { color: #9A7A2E; }

/* توهّج يتبع المؤشر على البطاقات */
.glow { --gx: 50%; --gy: 50%; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--gx) var(--gy), rgba(201, 162, 74, .14), transparent 55%); }
.glow:hover::after { opacity: 1; }

/* ===== Bento ===== */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile-b { position: relative; padding: 28px; border-radius: 20px; background: linear-gradient(180deg, rgba(236, 230, 214, .05), rgba(236, 230, 214, .02)); border: 1px solid var(--line-d); overflow: hidden; transition: border-color .35s, transform .5s var(--ease); min-height: 220px; display: flex; flex-direction: column; }
.tile-b:hover { border-color: rgba(201, 162, 74, .35); transform: translateY(-4px); }
.b-wide { grid-column: span 2; }
.b-tag { display: inline-block; align-self: flex-start; padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(201, 162, 74, .35); color: var(--gold-2); font-size: 12px; margin-bottom: 18px; }
.ivory .b-tag, .trial-card .b-tag { color: #8A6A20; border-color: rgba(154, 122, 46, .35); }
.tile-b h3 { font-size: clamp(20px, 2vw, 25px); color: var(--ivory); margin-bottom: 10px; }
.tile-b p { color: var(--ivory-2); font-size: 15.5px; max-width: 52ch; }
.b-visual { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.b-visual span, .b-visual b { padding: 8px 14px; border-radius: 10px; background: rgba(236, 230, 214, .05); border: 1px solid var(--line-d); font-size: 14px; color: var(--ivory-2); font-weight: 400; }
.b-diff b { color: #F09A9A; border-color: rgba(194, 78, 78, .35); font-weight: 600; }
.b-cols span { direction: rtl; }

/* ===== الباقات ===== */
.trial-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 30px; margin-bottom: 30px; border-radius: 20px; background: linear-gradient(135deg, #FBF6E8, var(--card)); border: 1px solid #E6D7AE; box-shadow: var(--shadow-l); }
.trial-card h3 { font-size: 24px; color: var(--ink); }
.trial-card p { margin-top: 6px; color: var(--muted); }
.pricing-console { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 16px; }
.pricing-selection h3 { font-size: 13.5px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.pricing-system-buttons, .pricing-period-buttons { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.pricing-choice { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 500 14.5px var(--font-base, inherit); color: var(--ink-2); cursor: pointer; transition: background-color .3s, color .3s; }
.pricing-choice[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pricing-selection-summary { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-l); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; cursor: pointer; overflow: hidden; }
.plan-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(40, 32, 10, .14); border-color: #D9C28A; }
.plan-card.featured { background: var(--night); color: var(--ivory); border-color: rgba(201, 162, 74, .5); }
.plan-card.featured .plan-heading h3, .plan-card.featured .plan-price { color: var(--ivory); }
.plan-card.featured .plan-annual, .plan-card.featured .plan-kicker, .plan-card.featured .plan-price span { color: var(--ivory-3); }
.plan-card.featured .plan-capacity span { background: rgba(236, 230, 214, .06); color: var(--gold-2); }
.plan-card.featured .plan-features li { color: var(--ivory-2); }
.plan-ribbon { position: absolute; top: 18px; inset-inline-start: 18px; padding: 3px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-3), var(--gold)); color: #1B1406; font-size: 12px; font-weight: 600; }
.plan-kicker { font-size: 12.5px; color: var(--muted); }
.plan-heading h3 { font-size: 24px; color: var(--ink); margin-top: 2px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.plan-price .amount { font-size: 38px; font-weight: 600; letter-spacing: -.01em; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan-annual { color: var(--muted); font-size: 13.5px; }
.plan-capacity { display: flex; gap: 8px; }
.plan-capacity span { padding: 4px 12px; border-radius: 999px; background: #E5EFE7; color: var(--seal); font-size: 13px; }
.plan-features-heading { display: none; }
.plan-features { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.plan-features li::before { content: "✓"; color: var(--seal-2); margin-inline-end: 10px; font-weight: 600; }
.plan-features li:nth-child(n+6) { display: none; }
.plan-more { color: var(--muted); font-size: 13px; }
.plan-card .plan-cta { margin-top: auto; }
.plans-loading, .plans-unavailable { color: var(--muted); }
.plans-unavailable { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.plans-unavailable .button { display: inline-flex; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink-2); cursor: pointer; font: inherit; }

/* ===== التواصل ===== */
.contact-section { background: radial-gradient(900px 500px at 100% 100%, rgba(201, 162, 74, .10), transparent 60%), var(--night); }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact-copy h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.2; }
.contact-copy > p:not(.kicker) { margin-top: 16px; color: var(--ivory-2); font-size: 17px; }
.assure { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.assure li { display: flex; align-items: center; gap: 12px; color: var(--ivory); }
.assure li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: rgba(47, 143, 91, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%236FC69A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.alt-contact { margin-top: 32px !important; font-size: 14px !important; color: var(--ivory-3) !important; }
.alt-contact a { color: var(--gold-2); }

/* النموذج */
.lead-form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: linear-gradient(180deg, rgba(236, 230, 214, .06), rgba(236, 230, 214, .025)); border: 1px solid var(--line-d2); box-shadow: var(--shadow-d); }
.lead-form h3 { font-size: 22px; }
.lead-form .sub { color: var(--ivory-3); font-size: 14px; margin-top: -6px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lf { position: relative; display: block; }
.lf input, .lf select, .lf textarea { width: 100%; padding: 20px 14px 8px; border-radius: 12px; border: 1px solid var(--line-d2); background: rgba(10, 35, 24, .55); color: var(--ivory); font: inherit; font-size: 15px; outline: none; transition: border-color .25s, box-shadow .25s; appearance: none; }
.lf textarea { min-height: 96px; resize: vertical; }
.lf select { padding-top: 20px; background-image: linear-gradient(45deg, transparent 50%, var(--ivory-3) 50%), linear-gradient(135deg, var(--ivory-3) 50%, transparent 50%); background-position: 18px 55%, 13px 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.lf select option { background: var(--night-2); color: var(--ivory); }
.lf span { position: absolute; inset-inline-start: 14px; top: 15px; color: var(--ivory-3); font-size: 15px; pointer-events: none; transition: top .25s var(--ease), font-size .25s var(--ease), color .25s; }
.lf input:focus, .lf select:focus, .lf textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 74, .14); }
.lf input:focus + span, .lf input:not(:placeholder-shown) + span, .lf textarea:focus + span, .lf textarea:not(:placeholder-shown) + span, .lf select + span { top: 6px; font-size: 11.5px; color: var(--gold-2); }
.lf .ltr { direction: ltr; text-align: right; }
.lead-form { position: relative; }
.lead-form .hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.lead-err { color: #F09A9A; font-size: 14px; min-height: 1em; }
.lead-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 40px 24px; border-radius: 22px; background: linear-gradient(180deg, rgba(47, 143, 91, .14), rgba(236, 230, 214, .02)); border: 1px solid rgba(111, 198, 154, .3); animation: up .6s var(--ease); }
.lead-done svg { width: 64px; height: 64px; }
.lead-done svg circle { fill: none; stroke: var(--seal-3); stroke-width: 2; stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw .8s var(--ease) forwards; }
.lead-done svg path { fill: none; stroke: var(--seal-3); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
.lead-done h3 { font-size: 22px; }
.lead-done p { color: var(--ivory-2); }
.lead-summary { font-size: 13px; color: var(--gold-2); padding: 8px 12px; border-radius: 10px; border: 1px dashed rgba(201, 162, 74, .4); }

/* ===== الدرج ===== */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(5, 12, 9, .55); opacity: 0; transition: opacity .4s; backdrop-filter: blur(3px); }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(560px, 100%); background: var(--night-2); border-inline-end: 1px solid var(--line-d2); box-shadow: var(--shadow-d); transform: translateX(105%); transition: transform .55s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.drawer.open .drawer-panel { transform: none; }
.drawer-x { position: sticky; top: 14px; margin: 14px 14px 0 auto; display: block; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d2); background: rgba(10, 35, 24, .7); color: var(--ivory); font-size: 22px; cursor: pointer; z-index: 2; transition: transform .3s var(--spring), border-color .2s; }
.drawer-x:hover { transform: rotate(90deg); border-color: var(--gold); }
.drawer-body { padding: 0 clamp(22px, 4vw, 40px) 40px; }
.drawer-body .kicker { margin-top: 4px; }
.drawer-body h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.25; }
.drawer-body .d-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.drawer-body .d-price b { font-size: 40px; font-weight: 600; color: var(--gold-3); }
.drawer-body .d-price span { color: var(--ivory-3); }
.drawer-body .d-desc { color: var(--ivory-2); margin: 14px 0 22px; }
.d-sec { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.d-sec h4 { margin: 0 0 12px; font-size: 15px; color: var(--gold-2); font-weight: 600; }
.d-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.d-list li { display: flex; gap: 10px; color: var(--ivory); font-size: 15px; }
.d-list li::before { content: "✓"; color: var(--seal-3); font-weight: 600; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-grid div { padding: 14px; border-radius: 12px; border: 1px solid var(--line-d); background: rgba(236, 230, 214, .03); }
.d-grid b { display: block; font-size: 20px; color: var(--ivory); }
.d-grid span { font-size: 12.5px; color: var(--ivory-3); }
.d-cta { position: sticky; bottom: 0; margin: 30px calc(-1 * clamp(22px, 4vw, 40px)) -40px; padding: 18px clamp(22px, 4vw, 40px) 22px; background: linear-gradient(0deg, var(--night-2) 70%, transparent); display: grid; gap: 8px; }
.d-cta small { color: var(--ivory-3); text-align: center; }
.drawer-body .lead-form { margin-top: 20px; box-shadow: none; }

/* ===== التذييل ===== */
.site-foot { border-top: 1px solid var(--line-d); padding: 30px 0; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-row p { color: var(--ivory-3); font-size: 13.5px; }
.foot-links { display: flex; gap: 22px; font-size: 14px; color: var(--ivory-2); }
.foot-links a { text-decoration: none; transition: color .2s; } .foot-links a:hover { color: var(--gold-2); }

/* ===== الظهور عند التمرير ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.systems .reveal:nth-child(2), .bento .reveal:nth-child(2) { transition-delay: .1s; }
.systems .reveal:nth-child(3), .bento .reveal:nth-child(3) { transition-delay: .2s; }
.bento .reveal:nth-child(4) { transition-delay: .3s; } .bento .reveal:nth-child(5) { transition-delay: .15s; }

/* ===== بوابة الدخول المضمنة ===== */
.stealth-portal-modal { width: min(460px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 24px)); padding: 0; border: 1px solid var(--line-d2); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-d); overflow: hidden; animation: up .5s var(--ease); }
.stealth-portal-modal::backdrop { background: rgba(5, 12, 9, .6); backdrop-filter: blur(4px); }
.stealth-portal-modal iframe { width: 100%; height: 100%; border: 0; display: block; }
.stealth-portal-close { position: absolute; top: 10px; inset-inline-start: 10px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 20px; cursor: pointer; z-index: 2; }

/* ===== الشاشات الصغيرة ===== */
@media (max-width: 980px) {
  .hero-grid, .contact, .how-grid { grid-template-columns: 1fr; }
  .how-stage { position: relative; top: 0; order: -1; }
  .how-steps { gap: 18px; padding: 10px 0 0; }
  .how-step { opacity: 1; }
  .systems, .bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .site-head nav { display: none; }
  .notify-card { position: relative; inset: auto; margin-top: 14px; width: 100%; }
  .pos { grid-template-columns: 1fr; }
  .floor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .head-actions .btn-gold { padding: 0 14px; font-size: 13.5px; }
  .hero { padding-top: 100px; }
  .hero-facts { gap: 18px; }
  .lf-row { grid-template-columns: 1fr; }
  .trial-card { flex-direction: column; align-items: stretch; }
  .ship { grid-template-columns: 1fr auto; } .ship .steps { grid-column: 1 / -1; }
  .d-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .mask > span, .pill, .lead, .hero-actions, .hero-facts, .statement-wrap { opacity: 1 !important; transform: none !important; }
  .intro-curtain { display: none; }
}

/* ---------- الدرج: زر التسجيل الثابت وخيار «اتصلوا بيّ» ---------- */
.drawer-body .d-cta { margin: 14px 0 18px; }
.drawer-body .d-cta p { margin-top: 8px; text-align: center; font-size: 13px; color: var(--ivory-3); }
.drawer-body .d-callme { margin-top: 10px; border: 1px solid var(--line-d2); border-radius: 16px; padding: 4px 16px; }
.drawer-body .d-callme summary { cursor: pointer; padding: 12px 0; color: var(--ivory-2); font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.drawer-body .d-callme summary::-webkit-details-marker { display: none; }
.drawer-body .d-callme summary::after { content: "+"; font-size: 20px; color: var(--gold); transition: transform .3s var(--ease); }
.drawer-body .d-callme[open] summary::after { transform: rotate(45deg); }
.drawer-body .d-callme .lead-form { margin-bottom: 14px; box-shadow: none; }

/* ---------- واتساب عائم: الدعم والتواصل ---------- */
.wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 80; display: flex; align-items: center; gap: 0; height: 56px; padding: 0 8px 0 8px; border-radius: 999px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #2BD36F, #1EAE58); box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: gap .4s var(--ease), padding .4s var(--ease), transform .3s var(--spring); animation: wa-in .7s 2.2s var(--spring) both; }
.wa-float-ico { width: 40px; height: 40px; display: grid; place-items: center; flex: none; }
.wa-float-txt { display: grid; line-height: 1.25; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease); }
.wa-float-txt small { font-size: 11px; opacity: .85; }
.wa-float-txt b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wa-float:hover, .wa-float:focus-visible { gap: 8px; padding-inline-end: 18px; transform: translateY(-2px); }
.wa-float:hover .wa-float-txt, .wa-float:focus-visible .wa-float-txt { max-width: 180px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); animation: wa-ring 2.6s 3s ease-out infinite; pointer-events: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes wa-ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (max-width: 600px) { .wa-float { left: 14px; bottom: 14px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float::before { animation: none; } }
.contact-direct { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn-wa { gap: 10px; background: linear-gradient(135deg, #2BD36F, #1EAE58); color: #fff; box-shadow: 0 10px 26px -10px rgba(37, 211, 102, .6); text-decoration: none; }
.btn-wa bdi { font-weight: 500; opacity: .85; font-size: 14px; padding-inline-start: 10px; border-inline-start: 1px solid rgba(255, 255, 255, .35); }
.btn-wa:hover { transform: translateY(-2px); }
.contact-direct .alt-contact { color: var(--ivory-3); font-size: 14px; }

/* أهم الميزات بالبداية */
.hero-feats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; opacity: 0; animation: up .9s 2.05s var(--ease) forwards; }
.hero-feats li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line-d2); background: linear-gradient(180deg, rgba(236, 230, 214, .055), rgba(236, 230, 214, .02)); transition: border-color .3s, transform .3s var(--ease); }
.hero-feats li:hover { border-color: rgba(201, 162, 74, .5); transform: translateY(-2px); }
.hf-ico { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(201, 162, 74, .14); color: var(--gold-2); }
.hf-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-feats b { font-size: 15px; font-weight: 600; color: var(--ivory); line-height: 1.4; }
.hero-feats small { font-size: 12.5px; color: var(--ivory-3); line-height: 1.5; }
.hero-feats + .hero-actions { margin-top: 26px; }
@media (max-width: 520px) { .hero-feats { gap: 8px; } .hero-feats li { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 6px; padding: 12px 8px; } .hf-ico { grid-row: auto; width: 36px; height: 36px; } .hero-feats b { font-size: 14px; } .hero-feats small { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-feats { animation: none; opacity: 1; } }
