/* ================================================================
   Atheer Site — Design System v3
   Light Premium SaaS Theme
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ----------------------------------------------------------------
   1. CSS Variables
   ---------------------------------------------------------------- */
:root {
  --bg: #f4f7fb;
  --bg-soft: #f8fbff;
  --surface: rgba(255,255,255,.86);
  --surface-strong: #ffffff;
  --text: #0f172a;
  --muted: #5b6b82;
  --line: rgba(15,23,42,.08);
  --primary: #0f62fe;
  --primary-2: #0a4ed1;
  --accent: #14b8a6;
  --dark-blue: #0b1d45;
  --dark-blue-2: #12306d;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --shadow: 0 24px 70px rgba(15,23,42,.12);
  --shadow-soft: 0 10px 28px rgba(15,23,42,.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1280px;
}

/* ----------------------------------------------------------------
   2. Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Tajawal', 'Inter', system-ui, sans-serif;
  direction: rtl;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(15,98,254,.08), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(20,184,166,.08), transparent 18%),
    linear-gradient(180deg,#f8fbff 0%,#f3f7fb 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ----------------------------------------------------------------
   3. Layout
   ---------------------------------------------------------------- */
.wrap {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.ebt-section {
  padding: 80px 0;
}

.ebt-section-sm {
  padding: 48px 0;
}

/* ----------------------------------------------------------------
   4. Typography
   ---------------------------------------------------------------- */
.ebt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15,98,254,.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.ebt-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.ebt-h1 {
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: var(--text);
}

.ebt-h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--text);
}

.ebt-h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

.ebt-sub {
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
  max-width: 760px;
}

.ebt-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ----------------------------------------------------------------
   5. Topbar
   ---------------------------------------------------------------- */
.ebt-topbar {
  background: linear-gradient(90deg, #0b1d45, #12306d);
  color: #ffffff;
  position: relative;
  z-index: 1001;
}

.ebt-topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 42px;
  font-size: 13px;
  gap: 12px;
  padding: 0 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.ebt-topbar-start {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.ebt-topbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-weight: 500;
}

.ebt-topbar-end {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.ebt-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s ease;
  cursor: pointer;
}

.ebt-mini-btn:hover {
  background: rgba(255,255,255,.22);
}

/* ----------------------------------------------------------------
   6. Header
   ---------------------------------------------------------------- */
.ebt-header-shell {
  position: fixed;
  top: 42px;
  left: 0;
  right: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition: box-shadow .3s ease;
}

.ebt-header-shell.is-scrolled {
  box-shadow: var(--shadow);
}

.ebt-header {
  display: grid;
  /* auto columns take what the brand and the actions actually need (176px / 337px
     measured, not the 240/360 that was assumed), and minmax(0,1fr) removes the
     min-content floor so this row can never overflow its container again. */
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 86px;
  align-items: center;
}

/* the header may run wider than the 1280px body container — it holds a 9-item nav */
.ebt-header-shell .wrap.ebt-header {
  max-width: min(1560px, calc(100% - 32px));
}

.ebt-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ebt-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.ebt-brand-text {
  display: flex;
  flex-direction: column;
}

.ebt-brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.ebt-brand-text span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

.ebt-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, .8vw, 18px);
}

.ebt-nav-item {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding: 10px 2px;
  position: relative;
  cursor: pointer;
  transition: color .2s ease;
  white-space: nowrap;
}

.ebt-nav-item::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
}

.ebt-nav-item:hover,
.ebt-nav-item.active {
  color: var(--primary);
}

.ebt-nav-item:hover::after,
.ebt-nav-item.active::after {
  transform: scaleX(1);
}

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

/* ----------------------------------------------------------------
   7. Buttons
   ---------------------------------------------------------------- */
.ebt-btn-primary,
.ebt-btn-secondary,
.ebt-btn-ghost,
.ebt-btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.ebt-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(15,98,254,.28);
}

.ebt-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15,98,254,.36);
}

.ebt-btn-secondary {
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.ebt-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(15,23,42,.14);
}

.ebt-btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.ebt-btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(15,98,254,.06);
}

