/* الصفحة الرئيسية لـ RADYN (2026-11-30، محمد: «اتجاه حديث يوحي بالتكنولوجيا»): كحلي عميق ثابت، تدرّج الشعار
   (لبني ← أزرق) كضوء، ولوحة حية من جوه المنتج كلحظة مميزة واحدة. */
body.radyn {
  --rx-bg: #061423;
  --rx-bg-2: #0a1d31;
  --rx-panel: rgb(16 38 62 / 0.72);
  --rx-line: rgb(120 170 230 / 0.16);
  --rx-ink: #eaf2fb;
  --rx-ink-2: #a9bdd3;
  --rx-muted: #7d93ab;
  --rx-cyan: #4cc9e0;
  --rx-blue: #3b82f6;
  background: var(--rx-bg);
  background-image: radial-gradient(rgb(120 170 230 / 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--rx-ink);
  color-scheme: dark;
  overflow-x: hidden;
}
.radyn a { color: var(--rx-cyan); }
.rx-glow { position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none; z-index: 0;
  background: radial-gradient(600px 380px at 78% 18%, rgb(59 130 246 / 0.28), transparent 70%), radial-gradient(520px 320px at 18% 40%, rgb(76 201 224 / 0.16), transparent 70%); }
.radyn main, .rx-top, .rx-foot { position: relative; z-index: 1; }

.rx-top { position: sticky; top: 0; z-index: 20; background: rgb(6 20 35 / 0.7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rx-line); }
.rx-top .wrap { display: flex; align-items: center; min-height: 68px; gap: 20px; }
.rx-brand img { height: 26px; width: auto; }
.rx-nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.rx-nav a { color: var(--rx-ink-2); text-decoration: none; font-size: 0.95rem; }
.rx-nav a:hover { color: var(--rx-ink); }
.rx-lang { font: inherit; font-size: 0.85rem; color: var(--rx-ink); background: transparent; border: 1px solid var(--rx-line); border-radius: 999px; width: 38px; height: 34px; cursor: pointer; }
@media (max-width: 640px) { .rx-nav .hide-sm { display: none; } }

.rx-btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 14px 24px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.radyn a.rx-btn-main, .rx-btn-main { color: #04111e; background: linear-gradient(90deg, var(--rx-cyan), var(--rx-blue)); box-shadow: 0 8px 28px rgb(59 130 246 / 0.35); }
.rx-btn-main:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgb(59 130 246 / 0.5); }
.radyn a.rx-btn-ghost, .rx-btn-ghost { color: var(--rx-ink); border-color: var(--rx-line); background: rgb(255 255 255 / 0.03); }
.rx-btn-ghost:hover { border-color: rgb(120 170 230 / 0.4); }
.radyn a.rx-btn-wa, .rx-btn-wa { color: #fff; background: #1f8f4e; }
.rx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rx-center { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .rx-btn { transition: none; } }

/* الرأس */
.rx-hero { padding-block: 84px 72px; }
.rx-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .rx-hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.rx-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--rx-ink-2); border: 1px solid var(--rx-line); background: rgb(255 255 255 / 0.03); border-radius: 999px; padding: 6px 14px; }
.rx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rx-cyan); box-shadow: 0 0 0 4px rgb(76 201 224 / 0.18); }
.rx-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.22; font-weight: 600; margin-top: 22px; background: linear-gradient(180deg, #ffffff 30%, #b9d3f2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rx-lead { font-size: 1.15rem; color: var(--rx-ink-2); margin-top: 20px; max-width: 48ch; line-height: 1.8; }

/* اللوحة الحية */
.rx-console { position: relative; }
.rx-win { position: relative; border-radius: 18px; border: 1px solid var(--rx-line); background: linear-gradient(180deg, rgb(20 46 74 / 0.85), rgb(10 26 44 / 0.9)); box-shadow: 0 30px 80px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(76 201 224 / 0.06) inset; overflow: hidden; }
.rx-win::before { content: ''; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; background: linear-gradient(135deg, rgb(76 201 224 / 0.6), transparent 40%, transparent 60%, rgb(59 130 246 / 0.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.rx-win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--rx-line); direction: ltr; }
.rx-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 0.14); }
.rx-win-bar span { margin-inline-start: 10px; font-size: 0.78rem; color: var(--rx-muted); }
.rx-win-body { padding: 18px; display: grid; gap: 16px; }
.rx-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rx-kpis div { background: rgb(255 255 255 / 0.04); border: 1px solid var(--rx-line); border-radius: 12px; padding: 10px 12px; }
.rx-kpis small { display: block; font-size: 0.72rem; color: var(--rx-muted); }
.rx-kpis b { display: block; font-size: 1.25rem; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
html[dir='rtl'] .rx-kpis b { text-align: right; }
.rx-chart { width: 100%; height: 110px; display: block; }
.rx-line { stroke-dasharray: 520; stroke-dashoffset: 0; }
.rx-chat { display: grid; gap: 8px; font-size: 0.86rem; }
.rx-q { justify-self: start; background: rgb(59 130 246 / 0.22); border: 1px solid rgb(59 130 246 / 0.35); border-radius: 12px; padding: 8px 12px; }
.rx-a { justify-self: end; background: rgb(255 255 255 / 0.05); border: 1px solid var(--rx-line); border-radius: 12px; padding: 8px 12px; color: var(--rx-ink-2); max-width: 90%; }
.rx-spark { color: var(--rx-cyan); margin-inline-end: 6px; }
.rx-chip { position: absolute; font-size: 0.8rem; color: var(--rx-ink); background: rgb(10 29 49 / 0.92); border: 1px solid var(--rx-line); border-radius: 999px; padding: 7px 14px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.35); white-space: nowrap; }
.rx-chip::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #34d399; margin-inline-end: 8px; vertical-align: middle; }
.rx-chip-1 { top: -14px; inset-inline-start: 24px; }
.rx-chip-2 { bottom: -16px; inset-inline-end: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .rx-line { animation: rx-draw 1.6s 0.4s ease-out both; }
  .rx-area { animation: rx-fade 1s 1.2s ease-out both; }
  .rx-q { animation: rx-pop 0.4s 1.4s both; }
  .rx-a { animation: rx-pop 0.4s 2.1s both; }
  .rx-chip-1 { animation: rx-float 6s 2.4s ease-in-out infinite; }
  .rx-chip-2 { animation: rx-float 7s 3s ease-in-out infinite reverse; }
}
@keyframes rx-draw { from { stroke-dashoffset: 520; } to { stroke-dashoffset: 0; } }
@keyframes rx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rx-pop { from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes rx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* الأقسام */
.rx-sec { padding-block: 80px; }
.rx-h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 600; margin-bottom: 36px; }
.rx-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .rx-pillars { grid-template-columns: 1fr; } }
.rx-pillars article { position: relative; padding: 28px; border-radius: 16px; background: var(--rx-panel); border: 1px solid var(--rx-line); overflow: hidden; }
.rx-pillars article::after { content: ''; position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--rx-cyan), var(--rx-blue)); opacity: 0.8; }
.rx-pillars svg { width: 34px; height: 34px; fill: none; stroke: var(--rx-cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rx-pillars h3 { font-size: 1.2rem; margin-top: 16px; }
.rx-pillars p { color: var(--rx-ink-2); margin-top: 10px; font-size: 0.98rem; line-height: 1.8; }

.rx-product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 36px; border-radius: 20px; border: 1px solid var(--rx-line); background: linear-gradient(135deg, rgb(20 50 84 / 0.8), rgb(8 24 41 / 0.85)); }
@media (max-width: 860px) { .rx-product { grid-template-columns: 1fr; padding: 24px; } }
.rx-live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #34d399; }
.rx-live .rx-dot { background: #34d399; box-shadow: 0 0 0 4px rgb(52 211 153 / 0.18); }
.rx-product h3 { font-size: 2.2rem; margin-top: 8px; }
.rx-sitevo { display: inline-flex; align-items: center; gap: 10px; }
.rx-sitevo i { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--rx-cyan), var(--rx-blue)); }
.rx-for { color: var(--rx-cyan); margin-top: 4px; }
.rx-product-copy > p:not(.rx-live):not(.rx-for) { color: var(--rx-ink-2); margin-top: 14px; line-height: 1.8; max-width: 52ch; }
.rx-modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rx-modules li { font-size: 0.9rem; text-align: center; padding: 12px 8px; border-radius: 12px; border: 1px solid var(--rx-line); background: rgb(255 255 255 / 0.03); color: var(--rx-ink-2); }
@media (max-width: 480px) { .rx-modules { grid-template-columns: repeat(2, 1fr); } }
.rx-next { margin-top: 16px; padding: 22px 28px; border-radius: 16px; border: 1px dashed var(--rx-line); color: var(--rx-muted); }

.rx-trust { padding-block: 40px; border-block: 1px solid var(--rx-line); background: rgb(255 255 255 / 0.015); }
.rx-trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .rx-trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rx-trust ul { grid-template-columns: 1fr; } }
.rx-trust li { color: var(--rx-ink-2); font-size: 0.92rem; line-height: 1.7; }
.rx-trust b { display: block; color: var(--rx-ink); font-weight: 600; font-size: 1rem; margin-bottom: 4px; }

.rx-contact { text-align: center; }
.rx-contact .rx-h2 { margin-bottom: 12px; }
.rx-contact p { color: var(--rx-ink-2); }

.rx-foot { border-top: 1px solid var(--rx-line); padding-block: 28px; color: var(--rx-muted); font-size: 0.9rem; }
.rx-foot .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.rx-foot img { height: 20px; width: auto; }
.rx-foot nav { display: flex; gap: 18px; }
.radyn .rx-foot a { color: var(--rx-ink-2); text-decoration: none; }
