/* ox-deploy-id: 20260330 — if View Source on /css/saas.css lacks this, wrong file or cache */
/* ================================================================
   OraxSender Homepage — layout + Orax brand (logo-aligned gradients)
   Primary: #E03C3C · Deep: #1A237E · Surfaces & tokens: 2024+ UI patterns
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;600;700&family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
  /* Core brand (cube / wordmark) */
  --primary: #E03C3C;
  --primary-dark: #c42828;
  --primary-mid: #d63347;
  --primary-soft: #fde8ea;
  --primary-light: #fef2f2;
  --dark: #1A237E;
  --dark-deep: #121a5c;
  --dark-soft: #283593;
  --text: #1e293b;
  --muted: #475569;
  --light-muted: #64748b;
  --border: rgba(26, 35, 126, 0.1);
  --border-subtle: rgba(15, 23, 42, 0.06);
  --bg: #ffffff;
  --bg-light: #f4f6fd;
  /* Brand gradients (logo red → indigo harmony) */
  --gradient-brand: linear-gradient(135deg, #E03C3C 0%, #cc2e4a 42%, #5c3d9e 78%, #1A237E 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(224, 60, 60, 0.12) 0%, rgba(26, 35, 126, 0.08) 100%);
  --gradient-surface: linear-gradient(180deg, #fafbfd 0%, #ffffff 38%, #f5f7fc 100%);
  --gradient-hero: linear-gradient(165deg, #ffffff 0%, #fff8f8 38%, #f3f5ff 72%, #eef1fb 100%);
  /* أقسام الصفحة — طبقات مرئية (ليست مسطحة) */
  --gradient-section-surface: linear-gradient(
    178deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(245, 247, 252, 1) 38%,
    rgba(236, 241, 249, 0.98) 72%,
    rgba(252, 253, 255, 0.94) 100%
  );
  --gradient-section-alt: linear-gradient(
    168deg,
    #f4f6ff 0%,
    #faf6f9 32%,
    #e9ecf9 58%,
    #fff8f7 100%
  );
  --gradient-footer: linear-gradient(165deg, #121a52 0%, #1A237E 45%, #0d1240 100%);
  --gradient-cta-ring: linear-gradient(135deg, rgba(224, 60, 60, 0.35), rgba(26, 35, 126, 0.25));
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(26, 35, 126, 0.06), 0 10px 22px -8px rgba(224, 60, 60, 0.08);
  --shadow-lg: 0 18px 40px -12px rgba(26, 35, 126, 0.14);
  --shadow-btn: 0 6px 20px rgba(224, 60, 60, 0.28);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  /* Motion — cubic-bezier حديثة ومرئية (spring / overshoot / easings.net style) */
  /* “ينبض” عند التوقف — واضح جداً عند hover/out */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-spring-soft: cubic-bezier(0.34, 1.45, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-soft: cubic-bezier(0.65, 0, 0.35, 1);
  /* ضغط سريع وحاد (click feedback) */
  --ease-press: cubic-bezier(0.55, 0, 0.85, 0.45);
  --dur-bounce: 0.72s;
  --dur-interaction: 0.68s;
  --dur-press: 0.12s;
}

*, *::before, *::after { box-sizing: border-box; }
/* smooth scroll forces main-thread scrolling sync on long pages; auto feels snappier */
html { scroll-behavior: auto; }

/* One-page menu: targets scroll below sticky header */
section[id],
.ox-hero[id] {
  scroll-margin-top: calc(72px + 1.25rem);
}
@media (max-width: 991px) {
  section[id],
  .ox-hero[id] {
    scroll-margin-top: calc(64px + 1rem);
  }
}

body.ox-body {
  margin: 0;
  padding: 0;
  position: relative;
  isolation: isolate;
  /* طبقة أساس هادئة؛ التدرجات الفاخرة على الطبقات الثابتة */
  background: #f7f8fc;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

/* شبكة لونية متحركة + عمق (فخامة خفيفة بدون صخب) */
body.ox-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 140% 90% at 0% 0%, rgba(224, 60, 60, 0.13), transparent 52%),
    radial-gradient(ellipse 100% 80% at 100% 0%, rgba(103, 58, 183, 0.1), transparent 48%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(26, 35, 126, 0.14), transparent 58%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(255, 255, 255, 0.85), transparent),
    linear-gradient(180deg, #fdfdfe 0%, #f6f7fc 35%, #eef1fb 100%);
  background-attachment: fixed;
  animation: ox-mesh-breathe 24s var(--ease-in-out-soft) infinite alternate;
}

/* حبيبات / نسيج فاخر (noise overlay) */
body.ox-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  mix-blend-mode: normal;
}

@keyframes ox-mesh-breathe {
  0% {
    filter: saturate(1) brightness(1);
    opacity: 1;
  }
  100% {
    filter: saturate(1.12) brightness(1.04);
    opacity: 0.97;
  }
}

/* IMPORTANT: Never use `.ox-ltr * { font-family: ... !important }` — it overrides
   Font Awesome on every <i> and icons disappear. Set font on body only. */
body.ox-body.ox-ltr {
  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.015em;
}
body.ox-body.ox-rtl {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.01em;
}

body.ox-body.ox-ltr input,
body.ox-body.ox-ltr textarea,
body.ox-body.ox-ltr button,
body.ox-body.ox-ltr select,
body.ox-body.ox-rtl input,
body.ox-body.ox-rtl textarea,
body.ox-body.ox-rtl button,
body.ox-body.ox-rtl select {
  font-family: inherit;
}

/* Font Awesome 5 Pro (local font-awesome-pro.css) — must win over body font */
.fas, .far, .fal, .fad {
  font-family: "Font Awesome 5 Pro" !important;
  letter-spacing: normal !important;
}
.fab {
  font-family: "Font Awesome 5 Brands" !important;
  letter-spacing: normal !important;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
p {
  font-weight: 500;
  line-height: 1.75;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Container */
.ox-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER — ultramsg rhythm: [logo] · [centered nav] · [lang pill]
═══════════════════════════════════════════════════════════════ */
.ox-header {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 24px -6px rgba(26, 35, 126, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
@supports not (backdrop-filter: blur(1px)) {
  .ox-header { background: rgba(255, 255, 255, 0.96); }
}
.ox-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 72px;
  padding: 8px 0;
  gap: 0.75rem 1.5rem;
}
.ox-logo {
  flex-shrink: 0;
}
.ox-logo img,
.ox-logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
/* Single row: long RTL labels + 7 links need nowrap; thin scrollbar if viewport is tight */
.ox-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ox-nav::-webkit-scrollbar {
  display: none;
  height: 0;
}
.ox-nav a {
  flex-shrink: 0;
  padding: 7px 10px;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  color: #374151;
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.ox-nav a:hover {
  color: var(--primary);
  background: transparent;
}
.ox-nav a.active {
  color: var(--primary);
  background: rgba(224, 60, 60, 0.08);
}

/* Account / panel — beside lang in .ox-header-actions (not inside .ox-nav, avoids nav wrapping to two rows) */
.ox-header-actions a.ox-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid rgba(224, 60, 60, 0.42);
  background: #fff;
  color: var(--primary) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.2s var(--ease-spring, ease-out);
}
.ox-header-actions a.ox-nav-cta i {
  font-size: 0.9em;
  opacity: 0.92;
}
.ox-header-actions a.ox-nav-cta:hover {
  background: rgba(224, 60, 60, 0.07);
  border-color: var(--primary);
  color: var(--primary) !important;
  box-shadow: 0 4px 16px rgba(224, 60, 60, 0.18);
  transform: translateY(-1px);
}
.ox-header-actions a.ox-nav-cta.ox-nav-cta--solid {
  border-color: transparent;
  background: linear-gradient(145deg, #e53935 0%, #c62828 48%, #b71c1c 100%);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.38);
}
.ox-header-actions a.ox-nav-cta.ox-nav-cta--solid:hover {
  filter: brightness(1.06);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.45);
  transform: translateY(-1px);
}

.ox-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* Language — light pill like ultramsg (not solid block) */
.ox-lang-wrap { position: relative; }
.ox-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--dur-bounce) var(--ease-spring),
    border-color 0.35s var(--ease-out-smooth),
    box-shadow 0.4s var(--ease-out-smooth),
    color 0.35s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.ox-lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(224, 60, 60, 0.18);
  transform: translate3d(0, -3px, 0) scale(1.03);
}
.ox-lang-btn:active {
  transform: scale(0.95);
  transition-duration: var(--dur-press);
  transition-timing-function: var(--ease-press);
}
.ox-lang-btn i { font-size: 10px; opacity: .7; }
.ox-lang-flag { font-size: 1.1em; line-height: 1; }
.ox-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  min-width: 150px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0,0,0,.15);
  overflow: hidden;
  z-index: 100;
}
.ox-ltr .ox-lang-menu { right: 0; }
.ox-rtl .ox-lang-menu { left: 0; }
.ox-lang-menu.open { display: block; }
.ox-lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  transition: background .15s;
}
.ox-lang-menu a:hover { background: #f5f5f5; }
.ox-lang-menu a.active { color: var(--primary); font-weight: 600; }

/* Mobile */
.ox-mobile-toggle {
  display: none;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 22px;
  color: var(--dark);
  cursor: pointer;
  padding: 8px 12px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--dur-bounce) var(--ease-spring),
    background 0.35s ease,
    box-shadow 0.35s var(--ease-out-smooth);
}
.ox-mobile-toggle:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(26, 35, 126, 0.12);
  transform: translate3d(0, -2px, 0) scale(1.06);
}
.ox-mobile-toggle:active {
  transform: scale(0.92);
  transition-duration: var(--dur-press);
  transition-timing-function: var(--ease-press);
}
.ox-mobile-nav {
  display: none;
  background: #fff;
  padding: 15px;
  border-top: 1px solid var(--border);
}
.ox-mobile-nav.open { display: block; }
.ox-mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid #f0f0f0;
}
.ox-mobile-nav a:hover { color: var(--primary); }
.ox-mobile-nav a.ox-mobile-nav-cta {
  margin-top: 10px;
  padding: 14px 18px;
  border-radius: 9999px;
  font-weight: 800;
  text-align: center;
  border: 1px solid rgba(224, 60, 60, 0.42);
  background: #fff;
  color: var(--primary) !important;
  border-bottom: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.ox-mobile-nav a.ox-mobile-nav-cta:hover {
  background: rgba(224, 60, 60, 0.08);
  color: var(--primary) !important;
}
.ox-mobile-nav a.ox-mobile-nav-cta.ox-nav-cta--solid {
  border-color: transparent;
  background: linear-gradient(145deg, #e53935 0%, #c62828 48%, #b71c1c 100%);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.35);
}
.ox-mobile-nav a.ox-mobile-nav-cta.ox-nav-cta--solid:hover {
  filter: brightness(1.05);
  color: #fff !important;
}
.ox-mobile-lang {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.ox-mobile-lang a {
  padding: 10px 18px;
  background: var(--bg-light);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  border: none;
}
.ox-mobile-lang a.active { background: var(--primary); color: #fff; }

@media (max-width: 991px) {
  .ox-header-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .ox-nav { display: none !important; }
  .ox-header-actions .ox-header-cta { display: none !important; }
  /* Keep language dropdown visible (button + menu) — was hidden and felt “broken” vs desktop */
  .ox-mobile-toggle { display: flex !important; align-items: center; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO — ultramsg: airy blobs + strong type scale + pill buttons
═══════════════════════════════════════════════════════════════ */
.ox-hero {
  position: relative;
  background: var(--gradient-hero);
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) 16px clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
}
/* وهج بطيء داخل الهيرو (طبقة فخمة خلف المحتوى) */
.ox-hero::before {
  content: "";
  position: absolute;
  inset: -30% -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 25% 45%, rgba(224, 60, 60, 0.12), transparent 65%),
    radial-gradient(ellipse 50% 40% at 75% 55%, rgba(57, 73, 171, 0.14), transparent 62%),
    conic-gradient(from 210deg at 50% 50%, rgba(255, 255, 255, 0.14), transparent 25%, rgba(26, 35, 126, 0.06), transparent 75%);
  opacity: 0.9;
  animation: ox-hero-aurora 18s var(--ease-in-out-soft) infinite alternate;
}
@keyframes ox-hero-aurora {
  0% { transform: scale(1) rotate(0deg); opacity: 0.75; }
  100% { transform: scale(1.05) rotate(2deg); opacity: 1; }
}
.ox-hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.ox-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
}
/* Soft red / slate accents (brand) — same role as ultramsg teal blobs */
.ox-hero-blob--1 {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -18%;
  opacity: 0.22;
  background: radial-gradient(circle at 32% 32%, #E03C3C 0%, rgba(224, 60, 60, 0.35) 38%, transparent 72%);
}
html[dir="ltr"] .ox-hero-blob--1 { right: -12%; left: auto; }
html[dir="rtl"] .ox-hero-blob--1 { left: -12%; right: auto; }
.ox-hero-blob--2 {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  bottom: -15%;
  opacity: 0.18;
  background: radial-gradient(circle at 70% 70%, #3949ab 0%, rgba(26, 35, 126, 0.4) 42%, transparent 75%);
}
html[dir="ltr"] .ox-hero-blob--2 { left: -8%; right: auto; }
html[dir="rtl"] .ox-hero-blob--2 { right: -8%; left: auto; }

.ox-hero .ox-container { position: relative; z-index: 2; }
.ox-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}
.ox-hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 4.25rem);
  font-weight: 800;
  background: linear-gradient(120deg, #E03C3C 0%, #d12640 35%, #303f9f 72%, #1A237E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 0.35em;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
@supports not (background-clip: text) {
  .ox-hero h1 {
    color: var(--primary);
    background: none;
  }
}
.ox-hero-sub {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--dark-soft);
  margin: 0 0 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.92;
}
.ox-hero-price {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 1rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.ox-hero-desc {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: #4b5563;
  margin: 0 auto 1.75rem;
  line-height: 1.75;
  max-width: 38rem;
}
.ox-hero-ctas {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
/* Arabic / RTL: primary “Free trial” ends up on the visual right like ultramsg */
html[dir="rtl"] .ox-hero-ctas {
  flex-direction: row-reverse;
}

/* Buttons — pill + cubic-bezier واضح (رفع + ارتداد عند إزالة الماوس + موجة ضغط) */
.ox-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  min-height: 52px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--dur-bounce) var(--ease-spring),
    box-shadow 0.45s var(--ease-out-smooth),
    filter 0.4s var(--ease-out-smooth),
    border-color 0.4s var(--ease-out-smooth),
    background 0.5s var(--ease-out-expo),
    color 0.35s ease;
}
.ox-btn > * {
  position: relative;
  z-index: 2;
}
/* بريق يمر عند المرور (لمسة فخمة) */
.ox-btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-130%) skewX(-12deg);
  transition: transform 0.55s var(--ease-out-expo);
  z-index: 1;
  pointer-events: none;
}
.ox-btn-primary:hover::before {
  transform: translateX(130%) skewX(-12deg);
}
/* موجة ضغط */
.ox-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.42), transparent 65%);
  transform: scale(0);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.ox-btn:active::after {
  animation: ox-btn-ripple 0.88s var(--ease-out-expo) forwards;
}
.ox-btn:active {
  transform: translate3d(0, -1px, 0) scale(0.92);
  transition-duration: var(--dur-press);
  transition-timing-function: var(--ease-press);
}
.ox-btn:focus-visible {
  outline: none;
  box-shadow:
    var(--shadow-btn),
    0 0 0 3px rgba(224, 60, 60, 0.35),
    0 0 0 6px rgba(26, 35, 126, 0.12);
}
@keyframes ox-btn-ripple {
  0% {
    transform: scale(0);
    opacity: 0.72;
  }
  100% {
    transform: scale(2.55);
    opacity: 0;
  }
}
.ox-btn-primary {
  background: linear-gradient(135deg, #E03C3C 0%, #cf2a42 48%, #b71c45 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}
.ox-btn-primary:hover {
  background: linear-gradient(135deg, #ef4444 0%, #E03C3C 50%, #991b1b 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 36px rgba(224, 60, 60, 0.45);
  transform: translate3d(0, -7px, 0) scale(1.045);
  filter: brightness(1.06);
}
.ox-btn-outline {
  background: rgba(255, 255, 255, 0.65);
  color: var(--dark);
  border: 2px solid transparent;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    var(--gradient-brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-sm);
}
.ox-btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(224, 60, 60, 0.06),
    rgba(26, 35, 126, 0.06)
  );
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out-smooth);
}
.ox-btn-outline:hover::before {
  opacity: 1;
}
.ox-btn-outline:hover {
  background: var(--primary-soft);
  background-image: none;
  border: 2px solid var(--primary-mid);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translate3d(0, -7px, 0) scale(1.04);
}