.ebt-btn-accent {
  background: linear-gradient(135deg, var(--accent), #0f9d8e);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(20,184,166,.28);
}

.ebt-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20,184,166,.36);
}

.ebt-btn-lg {
  min-height: 54px;
  padding: 0 32px;
  font-size: 16px;
}

.ebt-btn-sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 10px;
}

/* ----------------------------------------------------------------
   8. Mega Menu
   ---------------------------------------------------------------- */
.ebt-mega {
  position: fixed;
  top: 130px;
  left: 0;
  right: 0;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  border-bottom: 1px solid var(--line);
}

.ebt-mega.is-visible {
  opacity: 1;
  pointer-events: all;
}

.ebt-mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 300px;
  gap: 24px;
}

.ebt-mega-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--line);
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ebt-mega-link {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}

.ebt-mega.is-visible .ebt-mega-link {
  opacity: 1;
  transform: translateY(0);
}

.ebt-mega.is-visible .ebt-mega-link:nth-child(1) { transition-delay: .04s; }
.ebt-mega.is-visible .ebt-mega-link:nth-child(2) { transition-delay: .08s; }
.ebt-mega.is-visible .ebt-mega-link:nth-child(3) { transition-delay: .12s; }
.ebt-mega.is-visible .ebt-mega-link:nth-child(4) { transition-delay: .16s; }

.ebt-mega-link:hover {
  background: #f0f7ff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.ebt-mega-link strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.ebt-mega-link span {
  font-size: 12px;
  color: var(--muted);
}

.ebt-mega-cta {
  background: linear-gradient(145deg, var(--primary), var(--primary-2));
  border-radius: 18px;
  padding: 22px 20px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease .1s, transform .35s ease .1s;
}

.ebt-mega.is-visible .ebt-mega-cta {
  opacity: 1;
  transform: translateY(0);
}

.ebt-mega-cta h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.ebt-mega-cta p {
  font-size: 13px;
  opacity: .85;
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   9. Mobile Menu
   ---------------------------------------------------------------- */
.ebt-mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.ebt-mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.ebt-mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ebt-mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.ebt-mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ebt-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1099;
  display: none;
  backdrop-filter: blur(2px);
}

.ebt-mobile-overlay.is-open {
  display: block;
}

.ebt-mobile-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 320px;
  background: var(--surface-strong);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.ebt-mobile-drawer.is-open {
  transform: translateX(0);
}

.ebt-mobile-drawer-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.ebt-mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color .2s ease;
}

.ebt-mobile-nav-link:hover {
  color: var(--primary);
}

.ebt-mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.ebt-mobile-submenu.is-open {
  max-height: 500px;
}

.ebt-mobile-submenu-link {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--muted);
  transition: color .2s ease;
}

.ebt-mobile-submenu-link:hover {
  color: var(--primary);
}

/* ----------------------------------------------------------------
   10. Hero Section
   ---------------------------------------------------------------- */
.ebt-hero {
  padding: 42px 0 72px;
}

.ebt-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 28px;
  align-items: center;
}

.ebt-hero-copy {
  padding: 16px 0;
}

.ebt-hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.ebt-trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.ebt-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.ebt-hero-visual {
  position: relative;
  min-height: 560px;
}

.ebt-visual-main {
  position: absolute;
  inset: 38px 12px 12px 42px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 26px;
  overflow: hidden;
}

.ebt-float-card {
  position: absolute;
  background: var(--surface-strong);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  z-index: 3;
  animation: ebtFloat 5.5s ease-in-out infinite;
}

.ebt-float-card.one {
  top: 10px;
  right: -10px;
  min-width: 180px;
  animation-delay: 0s;
}

.ebt-float-card.two {
  bottom: 60px;
  left: -10px;
  min-width: 160px;
  animation-delay: 1.8s;
}

.ebt-float-card.three {
  bottom: 20px;
  right: 10px;
  min-width: 150px;
  animation-delay: 3.5s;
}

.ebt-float-card-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.ebt-float-card-value {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
}

.ebt-panel {
  background: rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
}

