:root {
  --bg: #070b14;
  --bg-elev: #0d1220;
  --bg-elev-2: #111830;
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.05);
  --text: #eef1f8;
  --text-dim: #9aa3ba;
  --text-dimmer: #6b7590;
  --accent-1: #22d3ee;
  --accent-2: #6366f1;
  --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }


html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------- خلفية زخرفية ---------------------------------- */

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 15% -5%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(700px 500px at 100% 10%, rgba(99, 102, 241, 0.14), transparent 60%),
    radial-gradient(500px 400px at 50% 100%, rgba(34, 211, 238, 0.08), transparent 60%);
}
.bg-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 90%);
}

/* ---------------------------------- الرأس ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.94);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.2px;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px;
  flex-shrink: 0;
}
.brand .mark img { width: 100%; height: 100%; object-fit: contain; }
.brand .core { color: var(--text-dim); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.lang-toggle:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.18); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient);
  color: #05070d;
  box-shadow: 0 8px 24px -8px rgba(34, 211, 238, 0.5);
}
.btn-primary:hover { box-shadow: 0 10px 30px -6px rgba(34, 211, 238, 0.65); }
.btn-ghost {
  background: var(--bg-elev);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.24); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
}
.hero-orb {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 70%);
  filter: blur(10px);
  z-index: -1;
  animation: pulse-orb 6s ease-in-out infinite;
}
@keyframes pulse-orb {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 12px var(--accent-1);
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.25;
  max-width: 820px;
  margin: 0 auto 22px;
}
.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: clamp(15px, 2vw, 18.5px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------------------------------- قسم عام ---------------------------------- */

section { padding: 88px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-dim); font-size: 15.5px; }

/* ---------------------------------- بطاقات المزايا ---------------------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  background: var(--bg-elev-2);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #05070d;
  flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 14.5px; }

/* ---------------------------------- كيف يعمل ---------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: var(--accent-1);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 18px;
}
.step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* ---------------------------------- لماذا نحن ---------------------------------- */

.grid-2x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.015);
}
.mini-card .dot {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mini-card .dot svg { width: 19px; height: 19px; }
.mini-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.mini-card p { color: var(--text-dim); font-size: 13.5px; }

/* ---------------------------------- CTA ---------------------------------- */

.cta-section {
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.1), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(34, 211, 238, 0.22);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; margin-bottom: 14px; }
.cta-section p { color: var(--text-dim); margin-bottom: 32px; max-width: 480px; margin-inline: auto; }

/* ---------------------------------- شريط تفتيت ---------------------------------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-dimmer);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent-1); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--accent-1); font-weight: 700; }

/* ---------------------------------- بطاقات الخدمات ---------------------------------- */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  display: block;
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
a.service-card:hover, button.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
}
button.service-card {
  width: 100%; font: inherit; color: inherit; text-align: start; cursor: pointer;
}
.service-card.is-soon { opacity: 0.55; filter: grayscale(0.6); }
.service-card.is-soon:hover { transform: none; }
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text-dim);
}
.service-card:not(.is-soon) .service-icon { background: var(--gradient); color: #05070d; }
.service-icon svg { width: 22px; height: 22px; }
.service-badge {
  position: absolute;
  top: 22px;
  inset-inline-end: 22px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.badge-soon { background: rgba(255, 255, 255, 0.08); color: var(--text-dimmer); }
.badge-live { background: rgba(34, 211, 238, 0.14); color: var(--accent-1); }
.service-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--text-dim); font-size: 13.5px; }
.service-link { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--accent-1); }

/* ---------------------------------- بطاقات الأسعار ---------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 780px;
  margin: 0 auto;
}
.price-amount {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-amount span { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.price-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.is-highlight {
  border-color: rgba(34, 211, 238, 0.45);
  background: var(--bg-elev-2);
  box-shadow: 0 20px 50px -20px rgba(34, 211, 238, 0.35);
}
.price-tag {
  position: absolute;
  top: -13px;
  inset-inline-start: 28px;
  background: var(--gradient);
  color: #05070d;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.price-desc { color: var(--text-dim); font-size: 13.5px; margin-bottom: 18px; }
.price-limit {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-1);
  background: rgba(34, 211, 238, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  width: fit-content;
}
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}
.price-features li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-1); }
.price-btn { width: 100%; }
.price-note {
  text-align: center;
  color: var(--text-dimmer);
  font-size: 13.5px;
  max-width: 520px;
  margin: 36px auto 0;
}

/* ---------------------------------- جدول المقارنة ---------------------------------- */

.cmp-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
}
.cmp-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dim);
}
.cmp-head span:nth-child(2) { color: var(--text-dim); text-align: center; }
.cmp-head span:nth-child(3) { color: var(--accent-1); text-align: center; }
.cmp-group-title {
  padding: 14px 22px 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--accent-1);
  background: rgba(34, 211, 238, 0.04);
  text-transform: uppercase;
}
.cmp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  padding: 12px 22px;
  border-top: 1px solid var(--border-soft);
  font-size: 13.5px;
}
.cmp-label { color: var(--text); }
.cmp-cell { display: flex; align-items: center; justify-content: center; }
.cmp-yes { color: var(--accent-1); }
.cmp-no { color: var(--text-dimmer); opacity: 0.5; }
.cmp-text { font-size: 12.5px; font-weight: 700; color: var(--text-dim); text-align: center; }

/* ---------------------------------- معاينة الخدمات (الرئيسية) ---------------------------------- */

.services-preview-foot { text-align: center; margin-top: 36px; }

/* ---------------------------------- لمحة من الداخل (لوحة تحكم) ---------------------------------- */

