/* توأم · Tawam — إضافات نسخة PHP فوق style.css (لا تعدّل style.css: هو نسخة من التصميم النهائي).
   شريط الإعلان، زر المتجر المتاح، سعر «توأم برو»، رقم الإصدار في التذييل، وصفحة التحديثات. */

/* شريط الإعلان */
.announce { background: var(--nila); color: #FFFFFF; font-size: 15px; line-height: 1.5; position: relative; z-index: 21; }
.announce__in { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding-block: 8px; text-align: center; }
.announce p { margin: 0; }
.announce a { color: #FFFFFF; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { text-decoration-thickness: 2px; }
.announce .twin { flex: none; }
.announce .twin::before { background: #FFFFFF; }
.announce .twin::after { background: var(--hinna-bright); }

/* زر المتجر حين يصير التطبيق متاحًا */
a.store { text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), opacity .2s ease; }
a.store:hover { transform: translateY(-1px); opacity: .92; }
a.store:focus-visible { outline-offset: 3px; }

/* سعر «توأم برو» */
.plan__price { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 40px); line-height: 1.3; margin-block-start: 6px; color: #FFFFFF; }
.plan--pro .plan__price { color: #FFFFFF; }

/* رقم الإصدار في التذييل */
.foot__ver { color: inherit; text-decoration: none; }
.foot__ver:hover { color: var(--primary); text-decoration: underline; }

/* صفحة التحديثات */
.updates { display: grid; gap: 20px; }
.upd { padding: 26px 26px 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.upd h2 { margin-block: 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.upd__v { color: var(--primary); }
.upd__d { font-family: var(--text); font-weight: 400; font-size: 15px; color: var(--muted); }
.upd p { color: var(--muted); }
.upd p + p { margin-block-start: 10px; }
.upd ul { padding-inline-start: 22px; display: grid; gap: 6px; margin-block-start: 10px; color: var(--muted); }
.upd b { color: var(--ink); }

/* التذييل: سطر الحقوق في المنتصف، وتحته شعار نَسَق المتحرك (يُضاف من site.js حين يظهر التذييل) */
.foot__end { display: grid; justify-items: center; gap: 14px; margin-block-start: 28px; padding-block-start: 24px; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); text-align: center; }
.foot .foot__copy { margin: 0; }
.foot__nasaq { display: block; width: 180px; aspect-ratio: 878 / 376; border-radius: 10px; }
.foot__nasaq picture, .foot__nasaq img { display: block; width: 100%; height: auto; }
.foot__nasaq:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; }
@media (max-width: 640px) { .foot__nasaq { width: 150px; } }

/* زر «جرّب الآن» في الرأس (يظهر والتجربة مفتوحة) */
.top__try {
  font-size: 14px; font-weight: 600; line-height: 1.5; padding: 5px 14px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary); text-decoration: none;
  transition: opacity .2s ease, transform .2s var(--ease);
}
.top__try:hover { opacity: .9; transform: translateY(-1px); }

/* نداء التجربة بعد شريط الحقائق في الرئيسية */
.beta-cta { margin-block-start: clamp(20px, 3vw, 32px); }
.beta-cta__in {
  display: grid; gap: 20px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-card);
  background: var(--nila); color: #FFFFFF;
  background-image: radial-gradient(60% 120% at 100% 0%, rgba(255, 154, 92, .28), transparent 60%);
}
html[dir="rtl"] .beta-cta__in { background-image: radial-gradient(60% 120% at 0% 0%, rgba(255, 154, 92, .28), transparent 60%); }
@media (min-width: 760px) { .beta-cta__in { grid-template-columns: 1fr auto; gap: 32px; } }
.beta-cta .eyebrow { color: #FFFFFF; margin-block-end: 10px; }
.beta-cta .twin::before { background: #FFFFFF; }
.beta-cta .twin::after { background: var(--hinna-bright); }
.beta-cta__title { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 4vw, 42px); line-height: 1.3; }
.beta-cta__text { margin-block-start: 8px; color: #E4E5FB; max-width: 36em; }
.beta-cta__btn { background: #FFFFFF; color: var(--nila); justify-self: start; min-height: 52px; padding-inline: 26px; font-size: 17px; }
@media (prefers-color-scheme: dark) { .beta-cta__in { background-color: #2A2E96; } }