.ebt-mini-card {
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.7);
}

/* ----------------------------------------------------------------
   11. Trust Strip (Horizontal Scroll)
   ---------------------------------------------------------------- */
.ebt-trust-strip {
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.ebt-trust-track {
  display: inline-flex;
  gap: 14px;
  animation: ebtScrollX 25s linear infinite;
}

.ebt-trust-strip:hover .ebt-trust-track {
  animation-play-state: paused;
}

.ebt-trust-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   12. Grid Utilities
   ---------------------------------------------------------------- */
.ebt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ebt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ebt-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

/* ----------------------------------------------------------------
   13. Solution / Feature Cards
   ---------------------------------------------------------------- */
.ebt-solution-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ebt-solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.ebt-solution-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15,98,254,.15), rgba(20,184,166,.15));
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.ebt-solution-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.ebt-solution-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   14. Feature Cards (16-card grid)
   ---------------------------------------------------------------- */
.ebt-feature-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ebt-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.ebt-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15,98,254,.12), rgba(20,184,166,.12));
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.ebt-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 12px 0 8px;
  color: var(--text);
}

.ebt-feature-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.ebt-feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(20,184,166,.1);
  color: var(--accent);
  margin-bottom: 10px;
}

/* ----------------------------------------------------------------
   15. Comparison Table
   ---------------------------------------------------------------- */
.ebt-compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.ebt-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-strong);
}

.ebt-compare-table th {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--dark-blue), var(--dark-blue-2));
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.ebt-compare-table th:first-child {
  text-align: right;
  border-radius: 0 var(--radius-lg) 0 0;
}

.ebt-compare-table th:last-child {
  border-radius: 0 0 0 var(--radius-lg);
}

.ebt-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--text);
  transition: background .2s ease;
}

.ebt-compare-table td:first-child {
  text-align: right;
  font-weight: 600;
}

.ebt-compare-table tr:hover td {
  background: rgba(15,98,254,.03);
}

.ebt-compare-table tr:last-child td {
  border-bottom: none;
}

.ebt-check {
  color: var(--success);
  font-size: 16px;
}

.ebt-dash {
  color: var(--muted);
  font-size: 18px;
}

/* ----------------------------------------------------------------
   16. Pricing Cards
   ---------------------------------------------------------------- */
.ebt-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.ebt-toggle-btn {
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
}

.ebt-toggle-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.ebt-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ebt-pricing-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ebt-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.ebt-pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 60px rgba(15,98,254,.14);
}

.ebt-pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.ebt-price-amount {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin: 16px 0 4px;
}

.ebt-price-period {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.ebt-pricing-features {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.ebt-pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.ebt-pricing-feature::before {
  content: '✓';
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ----------------------------------------------------------------
   17. Call Flow Animation
   ---------------------------------------------------------------- */
.ebt-call-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.ebt-cf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
}

.ebt-cf-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  font-size: 24px;
  position: relative;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15,98,254,.25);
}

.ebt-cf-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.ebt-cf-arrow {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  position: relative;
  flex-shrink: 0;
  overflow: visible;
}

.ebt-cf-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateY(-50%);
  animation: ebtDot 2s linear infinite;
}

.ebt-cf-counter {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--warning);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface-strong);
}

.ebt-cf-pulse {
  animation: ebtPulse 2s ease-in-out infinite;
}

/* ----------------------------------------------------------------
   18. FAQ Accordion
   ---------------------------------------------------------------- */
.ebt-faq-item {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 10px;
  transition: box-shadow .2s ease;
}

.ebt-faq-item:hover {
  box-shadow: var(--shadow-soft);
}

.ebt-faq-q {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  user-select: none;
  gap: 12px;
}

.ebt-faq-q::after {
  content: '▾';
  font-size: 14px;
  color: var(--muted);
  transition: transform .3s ease;
  flex-shrink: 0;
}

.ebt-faq-item.open .ebt-faq-q::after {
  transform: rotate(180deg);
}

.ebt-faq-item.open .ebt-faq-q {
  color: var(--primary);
}