.dash-mock {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.6);
}
.dash-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
}
.dash-mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.dash-mock-body { padding: 26px; }
.dash-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.dash-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.dash-tab {
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
}
.dash-tab.active { background: var(--gradient); color: #05070d; font-weight: 700; }
.dash-guard {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
}
.dash-guard svg { width: 14px; height: 14px; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.dash-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.dash-stat .n { font-size: 21px; font-weight: 800; }
.dash-stat .l { font-size: 12px; color: var(--text-dimmer); margin-top: 2px; }
.dash-table { border: 1px solid var(--border-soft); border-radius: var(--radius-sm); overflow: hidden; }
.dash-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr;
  gap: 10px;
  padding: 12px 16px;
  font-size: 13px;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
}
.dash-row:last-child { border-bottom: none; }
.dash-row.head { color: var(--text-dimmer); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.5px; }
.dash-row .cust { font-weight: 700; }
.dash-row .sub { color: var(--text-dimmer); font-size: 12px; }
.dash-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; width: fit-content; }
.pill-out { background: rgba(99, 102, 241, 0.16); color: #a5b4fc; }
.pill-delivered { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.pill-warn { background: rgba(239, 68, 68, 0.14); color: #fca5a5; }

/* ---------------------------------- جولة الشاشات (تبويبات فوق الإطار) ---------------------------------- */

.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 22px;
}
.tour-tab {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-dim);
}
.tour-tab.active { background: var(--gradient); color: #05070d; border-color: transparent; }
.tour-panel { display: none; }
.tour-panel.active { display: block; }
.tour-caption {
  max-width: 640px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
}

/* شاشة تسجيل الطلب المصغّرة */
.reg-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reg-card { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 16px; }
.reg-card h4 { font-size: 12.5px; color: var(--text-dimmer); font-weight: 700; margin-bottom: 12px; }
.reg-field { margin-bottom: 12px; }
.reg-field label { display: block; font-size: 11px; color: var(--text-dimmer); margin-bottom: 5px; }
.reg-field .val { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-soft); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.reg-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.reg-pill { font-size: 11px; padding: 6px 11px; border-radius: 8px; border: 1px solid var(--border-soft); color: var(--text-dim); }
.reg-pill.active { border-color: var(--accent-1); color: var(--accent-1); background: rgba(34, 211, 238, 0.08); }
.reg-toggle-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-dim); background: rgba(34, 211, 238, 0.06); border: 1px solid rgba(34, 211, 238, 0.2); border-radius: 8px; padding: 8px 12px; margin-top: 10px; }
.reg-switch { width: 32px; height: 18px; border-radius: 999px; background: var(--gradient); position: relative; flex-shrink: 0; }
.reg-switch::after { content: ''; position: absolute; top: 2px; inset-inline-end: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }

/* بطاقة طلب المندوب */
.courier-mock { max-width: 420px; margin: 0 auto; }
.courier-card { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 20px; }
.courier-id { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent-1); text-align: center; margin-bottom: 10px; }
.courier-name { font-size: 17px; font-weight: 800; text-align: center; margin-bottom: 14px; }
.courier-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--border-soft); font-size: 13px; }
.courier-row .k { color: var(--text-dimmer); font-size: 12px; }
.courier-row .v { font-weight: 700; }
.courier-actions { display: flex; gap: 10px; margin-top: 16px; }
.courier-btn { flex: 1; text-align: center; padding: 11px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.courier-btn.approve { background: var(--gradient); color: #05070d; }
.courier-btn.reject { background: rgba(239, 68, 68, 0.14); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.courier-btn.ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); border: 1px solid var(--border-soft); }

@media (max-width: 560px) {
  .reg-mock { grid-template-columns: 1fr; }
}

/* ---------------------------------- بطاقات الشركاء ---------------------------------- */

.partner-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.partner-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.22); }
.partner-mark {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  color: #05070d;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
/* دوماً "fit-fill" - الصورة تملأ الصندوق كاملاً حافةً لحافة (قص أي زيادة عن
   نسبة الصندوق)، لا مساحة فارغة حول الشعار مهما كانت أبعاده الأصلية. */
.partner-mark img { width: 100%; height: 100%; object-fit: cover; }
.partner-mark-pad { background: #ffffff; }
.partner-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.partner-role { display: block; font-size: 12.5px; color: var(--accent-1); font-weight: 700; margin-bottom: 10px; }
.contact-dropdown { position: relative; }
.contact-dropdown-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px;
  padding: 6px; min-width: 190px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.55);
  display: flex; flex-direction: column; gap: 2px;
}
.contact-dropdown-menu[hidden] { display: none; }
.contact-dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  color: var(--text); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.contact-dropdown-menu a:hover { background: rgba(255, 255, 255, 0.06); }
.partner-body p { color: var(--text-dim); font-size: 13.5px; margin-bottom: 14px; }
.partner-services { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.partner-service-badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: rgba(34, 211, 238, 0.12); color: var(--accent-1);
}
.partner-visit { font-size: 13px; font-weight: 700; color: var(--text); }

/* ---------------------------------- تذييل ---------------------------------- */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer-col h5 { font-size: 13.5px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--text-dim); }
.footer-col a:hover { color: var(--accent-1); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-dimmer);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------------------------- استجابة ---------------------------------- */

@media (max-width: 900px) {
  .grid-2, .grid-3, .steps, .grid-2x3, .pricing-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1.6fr 1fr; }
  .dash-row .status, .dash-row .price { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .hero { padding: 80px 0 60px; }
  section { padding: 64px 0; }
  .btn { padding: 11px 20px; font-size: 13.5px; }
  .cta-section { padding: 44px 24px; }
  .cmp-head, .cmp-row { grid-template-columns: 1.6fr 0.8fr 0.8fr; padding-inline: 14px; font-size: 12px; }
  .cmp-group-title { padding-inline: 14px; }
}

[dir="ltr"] .btn svg,
[dir="ltr"] .nav-links {
  direction: ltr;
}