/* Tech row — icon + label chips (ultramsg-style integration strip) */
.ox-tech-row {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(224, 60, 60, 0.25), rgba(26, 35, 126, 0.25), transparent) 1;
  padding-top: 2rem;
  margin-top: 0.25rem;
}
.ox-tech-row-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.ox-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  color: #374151;
  transition:
    transform var(--dur-bounce) var(--ease-spring),
    box-shadow 0.4s var(--ease-out-smooth),
    border-color 0.3s ease,
    color 0.3s ease;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ox-tech-badge-icon {
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.ox-tech-badge:active {
  transform: scale(0.92);
  transition-duration: var(--dur-press);
  transition-timing-function: var(--ease-press);
}
.ox-tech-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(224, 60, 60, 0.2);
  transform: translate3d(0, -5px, 0) scale(1.03);
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS — خلفيات طبقية + وهج (غير لون مسطح)
═══════════════════════════════════════════════════════════════ */
.ox-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 60px 0;
}

/* القسم العادي: أوراق لونية خفيفة + تدرج أساس */
.ox-section:not(.ox-section-alt) {
  background-color: transparent;
  background-image:
    radial-gradient(ellipse 130% 95% at 102% -8%, rgba(224, 60, 60, 0.11), transparent 46%),
    radial-gradient(ellipse 100% 85% at -8% 105%, rgba(26, 35, 126, 0.12), transparent 48%),
    radial-gradient(ellipse 70% 55% at 48% 92%, rgba(255, 255, 255, 0.65), transparent 58%),
    var(--gradient-section-surface);
}