.ebt-faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.ebt-faq-item.open .ebt-faq-a {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* ----------------------------------------------------------------
   19. Contact Form
   ---------------------------------------------------------------- */
.ebt-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ebt-form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.ebt-form-input,
.ebt-form-textarea,
.ebt-form-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  background: var(--surface-strong);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
  outline: none;
  appearance: none;
}

.ebt-form-input:focus,
.ebt-form-textarea:focus,
.ebt-form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,98,254,.10);
}

.ebt-form-input::placeholder,
.ebt-form-textarea::placeholder {
  color: var(--muted);
  opacity: .6;
}

.ebt-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.ebt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ebt-form-success {
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.25);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  color: var(--success);
  font-weight: 600;
  font-size: 15px;
}

/* ----------------------------------------------------------------
   20. Process Steps
   ---------------------------------------------------------------- */
.ebt-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ebt-step {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ebt-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.ebt-step-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.ebt-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.ebt-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   21. Final CTA Section
   ---------------------------------------------------------------- */
.ebt-final-cta {
  background: linear-gradient(135deg, rgba(15,98,254,.06), rgba(20,184,166,.06));
  border: 1px solid rgba(15,98,254,.14);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  padding: 32px;
}

.ebt-final-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}

.ebt-final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------------
   22. Metrics Strip
   ---------------------------------------------------------------- */
.ebt-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ebt-metric {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ebt-metric:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.ebt-metric strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.ebt-metric span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   23. Footer
   ---------------------------------------------------------------- */
.ebt-footer {
  margin-top: 70px;
  padding: 0 0 40px;
}

.ebt-footer-shell {
  background: linear-gradient(160deg, #f8fbff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.ebt-footer-top {
  padding: 26px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.ebt-footer-brand h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 10px;
}

.ebt-footer-brand p {
  color: var(--muted);
  line-height: 1.95;
  font-size: 14px;
  max-width: 400px;
}

.ebt-footer-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.ebt-footer-main {
  padding: 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
}

.ebt-footer-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.ebt-footer-list {
  display: grid;
  gap: 10px;
}

.ebt-footer-link {
  display: block;
  padding: 2px 0;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease, padding .2s ease;
}

.ebt-footer-link:hover {
  color: var(--primary);
  padding-right: 4px;
}

.ebt-footer-contact-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  margin-top: 8px;
}

.ebt-footer-contact-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.ebt-footer-bottom {
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}

.ebt-footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}

.ebt-footer-legal {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ebt-footer-legal a {
  font-size: 13px;
  color: var(--muted);
  transition: color .2s ease;
}

.ebt-footer-legal a:hover {
  color: var(--primary);
}

/* ----------------------------------------------------------------
   24. Reveal entrance (CSS-only — content is ALWAYS visible)
   Visibility must never depend on JavaScript: with JS deferred/blocked
   the content stays fully visible. The fade-up is a pure-CSS enhancement
   that ends at opacity:1 (animation-fill-mode: both).
   ---------------------------------------------------------------- */
.ebt-reveal {
  opacity: 1;
  animation: ebtRevealUp .7s cubic-bezier(.22,.61,.36,1) both;
}

/* Kept for backward-compat with the JS observer; no longer required. */
.ebt-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ebt-reveal:nth-child(1) { animation-delay: .00s; }
.ebt-reveal:nth-child(2) { animation-delay: .08s; }
.ebt-reveal:nth-child(3) { animation-delay: .16s; }
.ebt-reveal:nth-child(4) { animation-delay: .24s; }
.ebt-reveal:nth-child(5) { animation-delay: .32s; }
.ebt-reveal:nth-child(6) { animation-delay: .40s; }

@keyframes ebtRevealUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ebt-reveal { animation: none; opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------
   25. Checkout Modal
   ---------------------------------------------------------------- */
#checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15,23,42,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#checkout-modal[hidden],
#checkout-modal.hidden {
  display: none;
}

.checkout-box {
  background: var(--surface-strong);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 500px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  position: relative;
}

.checkout-box h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.checkout-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.checkout-field {
  margin-bottom: 16px;
}

.checkout-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface-strong);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,98,254,.10);
}