/* ─────────────────────── نافذة تسجيل الاهتمام ─────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 6, 12, 0.72); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal-box {
  position: relative; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
}
.modal-close {
  position: absolute; inset-inline-end: 16px; top: 16px; width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid var(--border); background: var(--bg-elev-2);
  color: var(--text-dim); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.modal-close:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }
.modal-box h3 { font-size: 21px; margin-bottom: 8px; padding-inline-end: 36px; }
.modal-lead { color: var(--text-dim); font-size: 13.5px; line-height: 1.7; margin-bottom: 4px; }
.modal-plan {
  display: inline-block; margin-bottom: 16px; font-size: 12.5px; color: var(--accent-1);
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 999px; padding: 4px 12px;
}
.modal-plan[hidden] { display: none; }
.modal-form { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.modal-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-form .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.modal-form input, .modal-form select, .modal-form textarea { max-width: 100%; min-width: 0; box-sizing: border-box; }
.modal-form label { font-size: 12.5px; color: var(--text-dim); }
.modal-form input, .modal-form select, .modal-form textarea {
  width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; font-size: 14px;
}
.modal-form textarea { resize: vertical; min-height: 72px; }
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { outline: none; border-color: var(--accent-1); }
.modal-form select { appearance: none; cursor: pointer; }
.modal-form input[type="date"] { cursor: pointer; }
.modal-form button[type="submit"] { width: 100%; justify-content: center; margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 13px; min-height: 18px; }
.form-msg-ok { color: #4fc882; }
.form-msg-err { color: #ef5a5a; }

@media (max-width: 520px) {
  .modal-form .field-row { grid-template-columns: 1fr; }
  .modal-box { padding: 26px 20px; }
}

/* Legal / privacy policy page */
.legal-wrap { padding: 20px 0 80px; }
.legal { max-width: 760px; margin: 0 auto; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 16px; padding: 36px 40px; }
.legal-updated { color: var(--text-dimmer); font-size: 13.5px; margin: 0 0 22px; }
.legal h2 { font-size: 18px; color: var(--accent-1); margin: 26px 0 8px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { color: var(--text-dim); font-size: 15px; line-height: 1.75; margin: 8px 0; }
.legal ul { margin: 8px 0 14px; padding-inline-start: 22px; color: var(--text-dim); font-size: 15px; line-height: 1.75; }
.legal li { margin: 5px 0; }
.legal strong { color: var(--text); font-weight: 700; }
.legal a { color: var(--accent-1); }
.legal [id] { scroll-margin-top: 96px; }
@media (max-width: 600px) { .legal { padding: 26px 22px; } }

/* ─────────────────────── قائمة "الخدمات": خدمات سحابية / تطبيقات ─────────────────────── */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-dd-link::after { content: ''; width: 6px; height: 6px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.6; transition: transform 0.2s; }
.nav-dd.open .nav-dd-link::after { transform: rotate(225deg) translateY(-2px); }
.nav-dd-link.active { color: var(--text); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); inset-inline-start: -12px; min-width: 250px; z-index: 40;
  display: none; flex-direction: column; gap: 4px; padding: 8px;
  background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.7);
}
.nav-dd-menu::before { content: ''; position: absolute; top: -16px; inset-inline: 0; height: 16px; }
.nav-dd-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px; color: var(--text); }
.nav-dd-menu a:hover { background: rgba(255, 255, 255, 0.06); }
.nav-dd-menu b { font-size: 14.5px; font-weight: 700; }
.nav-dd-menu small { color: var(--text-dimmer); font-size: 12.5px; }
.nav-dd.open .nav-dd-menu { display: flex; }
@media (hover: hover) and (min-width: 901px) {
  .nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: flex; }
}
@media (max-width: 900px) {
  .nav-dd { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--border-soft); }
  .nav-dd-link { padding: 12px 0; border-bottom: 0 !important; justify-content: space-between; }
  .nav-dd-menu { position: static; min-width: 0; margin: 0 0 10px; box-shadow: none; background: rgba(255, 255, 255, 0.03); }
  .nav-dd-menu::before { display: none; }
  .nav-dd-menu a { border-bottom: 0 !important; padding: 12px 14px !important; }
}