/* الأقسام البديلة: لوحة أغنى (ورديّ / نيلي متوازن) */
.ox-section-alt {
  position: relative;
  background-color: transparent;
  background-image:
    radial-gradient(ellipse 115% 90% at 0% 102%, rgba(224, 60, 60, 0.14), transparent 50%),
    radial-gradient(ellipse 100% 88% at 100% -8%, rgba(103, 58, 183, 0.1), transparent 48%),
    radial-gradient(ellipse 55% 45% at 72% 38%, rgba(255, 255, 255, 0.55), transparent 62%),
    var(--gradient-section-alt);
}

/* طبقة شبكة / conic خفيفة — عمق */
.ox-section::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 48% at 22% 42%, rgba(224, 60, 60, 0.08), transparent 62%),
    radial-gradient(ellipse 52% 50% at 82% 58%, rgba(57, 73, 171, 0.1), transparent 60%),
    conic-gradient(from 215deg at 68% 24%, rgba(255, 255, 255, 0.14), transparent 28%, rgba(26, 35, 126, 0.05), transparent 72%);
  opacity: 0.92;
  animation: ox-section-mesh-drift 28s var(--ease-in-out-soft) infinite alternate;
}

/* أقسام alt: بقع أقوى + حركة مختلفة */
.ox-section-alt::before {
  inset: -22% -15%;
  background:
    radial-gradient(ellipse 62% 55% at 10% 16%, rgba(224, 60, 60, 0.14), transparent 58%),
    radial-gradient(ellipse 58% 52% at 92% 88%, rgba(26, 35, 126, 0.16), transparent 56%),
    radial-gradient(ellipse 42% 38% at 50% 48%, rgba(255, 255, 255, 0.4), transparent 72%),
    conic-gradient(from 165deg at 40% 60%, rgba(224, 60, 60, 0.06), transparent 40%, rgba(255, 255, 255, 0.1), transparent 75%);
  opacity: 1;
  animation: ox-section-alt-mesh 32s var(--ease-in-out-soft) infinite alternate;
}