.checkout-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  margin-top: 8px;
}

.checkout-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15,98,254,.3);
}

.checkout-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.checkout-error {
  background: rgba(220,38,38,.08);
  border: 1px solid rgba(220,38,38,.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--danger);
  margin-top: 12px;
  display: none;
}

.checkout-error.show {
  display: block;
}

.checkout-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 20px 0;
  font-size: 14px;
  color: var(--muted);
}

.checkout-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: ebtSpin .8s linear infinite;
}

.checkout-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  transition: background .2s ease, color .2s ease;
}

.checkout-close:hover {
  background: rgba(220,38,38,.08);
  color: var(--danger);
}

/* ----------------------------------------------------------------
   26. Page Templates (Sub-pages)
   ---------------------------------------------------------------- */
.ebt-page-hero {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.ebt-page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.ebt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ebt-breadcrumb a {
  color: var(--muted);
  transition: color .2s ease;
}

.ebt-breadcrumb a:hover {
  color: var(--primary);
}

.ebt-breadcrumb span {
  color: var(--line);
}

.ebt-page-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin-top: 14px;
}

/* ----------------------------------------------------------------
   27. Utility Classes
   ---------------------------------------------------------------- */
.text-primary { color: var(--primary) !important; }
.text-accent  { color: var(--accent) !important; }
.text-muted   { color: var(--muted) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger) !important; }
.text-white   { color: #ffffff !important; }

.bg-white { background: var(--surface-strong) !important; }
.bg-soft  { background: var(--bg-soft) !important; }

.font-tajawal { font-family: 'Tajawal', sans-serif !important; }
.font-inter   { font-family: 'Inter', sans-serif !important; }

.ebt-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.ebt-badge-primary { background: rgba(15,98,254,.1); color: var(--primary); }
.ebt-badge-accent  { background: rgba(20,184,166,.1); color: var(--accent); }
.ebt-badge-success { background: rgba(22,163,74,.1); color: var(--success); }
.ebt-badge-warning { background: rgba(245,158,11,.1); color: var(--warning); }
.ebt-badge-danger  { background: rgba(220,38,38,.1); color: var(--danger); }
.ebt-badge-dark    { background: rgba(11,29,69,.1); color: var(--dark-blue); }

.ebt-divider {
  border: none;
  border-bottom: 1px solid var(--line);
  margin: 32px 0;
}

.ebt-gap-4  { gap: 4px; }
.ebt-gap-8  { gap: 8px; }
.ebt-gap-12 { gap: 12px; }
.ebt-gap-16 { gap: 16px; }
.ebt-gap-24 { gap: 24px; }

.ebt-flex   { display: flex; align-items: center; }
.ebt-flex-wrap { flex-wrap: wrap; }
.ebt-flex-col  { flex-direction: column; }

.ebt-mt-8  { margin-top: 8px; }
.ebt-mt-16 { margin-top: 16px; }
.ebt-mt-24 { margin-top: 24px; }
.ebt-mt-32 { margin-top: 32px; }
.ebt-mb-8  { margin-bottom: 8px; }
.ebt-mb-16 { margin-bottom: 16px; }
.ebt-mb-24 { margin-bottom: 24px; }
.ebt-mb-32 { margin-bottom: 32px; }

/* ----------------------------------------------------------------
   28. Animations & Keyframes
   ---------------------------------------------------------------- */
@keyframes ebtFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

@keyframes ebtPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(15,98,254,.4); }
  50%       { box-shadow: 0 0 0 12px rgba(15,98,254,.0); }
}