/* ─────────────────────── صفحة التطبيقات ─────────────────────── */
.suite-card { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: stretch; padding: 34px; border-radius: 26px; border: 1px solid var(--border);
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.07), rgba(99, 102, 241, 0.07) 55%, rgba(13, 18, 32, 0.6)); }
.suite-tags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.suite-info h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.suite-info p { color: var(--text-dim); font-size: 15.5px; line-height: 1.85; }
.suite-license { margin-top: 18px; font-size: 13.5px !important; color: var(--text-dimmer) !important; }
.dl-box { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 26px 22px; border-radius: 20px; background: var(--bg-elev); border: 1px solid var(--border); }
.dl-logo { width: 76px; height: 76px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); display: grid; place-items: center; }
.dl-logo img { width: 54px; height: 54px; object-fit: contain; }
.dl-name { font-size: 21px; font-weight: 800; } .dl-name span { color: var(--accent-1); }
.dl-meta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; width: 100%; }
.dl-meta span { display: flex; flex-direction: column; gap: 1px; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); min-width: 92px; }
.dl-meta small { color: var(--text-dimmer); font-size: 11.5px; } .dl-meta b { font-size: 14px; }
.dl-btn { width: 100%; justify-content: center; gap: 10px; padding: 14px 24px !important; font-size: 16px !important; }
.dl-btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; filter: grayscale(0.6); }
.dl-platform { color: var(--text-dimmer); font-size: 13px; }
.dl-hash { width: 100%; display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: 12px; }
.dl-hash small { color: var(--text-dimmer); }
.dl-hash code { display: block; max-width: 100%; overflow-wrap: anywhere; font: 11.5px/1.5 'Cascadia Mono', Consolas, monospace; color: var(--text-dim); background: var(--bg); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border-soft); user-select: all; }
.mini-link { background: none; border: 0; color: var(--accent-1); font-size: 12.5px; padding: 2px 6px; cursor: pointer; }
.mini-link:hover { text-decoration: underline; }
.dl-note { color: var(--text-dimmer); font-size: 12px; line-height: 1.7; }
.whatsnew { margin-top: 16px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--border-soft); background: rgba(255, 255, 255, 0.025); }
.whatsnew h4 { font-size: 14px; margin-bottom: 8px; color: var(--accent-1); }
.whatsnew p { color: var(--text-dim); font-size: 14px; white-space: pre-line; line-height: 1.8; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elev); transition: transform 0.2s, border-color 0.2s; }
.tool-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.2); }
.tool-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px; background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: 0 10px 22px -8px var(--c1); }
.tool-card h4 { font-size: 16px; margin-bottom: 4px; } .tool-card p { color: var(--text-dim); font-size: 13.5px; line-height: 1.7; }
.req-list { display: grid; gap: 10px; }
.req-list li { position: relative; padding-inline-start: 28px; color: var(--text-dim); font-size: 14.5px; }
.req-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: 7px; width: 14px; height: 8px; border-inline-start: 2.5px solid var(--accent-1); border-bottom: 2.5px solid var(--accent-1); transform: rotate(-45deg); }
.versions-box summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.versions-box summary::-webkit-details-marker { display: none; }
.versions-box summary::after { content: ''; width: 8px; height: 8px; border-inline-end: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim); transform: rotate(45deg); transition: transform 0.2s; }
.versions-box[open] summary::after { transform: rotate(225deg); }
.versions-lead { margin: 12px 0 14px; color: var(--text-dim); font-size: 14px; }
.versions-list { display: grid; gap: 8px; }
.ver-row { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-soft); font-size: 13.5px; }
.ver-row b { font-size: 15px; } .ver-row .ver-meta { color: var(--text-dimmer); font-size: 12.5px; } .ver-row .ver-notes { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ver-row a { color: var(--accent-1); font-weight: 700; } .ver-row a:hover { text-decoration: underline; }
.ver-latest { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(34, 211, 238, 0.14); color: var(--accent-1); margin-inline-start: 6px; }
@media (max-width: 900px) {
  .suite-card { grid-template-columns: 1fr; padding: 22px; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .ver-row { grid-template-columns: 1fr auto; } .ver-row .ver-notes, .ver-row .ver-meta { grid-column: 1 / -1; white-space: normal; }
}
@media (max-width: 560px) { .tools-grid { grid-template-columns: 1fr; } }

/* ─────────────────────── صفحة الملاحظات ─────────────────────── */
.fb-form { max-width: 720px; margin-inline: auto; padding: 30px !important; }
.fb-shot { display: flex; flex-direction: column; gap: 8px; }
.fb-shot input[type="file"] { padding: 10px; background: var(--bg); border: 1px dashed var(--border); border-radius: var(--radius-sm); color: var(--text-dim); font-size: 13px; }
.fb-shot small, .fb-privacy { color: var(--text-dimmer); font-size: 12px; }
.fb-shot-prev { display: flex; align-items: center; gap: 12px; }
.fb-shot-prev img { max-width: 240px; max-height: 150px; border-radius: 10px; border: 1px solid var(--border); }

[hidden] { display: none !important; }

/* ─────────────────────── التقييمات + التنزيلات ─────────────────────── */
.dl-social { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; font-size: 13.5px; color: var(--text-dim); }
.dl-social b { color: var(--text); } .dl-sep { opacity: .5; }
.rv-stars { display: inline-block; font-size: 16px; letter-spacing: 2px; line-height: 1; direction: ltr;
  background: linear-gradient(90deg, #f5b301 var(--p, 0%), rgba(255, 255, 255, .16) var(--p, 0%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-layout { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
.rv-summary { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elev); }
.rv-big { display: flex; align-items: baseline; gap: 8px; } .rv-big b { font-size: 46px; font-weight: 800; line-height: 1; } .rv-big span { color: var(--text-dimmer); font-size: 13px; }
.rv-summary .rv-stars { font-size: 22px; } .rv-summary small { color: var(--text-dim); }
.rv-dist { display: grid; gap: 7px; margin-top: 6px; } .rv-dist li { display: grid; grid-template-columns: 28px 1fr 26px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text-dim); direction: ltr; }
.rv-dist i { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, .07); overflow: hidden; } .rv-dist em { display: block; height: 100%; border-radius: 7px; background: #f5b301; }
.rv-list { display: grid; gap: 14px; margin-bottom: 18px; }
.rv-card { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elev); }
.rv-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; } .rv-head > .rv-stars { margin-inline-start: auto; }
.rv-head small { display: block; color: var(--text-dimmer); font-size: 12px; }
.rv-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--gradient); flex: none; }
.rv-card h4 { font-size: 15px; margin-bottom: 4px; } .rv-card p { color: var(--text-dim); font-size: 14px; line-height: 1.8; white-space: pre-line; }
.rv-reply { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(34, 211, 238, .07); border-inline-start: 3px solid var(--accent-1); } .rv-reply b { font-size: 12.5px; color: var(--accent-1); }
.rv-none { color: var(--text-dim); padding: 24px 4px; }
.rv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.rv-form { margin-top: 6px; }
.rv-stars-input { display: flex; gap: 4px; direction: ltr; justify-content: flex-start; }
.rv-stars-input button { background: none; border: 0; font-size: 30px; line-height: 1; color: rgba(255, 255, 255, .18); padding: 2px; cursor: pointer; transition: transform .12s, color .12s; }
.rv-stars-input button:hover { transform: scale(1.15); } .rv-stars-input button.on { color: #f5b301; }
@media (max-width: 900px) { .rv-layout { grid-template-columns: 1fr; } .rv-summary { position: static; } }

/* النسخ السابقة: صف مرتّب - الإصدار | التاريخ والحجم | زر التحميل، والملاحظات في سطر ثانٍ */
.ver-row { display: grid !important; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "v meta dl" "v notes dl"; gap: 4px 18px; align-items: center; padding: 14px 18px; }
.ver-row .ver-v { grid-area: v; font-size: 17px; }
.ver-row .ver-meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--text-dimmer); font-size: 12.5px; }
.ver-row .ver-meta span + span::before { content: '·'; margin-inline-end: 14px; opacity: .6; }
.ver-row .ver-dl { grid-area: dl; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border); background: rgba(34, 211, 238, .08); font-size: 13.5px; white-space: nowrap; transition: background .15s, border-color .15s; }
.ver-row .ver-dl:hover { background: rgba(34, 211, 238, .16); border-color: var(--accent-1); text-decoration: none !important; }
.ver-row .ver-notes { grid-area: notes; color: var(--text-dim); font-size: 13px; line-height: 1.7; white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) { .ver-row { grid-template-columns: 1fr auto; grid-template-areas: "v dl" "meta meta" "notes notes"; } }
@media (max-width: 900px) { .ver-row .ver-notes, .ver-row .ver-meta { grid-column: auto; } }

/* ---------- VirusTotal ---------- */
.vt-badge { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .04); font-size: 12.5px; font-weight: 700; color: var(--text); transition: border-color .15s, background .15s; }
.vt-badge:hover { border-color: var(--accent-1); }
.vt-badge::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.vt-badge.warn::before { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .22); } .vt-badge.bad::before { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .22); }
.vt-badge small { font-weight: 500; color: var(--text-dimmer); } .vt-badge b { font-variant-numeric: tabular-nums; }
.vt-badge[hidden] { display: none !important; }
.ver-vt { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dimmer); } .ver-vt::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; } .ver-vt.warn::before { background: #f59e0b; } .ver-vt.bad::before { background: #ef4444; }
.ver-row .ver-meta .ver-vt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Microsoft Store button under the main download button */
.dl-store { width: 100%; justify-content: center; gap: 10px; padding: 12px 20px !important; font-size: 14.5px !important; }
.dl-store svg { flex: none; }

/* Microsoft Store badge (own CSS/SVG: black rounded button, store bag icon, two text lines) */
.store-badge { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 16px 8px 12px; border-radius: 10px; background: #1b1b1b; border: 1px solid rgba(255, 255, 255, .28); color: #fff; text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .2s; }
.store-badge:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .6); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8); }
.store-badge .sb-bag { flex: none; }
.store-badge .sb-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.store-badge small { font-size: 12.5px; font-weight: 400; letter-spacing: .1px; color: #fff; opacity: .92; }
.store-badge b { font-size: 21px; font-weight: 600; letter-spacing: -.2px; font-family: 'Segoe UI', 'Segoe UI Variable Text', system-ui, sans-serif; }

/* ---------- Footer: tidy layout (all pages) ---------- */
.footer-grid { grid-template-columns: 1.25fr 1.7fr 1fr; gap: 48px; align-items: start; }
.footer-col h5 { position: relative; padding-bottom: 12px; margin-bottom: 18px; }
.footer-col h5::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--gradient); }
.footer-col:nth-child(2) ul { display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, auto); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
.footer-col a { transition: color 0.15s, transform 0.15s; display: inline-block; }
.footer-col a:hover { transform: translateX(-2px); }
[dir="ltr"] .footer-col a:hover { transform: translateX(2px); }
/* contact column: small label above its value */
.footer-col:nth-child(3) li:nth-child(odd) span { font-size: 12px; color: var(--text-dimmer); }
.footer-col:nth-child(3) li:nth-child(even) { margin-bottom: 8px; }
.footer-col:nth-child(3) li:nth-child(even) a { color: var(--text); font-size: 14.5px; }
.footer-col:nth-child(3) ul { gap: 3px; }
.footer-brand p { line-height: 1.8; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-col:nth-child(2) ul { gap: 12px 24px; }
}