@keyframes ox-section-mesh-drift {
  0% {
    transform: scale(1) translate3d(-3vw, 2vh, 0);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.12) translate3d(4vw, -4vh, 0);
    opacity: 1;
  }
}

@keyframes ox-section-alt-mesh {
  0% {
    transform: scale(0.96) translate3d(1vw, 0, 0) rotate(-1deg);
    filter: saturate(1);
  }
  100% {
    transform: scale(1.1) translate3d(-3vw, 2vh, 0) rotate(2.5deg);
    filter: saturate(1.12);
  }
}

/* حبيبات خفيفة داخل كل قسم ( Depth ، يندمج مع خلفية الصفحة ) */
.ox-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='sn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23sn)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.ox-section-alt::after {
  opacity: 0.24;
}

/* محتوى فوق الطبقات: حبيبات أقل دون الأجسام المتحركة (.ox-ux-section-live z-index: 2 في ox-ux-enhance.css) */
.ox-section > .ox-container {
  position: relative;
  z-index: 3;
}
.ox-section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 14px;
  line-height: 1.3;
}
.ox-section-subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════════ */
.ox-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.ox-how-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: transform .3s, box-shadow .3s, border-color .2s;
}
.ox-how-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 60, 60, 0.18);
}
.ox-how-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(145deg, var(--primary-soft) 0%, rgba(200, 210, 245, 0.45) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(224, 60, 60, 0.12);
}
.ox-how-icon i {
  font-size: 32px;
  color: var(--primary);
}
.ox-how-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
}
.ox-how-desc {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   CODE BLOCK
═══════════════════════════════════════════════════════════════ */
.ox-code-header {
  text-align: center;
  margin-bottom: 40px;
}
.ox-code-header h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 18px;
  line-height: 1.35;
}
.ox-code-header p {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted);
  max-width: 42em;
  margin: 0 auto;
  line-height: 1.75;
}
.ox-code-block {
  background: linear-gradient(180deg, #1e1b4b 0%, #16152e 28%, #121127 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(224, 60, 60, 0.15),
    0 20px 50px -12px rgba(26, 35, 126, 0.35);
}
.ox-code-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 15px;
  background: rgba(10, 8, 30, 0.6);
  border-bottom: 1px solid rgba(224, 60, 60, 0.12);
}
.ox-tab {
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #90a4ae;
  cursor: pointer;
  transition:
    transform var(--dur-bounce) var(--ease-spring),
    background 0.35s var(--ease-out-smooth),
    color 0.25s ease,
    box-shadow 0.35s ease;
}
.ox-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translate3d(0, -3px, 0) scale(1.02);
}
.ox-tab:active {
  transform: scale(0.93);
  transition-duration: var(--dur-press);
  transition-timing-function: var(--ease-press);
}
.ox-tab.active {
  background: linear-gradient(135deg, #E03C3C 0%, #9c2758 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(224, 60, 60, 0.35);
}
.ox-copy-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #546e7a;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #90a4ae;
  cursor: pointer;
  transition:
    transform var(--dur-bounce) var(--ease-spring),
    border-color 0.3s ease,
    color 0.3s ease,
    background 0.35s var(--ease-out-smooth),
    box-shadow 0.35s ease;
}
.ox-copy-btn:active {
  transform: scale(0.92);
  transition-duration: var(--dur-press);
  transition-timing-function: var(--ease-press);
}
.ox-rtl .ox-copy-btn { margin-left: 0; margin-right: auto; }
.ox-copy-btn:hover { border-color: var(--primary); color: var(--primary); }
.ox-code-pre {
  margin: 0;
  padding: 25px;
  overflow-x: auto;
}
.ox-code-pre code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
  font-size: 15px;
  line-height: 1.85;
  color: #eceff1;
}