@keyframes ebtDot {
  0%   { left: 0; opacity: 1; }
  80%  { left: calc(100% - 8px); opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

@keyframes ebtSpin {
  to { transform: rotate(360deg); }
}

@keyframes ebtSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

@keyframes ebtScrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes ebtFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ebtFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------------
   29. Responsive — 1180px
   ---------------------------------------------------------------- */
@media (max-width: 1180px) {
  .ebt-header {
    grid-template-columns: 200px 1fr 280px;
    gap: 12px;
  }

  .ebt-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ebt-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ebt-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .ebt-pricing-grid {
    gap: 14px;
  }

  .ebt-mega-inner {
    grid-template-columns: repeat(2, 1fr) 260px;
  }

  .ebt-footer-main {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ----------------------------------------------------------------
   29b. Header — drawer switch at 1400px (measured, see .ebt-header)
   ---------------------------------------------------------------- */
@media (max-width: 1400px) {
  .ebt-nav {
    display: none;
  }

  .ebt-mobile-menu-btn {
    display: flex;
  }

  .ebt-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }
}

/* ----------------------------------------------------------------
   30. Responsive — 920px (Tablet / Mobile Switch)
   ---------------------------------------------------------------- */
@media (max-width: 920px) {
  .ebt-nav {
    display: none;
  }

  .ebt-mobile-menu-btn {
    display: flex;
  }

  .ebt-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .ebt-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ebt-hero-visual {
    min-height: 380px;
    order: -1;
  }

  .ebt-visual-main {
    inset: 20px 8px 8px 20px;
  }

  .ebt-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ebt-grid-2 {
    grid-template-columns: 1fr;
  }

  .ebt-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .ebt-final-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ebt-final-cta-actions {
    justify-content: center;
  }

  .ebt-footer-top {
    grid-template-columns: 1fr;
  }

  .ebt-footer-cta {
    justify-content: flex-start;
  }

  .ebt-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .ebt-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .ebt-mega {
    display: none;
  }

  .ebt-topbar-start,
  .ebt-topbar-center {
    display: none;
  }

  .ebt-topbar-inner {
    grid-template-columns: 1fr;
    justify-items: end;
  }

  .ebt-compare-wrap {
    border-radius: var(--radius-md);
  }
}

/* ----------------------------------------------------------------
   31. Responsive — 680px (Mobile)
   ---------------------------------------------------------------- */
@media (max-width: 680px) {
  .ebt-section {
    padding: 56px 0;
  }

  .ebt-section-sm {
    padding: 32px 0;
  }

  .ebt-hero {
    padding: 24px 0 48px;
  }

  .ebt-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .ebt-hero-cta .ebt-btn-primary,
  .ebt-hero-cta .ebt-btn-secondary {
    justify-content: center;
  }

  .ebt-grid-3 {
    grid-template-columns: 1fr;
  }

  .ebt-grid-4 {
    grid-template-columns: 1fr;
  }

  .ebt-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .ebt-process-grid {
    grid-template-columns: 1fr;
  }

  .ebt-form-row {
    grid-template-columns: 1fr;
  }

  .ebt-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ebt-trust-row {
    gap: 8px;
  }

  .ebt-trust-chip {
    font-size: 13px;
    padding: 8px 12px;
  }

  .ebt-footer-main {
    grid-template-columns: 1fr;
  }

  .ebt-footer-brand h2 {
    font-size: 22px;
  }

  .ebt-final-cta {
    padding: 24px 18px;
  }

  .ebt-pricing-popular-badge {
    font-size: 11px;
    padding: 4px 12px;
  }

  .ebt-call-flow {
    gap: 4px;
  }

  .ebt-cf-icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .ebt-cf-arrow {
    width: 24px;
  }

  .checkout-box {
    padding: 24px 18px;
  }

  .ebt-mobile-drawer {
    width: 100%;
    max-width: 320px;
  }
}

/* ── FIX: blue topbar overlapping the main nav ─────────────────────────────
 * .ebt-header-shell is position:fixed; top:42px (assumes topbar = 42px). The
 * topbar could render taller than 42px (long text wrapping / buttons), so the
 * fixed header overlapped its bottom. Lock the topbar to EXACTLY 42px on one
 * line so the header sits cleanly below it. (Minimal, reversible.) */
.ebt-topbar { height: 42px; overflow: hidden; }
.ebt-topbar-inner { min-height: 42px; height: 42px; }
.ebt-topbar-start { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ebt-topbar-end { flex-wrap: nowrap; }

/* ===== English (LTR) overrides — apply only on the /en/ tree (body[dir=ltr]); Arabic untouched ===== */
body[dir="ltr"] { direction: ltr; }
body[dir="ltr"] .ebt-compare-table th:first-child,
body[dir="ltr"] .ebt-compare-table td:first-child { text-align: left; }

/* Marquee / trust-strip chips: force dark text (was inheriting a faint color) */
.ebt-trust-chip { color: #111827; }
/* English legal pages: Latin font for the legal document body */
body[dir="ltr"] .legal-card p,
body[dir="ltr"] .legal-card li,
body[dir="ltr"] .legal-card h2,
body[dir="ltr"] .legal-toc-title,
body[dir="ltr"] .legal-updated { font-family: "Inter", system-ui, sans-serif; }


/* ===== Atheer mobile responsiveness fix — 2026-07-10 (Claude) ===== */
@media (max-width: 920px){
  /* Header on mobile still showed the desktop "login" + language buttons next to
     the hamburger, making it ~516px wide → it overflowed and shifted the whole
     RTL page (content cut off). Hide them; the primary CTA + hamburger remain,
     and login / language / subscription all stay available in the mobile drawer. */
  .ebt-header-actions .ebt-lang-switch,
  .ebt-header-actions .ebt-btn-secondary { display: none !important; }
  .ebt-header-actions { gap: 8px !important; }
}
/* Stop the off-canvas drawer (parked off-screen) and decorative marquees from
   creating a horizontal scrollbar / RTL shift at ANY width. `clip` (unlike
   overflow:hidden) does NOT break the sticky header. */
html, body { overflow-x: clip; }
/* The mobile drawer never opened: the theme JS toggles `.ebt-mobile-drawer--open`,
   but the CSS only styled `.ebt-mobile-drawer.is-open` (class-name mismatch), so
   the menu stayed off-screen at translateX(100%). Match the class the JS sets. */
.ebt-mobile-drawer.ebt-mobile-drawer--open { transform: translateX(0) !important; }
/* ===== /Atheer mobile responsiveness fix ===== */

/* ═══════════════════════════════════════════════════════════════════════════
 * قائمة الجوال الجانبية — تنسيق عناصرها الداخلية
 * السبب: الحاوية `.ebt-mobile-drawer` كانت مُنسَّقة، أمّا عناصرها
 * (`.ebt-drawer-link` · `.ebt-drawer-sub-link` · `.ebt-drawer-sub-label` …)
 * فلم تكن معرَّفة في أي ملفّ إطلاقًا ⇒ رُسمت روابط سطريّة تتدفّق كفقرة
 * واحدة متلاصقة. هذه الكتلة تعطيها بنية القائمة: صفّ لكل عنصر، فاصل خفيف،
 * ومساحة لمس لا تقلّ عن 48px (إرشاد أبل/جوجل للجوال).
 * ═══════════════════════════════════════════════════════════════════════════ */

/* الدرج عمود: الروابط تتمدّد وتُمرَّر، ودعوة الإجراء تثبت أسفله */
.ebt-mobile-drawer { display: flex; flex-direction: column; padding: 18px 16px; }
.ebt-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(15,23,42,0.10);
}
.ebt-drawer-head button {
  background: none; border: 0; font-size: 20px; line-height: 1; cursor: pointer;
  color: #64748b; padding: 8px; border-radius: 10px; min-width: 40px; min-height: 40px;
}
.ebt-drawer-head button:hover { background: rgba(15,23,42,0.05); color: #0f172a; }

.ebt-drawer-links { display: flex; flex-direction: column; flex: 1 1 auto; overflow-y: auto; }

/* صفّ القائمة الرئيسي */
.ebt-drawer-link {
  display: flex; align-items: center; min-height: 48px;
  padding: 12px 8px; font-size: 15px; font-weight: 600; line-height: 1.5;
  color: #0f172a; text-decoration: none;
  border-bottom: 1px solid rgba(15,23,42,0.07);
  border-radius: 8px; transition: background .15s, color .15s;
}
.ebt-drawer-link:hover, .ebt-drawer-link:focus-visible { background: rgba(37,99,235,0.07); color: #1d4ed8; }

/* «المميزات ▾» — قائمة قابلة للطيّ */
.ebt-drawer-acc { border-bottom: 1px solid rgba(15,23,42,0.07); }
.ebt-drawer-acc > summary { border-bottom: 0; cursor: pointer; list-style: none; justify-content: space-between; }
.ebt-drawer-acc > summary::-webkit-details-marker { display: none; }
.ebt-drawer-acc[open] > summary { color: #1d4ed8; }

/* القائمة الفرعية: تُزاح للداخل بخاصيّة منطقيّة فتعمل يمينًا ويسارًا */
.ebt-drawer-sub {
  display: flex; flex-direction: column; gap: 2px;
  padding: 6px 0 12px; margin-inline-start: 10px;
  border-inline-start: 2px solid rgba(37,99,235,0.18);
  padding-inline-start: 12px;
}
.ebt-drawer-sub-label {
  display: block; margin: 8px 0 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #64748b;
}
.ebt-drawer-sub-link {
  display: flex; align-items: center; min-height: 40px;
  padding: 8px; font-size: 14px; font-weight: 500; line-height: 1.5;
  color: #334155; text-decoration: none; border-radius: 8px;
  transition: background .15s, color .15s;
}
.ebt-drawer-sub-link:hover, .ebt-drawer-sub-link:focus-visible { background: rgba(37,99,235,0.07); color: #1d4ed8; }

/* دعوة الإجراء تبقى أسفل الدرج ولا تختلط بالروابط */
.ebt-drawer-cta {
  flex: 0 0 auto; padding-top: 14px; margin-top: 10px;
  border-top: 1px solid rgba(15,23,42,0.10);
}
.ebt-drawer-cta .ebt-btn-secondary, .ebt-drawer-cta .ebt-btn-primary { min-height: 46px; }
.ebt-lang-switch { gap: 6px; }


/* ═══════════════════════════════════════════════════════════════════════════
 * الشريط العلويّ على الجوال — 2026-08-30
 *
 * المقياس قبل الإصلاح على عرض 375: الشريط 42px و`overflow:hidden`، والأزرار
 * داخله **48px** ⇒ ستّة بكسلات من كلّ زرّ مقصوصة، والنصّ يلتفّ سطرين
 * («دخول العملاء» · «+966 11 281 1644»)، والارتفاعات متفاوتة 48·48·29·48.
 *
 * القفل على 42px في §"FIX: blue topbar overlapping the main nav" عالج التداخل
 * لكنّه **أخفى العَرَض وصنع آخر**: قصّ المحتوى بدل أن يُلائمه. والسبب الحقيقيّ
 * أنّ النصّ يلتفّ داخل الزرّ فيرتفع — فالعلاج `white-space: nowrap`.
 *
 * و«اشتراكي» و«دخول العملاء» **يشيران إلى نفس الرابط** `/subscription/`،
 * وكلاهما موجود في درج الجوال أصلًا. فيُخفى المكرّر وحده على الشاشة الضيّقة —
 * لا يُفقد شيء، ويتنفّس الصفّ.
 * ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  .ebt-topbar,
  .ebt-topbar-inner { height: 40px; min-height: 40px; }
  .ebt-topbar-inner { padding-inline: 12px; }

  .ebt-topbar-end {
    gap: 6px;
    width: 100%;
    justify-content: space-between;
  }

  .ebt-topbar-end .ebt-mini-btn {
    white-space: nowrap;      /* ← سبب الـ48px: الالتفاف داخل الزرّ */
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 1;
    flex: 0 0 auto;
  }

  /* المكرّر: نفس وجهة «دخول العملاء»، وموجود في الدرج */
  .ebt-topbar-end .ebt-mini-btn--sub { display: none; }
}

/* شاشات ضيّقة جدًّا (≤360): الرقم أطول عنصر — يبقى الاتّصال والواتساب */
@media (max-width: 360px) {
  .ebt-topbar-end .ebt-mini-btn--login { display: none; }
}