/* ---------------------------------- مركز التطبيقات (apps.html) + قنوات التنزيل ---------------------------------- */
.dl-channels { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.dl-channels:empty { display: none; }
.app-pick-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-decoration: none; color: inherit; }
.app-pick-card .badge { align-self: flex-start; }
.app-pick-card h3 { margin-top: 4px; }
.app-pick-cta { margin-top: 6px; color: var(--accent-1); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.app-pick-cta::after { content: "\2190"; transition: transform .15s; }
[dir="ltr"] .app-pick-cta::after { content: "\2192"; }
.app-pick-card:hover .app-pick-cta::after { transform: translateX(-3px); }
[dir="ltr"] .app-pick-card:hover .app-pick-cta::after { transform: translateX(3px); }

/* ---------------------------------- صفحة Vault: بطاقة التحميل (نفس بطاقة Suite) ---------------------------------- */
.vault-dl-card .suite-info { display: flex; flex-direction: column; }
.vault-dl-card .suite-info h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0; }
.vault-dl-cta { justify-content: flex-start; margin-top: 22px; }
.vault-dl-card .dl-logo img { border-radius: 12px; }
.vault-dl-card .dl-btn { text-decoration: none; }
.vault-dl-card .dl-channels .store-badge { min-height: 60px; }
.vault-dl-card .dl-note { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .vault-dl-card { padding: 18px; gap: 20px; }
  .vault-dl-card .dl-box { padding: 22px 16px; }
  .vault-dl-cta .btn { width: 100%; justify-content: center; }
}

/* ---------------------------------- Babylon Vault extension (صفحة Vault) ---------------------------------- */
#extension .section-head { max-width: 760px; }
.ext-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ext-stage { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-elev);
  box-shadow: 0 30px 70px -30px rgba(99, 102, 241, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; }
.ext-stage img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 800; background: var(--bg-elev-2); }
.ext-stage figcaption { padding: 14px 18px; color: var(--text-dim); font-size: 14.5px; border-top: 1px solid var(--border-soft); min-height: 52px; }
.ext-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.ext-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--bg-elev); cursor: pointer;
  opacity: .62; transition: opacity .15s, border-color .15s, transform .15s; outline: none; }
.ext-thumbs button img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 800; }
.ext-thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.ext-thumbs button.is-active { opacity: 1; border-color: var(--accent-1); }
.ext-thumbs button:focus-visible { border-color: #fff; opacity: 1; }
.ext-points { list-style: none; display: grid; gap: 14px; }
.ext-points li { position: relative; display: grid; gap: 2px; padding-inline-start: 34px; }
.ext-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gradient) center / 100% 100%; }
.ext-points li::after { content: ""; position: absolute; inset-inline-start: 7px; top: 9px; width: 8px; height: 4px; border-left: 2px solid #06101f;
  border-bottom: 2px solid #06101f; transform: rotate(-45deg); }
.ext-points b { font-size: 15.5px; }
.ext-points span { color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.ext-cta { margin-top: 24px; display: grid; gap: 12px; justify-items: start; }
.ext-badge { text-decoration: none; }
.ext-badge.is-soon { cursor: default; opacity: .85; border-style: dashed; }
.ext-note { color: var(--text-dim); font-size: 13.5px; line-height: 1.8; }
.ext-honest a { color: var(--accent-1); text-decoration: underline; text-underline-offset: 3px; }
.ext-steps { list-style: none; counter-reset: ext; display: grid; gap: 12px; margin-top: 26px; padding: 18px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--bg-elev); }
.ext-steps-head { font-weight: 700; font-size: 15px; color: var(--text); }
.ext-steps li:not(.ext-steps-head) { counter-increment: ext; position: relative; display: grid; gap: 2px; padding-inline-start: 38px; }
.ext-steps li:not(.ext-steps-head)::before { content: counter(ext); position: absolute; inset-inline-start: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--gradient); color: #06101f; }
.ext-steps b { font-size: 14.5px; }
.ext-steps span { color: var(--text-dim); font-size: 13.5px; line-height: 1.7; }
@media (max-width: 900px) { .ext-grid { grid-template-columns: 1fr; gap: 26px; } .ext-thumbs { gap: 8px; } }
@media (max-width: 520px) { .ext-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; } .ext-stage figcaption { font-size: 13.5px; padding: 12px 14px; } }
@media (prefers-reduced-motion: reduce) { .ext-thumbs button { transition: none; } .ext-thumbs button:hover { transform: none; } }
.ext-badge b { font-size: 16px; line-height: 1.35; }
.ext-badge.is-soon .sb-text { max-width: 260px; }