/* ═══════════════════════════════════════════════════════════════
   SPLIT SECTIONS
═══════════════════════════════════════════════════════════════ */
.ox-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ox-split-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 16px;
  line-height: 1.3;
}
.ox-split-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 28px;
}
.ox-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.ox-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
}
.ox-check-dot {
  width: 24px;
  height: 24px;
  background: linear-gradient(145deg, #E03C3C 0%, #6a1b8d 55%, #1A237E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(224, 60, 60, 0.25);
}
.ox-check-dot i { font-size: 11px; color: #fff; }

/* Stats grid */
.ox-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ox-stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}
.ox-stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 5px;
}
.ox-stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* Visual cards */
.ox-split-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.ox-visual-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   USE CASES
═══════════════════════════════════════════════════════════════ */
.ox-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.ox-use-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.ox-use-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 60, 60, 0.15);
  transform: translateY(-3px);
}
.ox-use-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, rgba(209, 216, 250, 0.65) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ox-use-icon i { font-size: 22px; color: var(--primary); }
.ox-use-label {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════
   TUTORIALS
═══════════════════════════════════════════════════════════════ */
.ox-tut-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.ox-tut-cat h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.ox-tut-cat ul { list-style: none; padding: 0; margin: 0; }
.ox-tut-cat li { margin-bottom: 12px; }
.ox-tut-cat a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
  transition: color .2s;
}
.ox-tut-cat a:hover { color: var(--primary); }
.ox-tut-cat a i {
  color: var(--primary);
  font-size: 11px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Video grid */
.ox-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.ox-video-card { display: block; }
.ox-video-thumb {
  position: relative;
  background: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 10px;
}
.ox-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ox-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background .3s;
}
.ox-video-card:hover .ox-video-overlay { background: rgba(0,0,0,.5); }
.ox-play-btn {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #E03C3C 0%, #7b1fa2 50%, #1A237E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
  box-shadow: 0 4px 16px rgba(224, 60, 60, 0.35);
}
.ox-video-card:hover .ox-play-btn { transform: scale(1.1); }
.ox-play-btn i { font-size: 16px; color: #fff; margin-left: 3px; }
.ox-rtl .ox-play-btn i { margin-left: 0; margin-right: 3px; }
.ox-video-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ox-video-card:hover .ox-video-title { color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════════ */
.ox-pricing-header {
  text-align: center;
  margin-bottom: 50px;
}
.ox-pricing-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
}
.ox-pricing-header p {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.65;
}
.ox-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
/* Homepage SaaS: narrower cards, centered (avoid ultra-wide stretched columns) */
.ox-pricing-grid--saas {
  max-width: 920px;
  grid-template-columns: repeat(auto-fit, minmax(252px, 300px));
  justify-content: center;
}
.ox-plan-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all .3s;
  border: 2px solid var(--border-subtle);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.ox-plan-card:hover,
.ox-plan-card.recommended {
  border-color: rgba(224, 60, 60, 0.45);
  transform: translateY(-5px);
  box-shadow:
    0 16px 40px -8px rgba(224, 60, 60, 0.18),
    0 8px 28px -6px rgba(26, 35, 126, 0.12);
}
.ox-plan-card.recommended {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 242, 242, 0.65) 100%);
}
.ox-plan-badge {
  display: inline-block;
  background: linear-gradient(135deg, #E03C3C 0%, #6a1b9a 85%, #1A237E 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 15px;
  text-transform: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(224, 60, 60, 0.25);
}
.ox-plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 5px;
}
.ox-plan-currency {
  font-size: 1rem;
  font-weight: 500;
  color: var(--light-muted);
  margin: 0 0 12px;
}
.ox-plan-price-was {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--light-muted);
  text-decoration: line-through;
  margin: 0 0 4px;
}
.ox-plan-price {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(110deg, #E03C3C 0%, #ad1457 50%, #1A237E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 25px;
}
@supports not (background-clip: text) {
  .ox-plan-price { color: var(--primary); background: none; }
}
.ox-plan-price span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.ox-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: start;
}
.ox-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid #f5f5f5;
}
.ox-plan-features li:last-child { border-bottom: none; }
.ox-plan-features i { color: var(--primary); font-size: 14px; }
.ox-plan-cta {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--dur-bounce) var(--ease-spring),
    box-shadow 0.45s var(--ease-out-smooth),
    border-color 0.35s ease,
    color 0.35s ease,
    background 0.5s var(--ease-out-expo);
}
.ox-plan-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 65%);
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.ox-plan-cta:active::after {
  animation: ox-btn-ripple 0.88s var(--ease-out-expo) forwards;
}
.ox-plan-cta:active {
  transform: translate3d(0, -1px, 0) scale(0.93);
  transition-duration: var(--dur-press);
  transition-timing-function: var(--ease-press);
}
.ox-plan-cta:hover,
.ox-plan-card.recommended .ox-plan-cta {
  background: linear-gradient(135deg, #E03C3C 0%, #b71c4a 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-btn);
  transform: translate3d(0, -6px, 0) scale(1.03);
}
.ox-plan-cta:focus-visible {
  outline: none;
  box-shadow: var(--shadow-btn), 0 0 0 3px rgba(224, 60, 60, 0.35);
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════ */
.ox-faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.ox-faq-item {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.ox-faq-item:hover {
  border-color: rgba(224, 60, 60, 0.12);
  box-shadow: var(--shadow-md);
}
.ox-faq-btn {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  text-align: inherit;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.35s var(--ease-out-smooth),
    transform var(--dur-bounce) var(--ease-spring);
}
.ox-faq-btn:hover {
  background: rgba(224, 60, 60, 0.04);
}
.ox-faq-btn:active {
  transform: scale(0.97);
  transition-duration: var(--dur-press);
  transition-timing-function: var(--ease-press);
}
.ox-faq-btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(224, 60, 60, 0.35);
}
.ox-faq-q {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  flex: 1;
  text-align: start;
}
.ox-faq-icon {
  font-size: 14px;
  color: var(--primary);
  transition: transform .3s;
}
.ox-faq-icon.open { transform: rotate(180deg); }
.ox-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.ox-faq-body.open { max-height: 500px; }
.ox-faq-body p {
  padding: 0 25px 25px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════════ */
.ox-cta {
  text-align: center;
  padding: 60px 0;
}
.ox-cta h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 18px;
}
.ox-cta p {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.ox-footer {
  background: var(--gradient-footer);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
  position: relative;
  box-shadow: 0 -12px 40px rgba(26, 35, 126, 0.12);
}
.ox-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0.85;
}
.ox-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}
.ox-footer-logo {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 20px;
  opacity: .95;
}
/* Only when footer falls back to the same coloured logo as header */
.ox-footer-logo.ox-footer-logo--invert {
  filter: brightness(0) invert(1);
}
.ox-footer-tagline {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: 280px;
}
.ox-footer-socials {
  display: flex;
  gap: 10px;
}
.ox-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: background .2s;
}
.ox-social-btn:hover {
  background: linear-gradient(135deg, #E03C3C 0%, #862064 100%);
  box-shadow: 0 4px 14px rgba(224, 60, 60, 0.35);
}
.ox-footer-col h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
}
.ox-footer-col ul { list-style: none; padding: 0; margin: 0; }
.ox-footer-col li { margin-bottom: 12px; }
.ox-footer-col a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  transition: color .2s;
}
.ox-footer-col a:hover { color: #fff; }
.ox-footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.ox-footer-copy {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.58);
  margin: 0;
}
.ox-footer-langs {
  display: flex;
  gap: 10px;
}
.ox-footer-langs a {
  padding: 8px 16px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  transition: all .2s;
}
.ox-footer-langs a:hover,
.ox-footer-langs a.active {
  background: var(--primary);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   WHATSAPP — pill bubble + round launcher (ultramsg-style)
═══════════════════════════════════════════════════════════════ */
.ox-wa-launch {
  position: fixed;
  bottom: 22px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
}
.ox-ltr .ox-wa-launch {
  right: 22px;
  left: auto;
  flex-direction: row;
}
.ox-rtl .ox-wa-launch {
  left: 22px;
  right: auto;
  flex-direction: row-reverse;
}
.ox-wa-bubble {
  flex: 0 1 auto;
  padding: 11px 18px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  max-width: min(280px, 72vw);
}
.ox-wa-bubble:hover {
  color: #111827;
  border-color: #d1d5db;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.ox-wa-float {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition:
    transform var(--dur-bounce) var(--ease-spring),
    background 0.35s ease,
    box-shadow 0.4s var(--ease-out-smooth);
}
.ox-wa-float:hover {
  background: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
.ox-wa-float:active {
  transform: scale(0.9);
  transition-duration: var(--dur-press);
  transition-timing-function: var(--ease-press);
}
.ox-wa-float i { font-size: 28px; color: #fff; }
@media (max-width: 480px) {
  .ox-wa-bubble {
    display: none;
  }
  .ox-wa-launch {
    bottom: 18px;
  }
  .ox-ltr .ox-wa-launch { right: 16px; }
  .ox-rtl .ox-wa-launch { left: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  body.ox-body { font-size: 17px; }
  .ox-split { grid-template-columns: 1fr; gap: 40px; }
  .ox-split-visual { display: none; }
  .ox-how-grid { grid-template-columns: 1fr; gap: 20px; }
  .ox-use-grid { grid-template-columns: 1fr 1fr; }
  .ox-tut-cats { grid-template-columns: 1fr; gap: 30px; }
  .ox-video-grid { grid-template-columns: 1fr 1fr; }
  .ox-pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .ox-pricing-grid--saas { max-width: 420px; grid-template-columns: 1fr; }
  .ox-footer-grid { grid-template-columns: 1fr 1fr; }
  .ox-section { padding: 50px 0; }
}
@media (max-width: 576px) {
  body.ox-body { font-size: 16px; }
  .ox-hero { padding: 30px 15px 40px; }
  .ox-hero-sub { font-size: 1.15rem; }
  .ox-hero-ctas { flex-direction: column; align-items: center; }
  .ox-btn { width: 100%; justify-content: center; }
  .ox-use-grid { grid-template-columns: 1fr; }
  .ox-video-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
  .ox-footer-grid { grid-template-columns: 1fr; }
  .ox-section-title { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════════
   وضع تقليل الحركة (إتاحة)
═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ox-section::before,
  .ox-section-alt::before {
    animation: none;
    transform: none;
    filter: none;
  }
  .ox-section::after,
  .ox-section-alt::after {
    opacity: 0.2;
  }
  body.ox-body::before {
    animation: none;
    filter: none;
  }
  body.ox-body::after {
    opacity: 0.22;
  }
  .ox-hero::before {
    animation: none;
    transform: none;
  }
  .ox-btn::before,
  .ox-btn-primary::before {
    transition: none !important;
    transform: none !important;
  }
  .ox-btn::after {
    animation: none !important;
  }
  .ox-btn-primary:hover,
  .ox-btn-outline:hover {
    transform: none;
    filter: none;
  }
  .ox-btn:active,
  .ox-tab:hover,
  .ox-tab:active,
  .ox-copy-btn:active,
  .ox-tech-badge:hover,
  .ox-tech-badge:active,
  .ox-plan-cta:hover,
  .ox-plan-card.recommended .ox-plan-cta,
  .ox-plan-cta:active,
  .ox-faq-btn:active,
  .ox-wa-float:hover,
  .ox-wa-float:active,
  .ox-lang-btn:hover,
  .ox-lang-btn:active,
  .ox-mobile-toggle:hover,
  .ox-mobile-toggle:active {
    transform: none;
  }
  .ox-lang-btn,
  .ox-mobile-toggle {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
  }
}

/* Force motion for this theme even if OS reduce-motion is on */
.ox-motion-force .ox-section::before,
.ox-motion-force .ox-section-alt::before {
  animation: ox-section-mesh-drift 28s var(--ease-in-out-soft) infinite alternate !important;
}
.ox-motion-force .ox-section-alt::before {
  animation-name: ox-section-alt-mesh !important;
  animation-duration: 32s !important;
}
.ox-motion-force .ox-hero::before {
  animation: ox-hero-aurora 18s var(--ease-in-out-soft) infinite alternate !important;
}