/* الهالات الزخرفية في الخلفية كانت تتجاوز عرض الشاشة في الوضع العربي فتنزلق الصفحة أفقياً على الجوال */
html, body { overflow-x: clip; }
@media (min-width: 901px) { .ext-gallery { position: sticky; top: 96px; } }
/* ---------------------------------- معرض صور التطبيق + أزرار التحميل "قريباً" ---------------------------------- */
.gal-wrap { max-width: 1040px; margin: 0 auto; }
.ext-thumbs.six { grid-template-columns: repeat(6, 1fr); }
.store-badge.is-soon { cursor: default; opacity: .8; border-style: dashed; background: #151515; }
.store-badge.is-soon:hover { transform: none; box-shadow: none; border-color: rgba(255, 255, 255, .28); }
.store-badge.is-soon b { font-size: 16px; line-height: 1.35; }
@media (max-width: 520px) { .ext-thumbs.six { gap: 5px; } }
.gal-legal { margin-top: 14px; color: var(--text-dimmer); font-size: 12px; line-height: 1.8; text-align: center; }

/* BETA mark next to the Vault status title */
.beta-tag { display: inline-block; vertical-align: middle; margin-inline-start: 8px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; line-height: 1.5; color: #06101f; background: linear-gradient(135deg, var(--accent-1), #6366f1); }

/* ═══════════════════════ مركز التطبيقات (apps.html) ═══════════════════════
   Hero composition and product showcases built around the real promo images. .win-crop / .pop-crop cut the app window
   (or the extension pop-up) out of a 1280x800 promo image: --x/--y/--w/--h are that rectangle in image pixels, and the
   Arabic and English images are mirrored, so --x depends on the page direction. */
.hub section[id], .hub-dl { scroll-margin-top: 92px; }
.win-crop, .pop-crop { --x: 47; --y: 161; --w: 730; --h: 454; position: relative; overflow: hidden; aspect-ratio: 730 / 454; border-radius: 12px; background: #eef1f8; }
[dir="ltr"] .win-crop { --x: 503; }
.pop-crop { --x: 84; --y: 142; --w: 356; --h: 267; aspect-ratio: 356 / 267; border-radius: 14px; }
[dir="ltr"] .pop-crop { --x: 840; }
.win-crop img, .pop-crop img { position: absolute; max-width: none; height: auto; width: calc(1280 / var(--w) * 100%); left: calc(var(--x) / var(--w) * -100%); top: calc(var(--y) / var(--h) * -100%); }
.win-crop img.is-swap { animation: hub-swap .55s ease both; }
@keyframes hub-swap { from { opacity: .2; filter: blur(6px); } to { opacity: 1; filter: none; } }

/* ---------- hero ---------- */
.hub-hero { position: relative; padding: 72px 0 56px; }
.hub-aurora { position: absolute; inset: -40px 0 auto; height: 760px; z-index: -1; pointer-events: none; overflow: hidden; }
.hub-aurora i { position: absolute; border-radius: 50%; animation: hub-drift 18s ease-in-out infinite alternate; }
.hub-aurora i:nth-child(1) { width: 560px; height: 560px; top: 0; inset-inline-end: 4%; background: radial-gradient(circle, rgba(34, 211, 238, .26), transparent 65%); }
.hub-aurora i:nth-child(2) { width: 640px; height: 640px; top: 140px; inset-inline-end: 24%; background: radial-gradient(circle, rgba(99, 102, 241, .28), transparent 65%); animation-duration: 23s; }
.hub-aurora i:nth-child(3) { width: 420px; height: 420px; top: -60px; inset-inline-start: 6%; background: radial-gradient(circle, rgba(168, 85, 247, .16), transparent 65%); animation-duration: 27s; }
@keyframes hub-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(46px, 34px) scale(1.14); } }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 52px; align-items: center; }
.hub-hero-copy h1 { font-size: clamp(31px, 4.4vw, 54px); font-weight: 800; line-height: 1.22; margin: 0 0 20px; }
.hub-hero-copy h1 .grad { background: linear-gradient(110deg, var(--accent-1), #818cf8 55%, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hub-hero-copy .lead { font-size: clamp(15px, 1.6vw, 18px); color: var(--text-dim); max-width: 560px; margin: 0 0 30px; line-height: 1.85; }
.hub-hero-actions { justify-content: flex-start; }
.hub-hero-actions .btn { padding: 14px 28px; font-size: 15px; }
.hub-chips { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; }
.hub-chips li { display: inline-flex; align-items: center; gap: 7px; color: var(--text-dim); font-size: 13.5px; font-weight: 600; }
.hub-chips svg { color: var(--accent-1); flex: none; }

.hub-stage { --px: 0; --py: 0; --tilt: -7deg; position: relative; aspect-ratio: 1.1; perspective: 1600px; }
[dir="rtl"] .hub-stage { --tilt: 7deg; }
.hub-stage-tilt { position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateY(calc(var(--tilt) + var(--px) * 9deg)) rotateX(calc(3deg - var(--py) * 8deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hub-win, .hub-pop { position: absolute; margin: 0; padding: 6px; border-radius: 18px; background: linear-gradient(150deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05) 45%, rgba(255, 255, 255, .12));
  box-shadow: 0 50px 90px -34px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08) inset; transition: translate .6s cubic-bezier(.2, .7, .2, 1);
  animation: hub-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hub-win-back { width: 80%; top: 0; inset-inline-start: 0; transform: translateZ(-40px); translate: calc(var(--px) * -14px) calc(var(--py) * -10px); }
.hub-win-front { width: 64%; top: 31%; inset-inline-end: 0; transform: translateZ(30px); translate: calc(var(--px) * 12px) calc(var(--py) * 10px); animation-delay: .15s;
  box-shadow: 0 60px 100px -30px rgba(10, 14, 40, .95), 0 0 70px -20px rgba(99, 102, 241, .55), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.hub-pop { width: 37%; bottom: 0; inset-inline-start: 5%; padding: 5px; border-radius: 20px; transform: translateZ(70px); translate: calc(var(--px) * 20px) calc(var(--py) * 16px); animation-delay: .3s;
  box-shadow: 0 40px 70px -26px rgba(0, 0, 0, .9), 0 0 50px -16px rgba(34, 211, 238, .5), 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.hub-float { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding-block: 7px; padding-inline: 7px 15px; border-radius: 999px; white-space: nowrap;
  background: rgba(13, 18, 32, .84); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 700; color: var(--text); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .9); transform: translateZ(110px);
  animation: hub-rise .8s cubic-bezier(.2, .7, .2, 1) .5s both, hub-bob 6.5s ease-in-out 1.4s infinite; }
.hub-float img { width: 26px; height: 26px; padding: 3px; border-radius: 8px; background: #fff; object-fit: contain; }
.hub-float svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #22c55e; background: rgba(34, 197, 94, .16); }
.hub-float-a { top: -4%; inset-inline-end: 3%; }
.hub-float-b { top: 22%; inset-inline-end: -3%; animation-delay: .65s, 2.2s; }
.hub-float-c { bottom: 6%; inset-inline-end: 12%; animation-delay: .8s, 3s; }
@keyframes hub-rise { from { opacity: 0; scale: .93; } to { opacity: 1; scale: 1; } }
@keyframes hub-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* ---------- trust strip ---------- */
.hub-trust-wrap { padding: 8px 0 30px; }
.hub-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: 20px; border: 1px solid var(--border); background: var(--border-soft); }
.hub-trust li { display: flex; align-items: center; gap: 13px; padding: 18px 20px; background: rgba(11, 16, 29, .94); }
.hub-trust-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #05070d; background: var(--gradient); box-shadow: 0 10px 24px -10px rgba(34, 211, 238, .6); }
.hub-trust b { display: block; font-size: 14.5px; line-height: 1.4; }
.hub-trust small { display: block; color: var(--text-dim); font-size: 12.5px; line-height: 1.5; }

/* ---------- product showcases ---------- */
.hub-product { position: relative; padding: 96px 0; }
.hub-product-alt { background: linear-gradient(180deg, transparent, rgba(99, 102, 241, .055) 18%, rgba(99, 102, 241, .055) 82%, transparent); }
.hub-product-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hub-product-alt .hub-media { order: 2; }
.hub-media { position: relative; }
.hub-media::before { content: ''; position: absolute; inset: -8% -6% auto; height: 70%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(34, 211, 238, .16), transparent); }
.hub-product-alt .hub-media::before { background: radial-gradient(closest-side, rgba(99, 102, 241, .22), transparent); }
@media (min-width: 901px) { .hub-media { position: sticky; top: 100px; } }
.hub-screen { padding: 9px; border-radius: 22px; background: linear-gradient(155deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 50%, rgba(255, 255, 255, .09));
  box-shadow: 0 50px 100px -40px rgba(34, 211, 238, .45), 0 0 0 1px rgba(255, 255, 255, .07) inset; }
.hub-screen-vault { box-shadow: 0 50px 100px -40px rgba(99, 102, 241, .65), 0 0 0 1px rgba(255, 255, 255, .07) inset; }
.hub-screen .win-crop { border-radius: 14px; }
.hub-shot-caption { margin: 16px 4px 12px; min-height: 1.7em; color: var(--text-dim); font-size: 14.5px; }
.hub-shot-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-shot-tabs button { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03); color: var(--text-dim);
  font-size: 13px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.hub-shot-tabs button:hover { color: var(--text); border-color: rgba(255, 255, 255, .25); }
.hub-shot-tabs button.is-active { color: #05070d; background: var(--gradient); border-color: transparent; }
.hub-shot-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.hub-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hub-tags .section-tag { margin: 0; }
.hub-tags .badge { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.hub-info h2 { font-size: clamp(27px, 3.4vw, 42px); font-weight: 800; line-height: 1.22; margin: 12px 0 14px; }
.hub-info h2 .beta-tag { font-size: 12px; }
.hub-body { color: var(--text-dim); font-size: 16px; line-height: 1.9; }
.hub-mini-head { margin: 24px 0 10px; color: var(--text-dimmer); font-size: 12.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.hub-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-tools li { display: inline-flex; align-items: center; gap: 8px; padding-block: 5px; padding-inline: 5px 13px; border-radius: 999px; border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, .035); font-size: 13px; font-weight: 600; transition: border-color .2s, transform .2s; }
.hub-tools li:hover { border-color: var(--c1); transform: translateY(-2px); }
.hub-tools i { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: 0 6px 14px -6px var(--c1); }
.hub-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.hub-feats li { display: flex; gap: 12px; align-items: flex-start; padding: 15px; border-radius: 15px; border: 1px solid var(--border-soft); background: rgba(255, 255, 255, .022); }
.hub-feat-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-1); background: rgba(34, 211, 238, .12); }
.hub-product-alt .hub-feat-ic { color: #a5b4fc; background: rgba(99, 102, 241, .16); }
.hub-feats b { display: block; font-size: 14.5px; line-height: 1.45; margin-bottom: 2px; }
.hub-feats small { display: block; color: var(--text-dim); font-size: 13px; line-height: 1.65; }
.hub-platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; color: var(--text-dimmer); font-size: 13px; font-weight: 600; }
.hub-platforms ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-platforms li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .03); }
.hub-platforms li svg { color: var(--text-dim); }
.hub-platforms li.is-soon { border-style: dashed; color: var(--text-dim); }
.hub-platforms li em { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; color: var(--text-dim); background: rgba(255, 255, 255, .08); }
.hub-honest { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 15px; background: rgba(245, 179, 1, .06); border: 1px solid rgba(245, 179, 1, .24); }
.hub-honest svg { flex: none; color: #f5b301; margin-top: 2px; }
.hub-honest b { display: block; font-size: 14px; margin-bottom: 2px; }
.hub-honest p { color: var(--text-dim); font-size: 13.5px; line-height: 1.75; }

/* download panel: the product pages' download card in a compact form (.dl-meta, .dl-btn and the store badges are shared) */
.hub-dl { display: grid; gap: 14px; margin-top: 26px; padding: 20px; border-radius: 22px; border: 1px solid rgba(34, 211, 238, .24);
  background: linear-gradient(155deg, rgba(34, 211, 238, .09), rgba(99, 102, 241, .08) 55%, rgba(13, 18, 32, .75)); box-shadow: 0 34px 70px -46px rgba(34, 211, 238, .7); }
#dl-vault { border-color: rgba(129, 140, 248, .3); background: linear-gradient(155deg, rgba(99, 102, 241, .13), rgba(34, 211, 238, .05) 55%, rgba(13, 18, 32, .75)); }
.hub-dl-head { display: flex; align-items: center; gap: 12px; }
.hub-dl-logo { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8); }
.hub-dl-logo img { width: 34px; height: 34px; object-fit: contain; }
.hub-dl-name { display: grid; gap: 2px; min-width: 0; }
.hub-dl-name > b { font-size: 18px; font-weight: 800; line-height: 1.3; }
.hub-dl-name > b span { color: var(--accent-1); }
.hub-dl-social { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--text-dim); font-size: 12.5px; }
.hub-dl-social b { color: var(--text); }
.hub-dl-social .rv-stars { font-size: 13px; }
.hub-dl .dl-meta span { flex: 1 1 0; min-width: 0; text-align: center; }
.hub-dl.is-loading .dl-meta b { color: transparent; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)) 0 0 / 200% 100%; animation: hub-shimmer 1.2s linear infinite; }
@keyframes hub-shimmer { to { background-position: -200% 0; } }
.hub-dl .dl-btn { text-decoration: none; white-space: normal; text-align: center; line-height: 1.4; }
.hub-stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 10px; }
.hub-stores .store-badge { min-height: 58px; }
.hub-more { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-1); font-size: 13.5px; font-weight: 700; }
.hub-more::after { content: "\2190"; transition: transform .15s; }
[dir="ltr"] .hub-more::after { content: "\2192"; }
.hub-more:hover span { text-decoration: underline; text-underline-offset: 3px; }
.hub-more:hover::after { transform: translateX(-3px); }
[dir="ltr"] .hub-more:hover::after { transform: translateX(3px); }

/* Vault extension card under the Vault showcase */
.hub-ext { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; align-items: center; margin-top: 24px; padding: 16px; border-radius: 20px; border: 1px solid var(--border); background: rgba(13, 18, 32, .8); }
.hub-ext-shot { box-shadow: 0 24px 50px -24px rgba(34, 211, 238, .5); }
.hub-ext-text h3 { font-size: 17px; font-weight: 800; }
.hub-ext-text p { margin: 6px 0 12px; color: var(--text-dim); font-size: 13.5px; line-height: 1.75; }
.hub-ext-badge .store-badge { max-width: 320px; min-height: 56px; }
.hub-media .gal-legal { text-align: start; }

/* ---------- comparison ---------- */
.hub-cmp { max-width: 980px; margin: 0 auto; overflow: hidden; border-radius: 22px; border: 1px solid var(--border); background: var(--bg-elev); }
.hub-cmp-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1.3fr); }
.hub-cmp-row > span { padding: 15px 22px; border-top: 1px solid var(--border-soft); font-size: 14.5px; line-height: 1.65; }
.hub-cmp-row > span:nth-child(3) { background: rgba(99, 102, 241, .045); }
.hub-cmp-label { color: var(--text-dim); font-size: 13.5px !important; font-weight: 700; }
.hub-cmp-head > span { display: flex; align-items: center; gap: 10px; border-top: 0; padding-block: 18px; font-weight: 800; font-size: 15.5px; background: rgba(255, 255, 255, .03); }
.hub-cmp-head img { width: 26px; height: 26px; padding: 3px; border-radius: 8px; background: #fff; object-fit: contain; flex: none; }
.hub-cmp-foot > span { padding-block: 18px; }
.hub-cmp-foot .btn { padding: 10px 22px; }
.hub-cmp-row:not(.hub-cmp-head):not(.hub-cmp-foot):hover > span { background-color: rgba(255, 255, 255, .025); }

/* ---------- roadmap ---------- */
.hub-road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hub-road li { position: relative; overflow: hidden; padding: 24px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg-elev); }
.hub-road li.is-next { border-color: rgba(34, 211, 238, .38); background: linear-gradient(160deg, rgba(34, 211, 238, .11), rgba(99, 102, 241, .07) 60%, var(--bg-elev)); }
.hub-road-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.hub-road-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--accent-1); background: rgba(255, 255, 255, .06); }
.hub-road li.is-next .hub-road-ic { color: #05070d; background: var(--gradient); }
.hub-road-status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--accent-1); background: rgba(34, 211, 238, .13); }
.hub-road li.is-next .hub-road-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-1); animation: hub-ping 1.8s ease-out infinite; }
@keyframes hub-ping { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); } 100% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); } }
.hub-road h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.hub-road p { color: var(--text-dim); font-size: 14px; line-height: 1.8; }

/* ---------- FAQ ---------- */
.hub-faq { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.hub-faq details { padding: 0 22px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg-elev); transition: border-color .2s, background .2s; }
.hub-faq details[open] { border-color: rgba(34, 211, 238, .32); background: var(--bg-elev-2); }
.hub-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; font-size: 15.5px; font-weight: 700; }
.hub-faq summary::-webkit-details-marker { display: none; }
.hub-faq summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; font-weight: 600; line-height: 1;
  color: var(--accent-1); background: rgba(34, 211, 238, .1); transition: transform .25s; }
.hub-faq details[open] summary::after { transform: rotate(45deg); }
.hub-faq summary:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 4px; border-radius: 6px; }
.hub-faq details p { padding: 0 0 18px; color: var(--text-dim); font-size: 14.5px; line-height: 1.9; }

/* ---------- closing CTA ---------- */
.hub-cta { isolation: isolate; }
.hub-cta::before { content: ''; position: absolute; inset: -40% 20% auto; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(34, 211, 238, .18), transparent); }

/* ---------- reveal on scroll (app.js adds .hub-reveal only when motion is allowed) ---------- */
.hub-reveal .reveal { opacity: 0; translate: 0 28px; transition: opacity .8s ease, translate .8s cubic-bezier(.2, .7, .2, 1); }
.hub-reveal .reveal.is-in { opacity: 1; translate: 0 0; }
.hub-reveal .hub-trust li, .hub-reveal .hub-road li { opacity: 0; translate: 0 16px; transition: opacity .6s ease calc(var(--d, 0) * 90ms + .1s), translate .6s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0) * 90ms + .1s); }
.hub-reveal .hub-trust.is-in li, .hub-reveal .hub-road.is-in li { opacity: 1; translate: 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hub-hero-grid { gap: 36px; }
  .hub-product-grid { gap: 40px; }
  .hub-trust li { padding: 16px; }
}
@media (max-width: 900px) {
  .hub-hero { padding: 56px 0 40px; }
  .hub-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hub-hero-copy { text-align: center; }
  .hub-hero-copy .lead { margin-inline: auto; }
  .hub-hero-actions, .hub-chips { justify-content: center; }
  .hub-stage { width: 100%; max-width: 640px; margin: 0 auto; }
  .hub-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-product { padding: 72px 0; }
  .hub-product-grid { grid-template-columns: 1fr; gap: 34px; }
  .hub-product-alt .hub-media { order: 0; }
  .hub-road { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hub-cmp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-cmp-row > span { padding: 12px 16px; font-size: 13.5px; }
  .hub-cmp-row > .hub-cmp-label { grid-column: 1 / -1; padding-bottom: 2px; background: rgba(255, 255, 255, .02); }
  .hub-cmp-row:not(.hub-cmp-head):not(.hub-cmp-foot) > span[role="cell"] { border-top: 0; }
  .hub-cmp-head > span:first-child, .hub-cmp-foot > span:first-child { display: none; }
  .hub-cmp-head > span { font-size: 13.5px; gap: 8px; padding: 14px 16px; }
  .hub-cmp-foot .btn { width: 100%; padding: 10px 12px; }
}
@media (max-width: 560px) {
  .hub-hero { padding: 40px 0 28px; }
  .hub-hero-actions .btn { flex: 1 1 100%; }
  .hub-chips { gap: 8px 14px; }
  .hub-stage { aspect-ratio: 1.02; }
  .hub-float { font-size: 11.5px; gap: 6px; padding-inline: 5px 11px; padding-block: 5px; }
  .hub-float img, .hub-float svg { width: 22px; height: 22px; }
  .hub-float-b { inset-inline-end: 0; }
  .hub-win, .hub-pop { padding: 4px; border-radius: 13px; }
  .hub-win .win-crop { border-radius: 9px; }
  .pop-crop { border-radius: 10px; }
  .hub-trust { grid-template-columns: 1fr; }
  .hub-product { padding: 56px 0; }
  .hub-feats { grid-template-columns: 1fr; }
  .hub-dl { padding: 16px; border-radius: 18px; }
  .hub-dl .dl-meta { gap: 6px; }
  .hub-dl .dl-meta span { padding: 8px 6px; }
  .hub-ext { grid-template-columns: 1fr; }
  .hub-faq details { padding: 0 16px; }
  .hub-faq summary { font-size: 14.5px; }
  .hub-cta .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-aurora i, .hub-win, .hub-pop, .hub-float, .win-crop img.is-swap, .hub-dl.is-loading .dl-meta b, .hub-road li.is-next .hub-road-status::before { animation: none !important; }
  .hub-stage-tilt, .hub-win, .hub-pop, .hub-tools li { transition: none; }
}
