/* EasyMenu Ads Landing — Production CSS (RTL, Mobile-First) */
:root {
  --em-orange: #f97316;
  --em-orange-dark: #ea580c;
  --em-orange-soft: #fff7ed;
  --em-navy: #1a2a5e;
  --em-navy-deep: #0d1b3a;
  --em-ink: #0f172a;
  --em-muted: #64748b;
  --em-line: #e2e8f0;
  --em-surface: #f4f6fb;
  --em-white: #ffffff;
  --em-wa: #25d366;
  --em-wa-dark: #1ebe57;
  --em-radius: 18px;
  --em-radius-sm: 12px;
  --em-shadow: 0 18px 50px rgba(13, 27, 58, 0.12);
  --em-shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
  --em-container: 1120px;
  --em-header-h: 72px;
  --em-font: "Tajawal", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--em-header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--em-font);
  color: var(--em-ink);
  background: var(--em-white);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.em-modal-open,
body.em-nav-open,
html.em-modal-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; margin: 0; padding: 0; }

.em-container {
  width: min(100% - 2rem, var(--em-container));
  margin-inline: auto;
}

.em-section {
  padding: 4.5rem 0;
}

.em-section--soft { background: var(--em-surface); }
.em-section--navy {
  background: linear-gradient(145deg, var(--em-navy-deep), var(--em-navy));
  color: #fff;
}

.em-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--em-orange-dark);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.em-section--navy .em-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #fdba74;
}

.em-h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.25;
  margin: 0 0 .85rem;
  letter-spacing: -0.02em;
}

.em-lead {
  margin: 0;
  color: var(--em-muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.em-section--navy .em-lead { color: #cbd5e1; }

.em-section__head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

/* Buttons */
.em-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}

.em-btn:focus-visible,
.em-biz-option:focus-visible,
.em-nav-toggle:focus-visible,
.em-faq__q:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.45);
  outline-offset: 2px;
}

.em-btn:active { transform: translateY(1px); }

.em-btn--wa {
  background: var(--em-wa);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}
.em-btn--wa:hover { background: var(--em-wa-dark); }

.em-btn--primary {
  background: var(--em-orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}
.em-btn--primary:hover { background: var(--em-orange-dark); }

.em-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.em-btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }

.em-btn--outline {
  border: 1.5px solid var(--em-line);
  color: var(--em-navy-deep);
  background: #fff;
}
.em-btn--outline:hover {
  border-color: var(--em-orange);
  color: var(--em-orange-dark);
}

.em-btn--sm {
  min-height: 42px;
  padding: .55rem 1rem;
  font-size: .95rem;
  border-radius: 12px;
}

.em-btn[disabled],
.em-btn.is-loading {
  opacity: .65;
  pointer-events: none;
}

/* Header */
.em-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.em-header__inner {
  min-height: var(--em-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.em-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  color: var(--em-navy-deep);
  font-size: 1.1rem;
}
.em-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.em-nav {
  display: none;
  align-items: center;
  gap: 1.15rem;
}

.em-nav a {
  font-weight: 700;
  color: #334155;
  font-size: .95rem;
}
.em-nav a:hover { color: var(--em-orange); }

.em-header__actions {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.em-login-link {
  display: none;
  font-weight: 700;
  color: var(--em-navy);
}

.em-nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--em-line);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.em-nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--em-navy-deep);
  border-radius: 2px;
  display: block;
}

.em-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 120;
}
.em-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.em-mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 320px);
  height: 100%;
  background: #fff;
  z-index: 130;
  transform: translateX(105%);
  transition: transform .25s ease;
  padding: 1.25rem;
  box-shadow: var(--em-shadow);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.em-mobile-nav.is-open { transform: translateX(0); }
.em-mobile-nav a {
  padding: .9rem .75rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--em-navy-deep);
}
.em-mobile-nav a:hover { background: var(--em-orange-soft); color: var(--em-orange-dark); }
.em-mobile-nav__cta { margin-top: auto; }

/* Hero */
.em-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.22), transparent 36%),
    radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.12), transparent 30%),
    linear-gradient(160deg, #071226 0%, #0d1b3a 45%, #1a2a5e 100%);
  color: #fff;
  padding: 2.5rem 0 3.5rem;
}

.em-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.em-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5.2vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 16ch;
}

.em-hero__desc {
  margin: 0 0 1.5rem;
  color: #cbd5e1;
  font-size: 1.08rem;
  max-width: 38rem;
}

.em-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.em-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}

.em-trust__item {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .92rem;
  color: #e2e8f0;
  font-weight: 600;
}
.em-trust__item svg {
  flex: 0 0 auto;
  margin-top: .15rem;
}

.em-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.em-phone {
  width: min(100%, 280px);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.35));
  animation: em-float 5.5s ease-in-out infinite;
}

.em-hero__chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--em-navy-deep);
  border-radius: 14px;
  padding: .7rem .9rem;
  box-shadow: var(--em-shadow-soft);
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: .45rem;
  animation: em-fade-up .8s ease both;
}
.em-hero__chip--admin {
  top: 12%;
  left: 0;
  animation-delay: .15s;
}
.em-hero__chip--wa {
  bottom: 14%;
  right: 0;
  animation-delay: .3s;
}
.em-hero__chip span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: var(--em-orange-soft);
  color: var(--em-orange-dark);
  font-size: .85rem;
}
.em-hero__chip--wa span {
  background: #e8fff1;
  color: var(--em-wa-dark);
}

@keyframes em-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes em-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.em-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.em-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Problems */
.em-split {
  display: grid;
  gap: 1rem;
}
.em-problem,
.em-solution {
  border-radius: var(--em-radius);
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--em-line);
  background: #fff;
}
.em-problem { border-inline-start: 4px solid #f87171; }
.em-solution { border-inline-start: 4px solid var(--em-wa); }
.em-problem h3,
.em-solution h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}
.em-problem p,
.em-solution p {
  margin: 0;
  color: var(--em-muted);
  font-size: .95rem;
}

/* Feature / business cards — interaction containers */
.em-grid {
  display: grid;
  gap: 1rem;
}

.em-card {
  background: #fff;
  border: 1px solid var(--em-line);
  border-radius: var(--em-radius);
  padding: 1.25rem;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.em-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--em-shadow-soft);
  border-color: #fdba74;
}

.em-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--em-orange-soft);
  color: var(--em-orange-dark);
  font-size: 1.2rem;
  margin-bottom: .85rem;
}

.em-card h3 {
  margin: 0 0 .4rem;
  font-size: 1.08rem;
}
.em-card p {
  margin: 0;
  color: var(--em-muted);
  font-size: .95rem;
}

.em-biz-card .em-card__icon {
  background: rgba(26, 42, 94, 0.08);
  color: var(--em-navy);
}

/* Steps */
.em-steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.em-step {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--em-radius);
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
}
.em-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--em-orange);
  color: #fff;
  font-weight: 800;
  margin-bottom: .75rem;
}
.em-step h3 { margin: 0 0 .35rem; font-size: 1.08rem; }
.em-step p { margin: 0; color: #cbd5e1; font-size: .95rem; }

/* Demos */
.em-demos__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.em-demos__controls { display: flex; gap: .5rem; }
.em-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--em-line);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--em-navy);
}
.em-icon-btn:hover { border-color: var(--em-orange); color: var(--em-orange); }

.em-demos__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.em-demo-card {
  scroll-snap-align: start;
  border: 1px solid var(--em-line);
  border-radius: var(--em-radius);
  background: #fff;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  min-height: 220px;
}
.em-demo-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.em-demo-card__logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--em-line);
  background: #fff;
  flex: 0 0 auto;
}
.em-demo-card__badge {
  font-size: .8rem;
  font-weight: 700;
  color: var(--em-orange-dark);
  background: var(--em-orange-soft);
  padding: .25rem .65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.em-demo-card h3 { margin: 0; font-size: 1.1rem; }
.em-demo-card p { margin: 0; color: var(--em-muted); font-size: .92rem; flex: 1; }

/* Comparison */
.em-compare {
  overflow-x: auto;
  border-radius: var(--em-radius);
  border: 1px solid var(--em-line);
  background: #fff;
}
.em-compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.em-compare th,
.em-compare td {
  padding: .95rem 1rem;
  text-align: start;
  border-bottom: 1px solid var(--em-line);
  font-size: .95rem;
}
.em-compare th {
  background: var(--em-navy-deep);
  color: #fff;
  font-weight: 800;
}
.em-compare th:nth-child(3) { background: var(--em-orange); }
.em-compare tr:last-child td { border-bottom: 0; }
.em-compare td:nth-child(2) { color: #b91c1c; }
.em-compare td:nth-child(3) { color: #15803d; font-weight: 700; }

/* Testimonials placeholders */
.em-quote {
  border-radius: var(--em-radius);
  border: 1px dashed #cbd5e1;
  background: #fff;
  padding: 1.35rem;
}
.em-quote p {
  margin: 0 0 1rem;
  color: #475569;
  font-style: italic;
}
.em-quote__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 700;
  color: var(--em-navy);
}
.em-quote__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--em-surface);
  display: grid;
  place-items: center;
  color: var(--em-muted);
}

/* FAQ */
.em-faq { display: grid; gap: .65rem; }
.em-faq__item {
  border: 1px solid var(--em-line);
  border-radius: var(--em-radius-sm);
  background: #fff;
  overflow: hidden;
}
.em-faq__q {
  width: 100%;
  text-align: start;
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: var(--em-navy-deep);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.em-faq__q::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--em-orange);
  font-weight: 800;
}
.em-faq__item.is-open .em-faq__q::after { content: "−"; }
.em-faq__a {
  padding: 0 1.1rem 1rem;
  color: var(--em-muted);
  margin: 0;
}

/* Final CTA */
.em-final {
  text-align: center;
  padding: 3.5rem 1.25rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.25), transparent 35%),
    linear-gradient(145deg, var(--em-navy-deep), var(--em-navy));
  color: #fff;
}
.em-final h2 { margin: 0 0 .75rem; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.em-final p { margin: 0 auto 1.35rem; max-width: 34rem; color: #cbd5e1; }
.em-final .em-btn { min-width: min(100%, 320px); }

/* Sticky WA */
.em-sticky-wa {
  position: fixed;
  inset-inline: 0 0;
  bottom: 0;
  z-index: 90;
  padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--em-line);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.em-sticky-wa.is-visible { transform: translateY(0); }
.em-sticky-wa .em-btn { width: 100%; }

/* Modal / Bottom sheet */
.em-modal[hidden] { display: none !important; }
.em-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: end center;
}
.em-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.em-modal__sheet {
  position: relative;
  width: min(100%, 520px);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 1.25rem 1.15rem 1.5rem;
  box-shadow: var(--em-shadow);
  animation: em-sheet-in .28s ease;
}
@keyframes em-sheet-in {
  from { transform: translateY(24px); opacity: .6; }
  to { transform: none; opacity: 1; }
}

.em-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.em-modal__head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--em-navy-deep);
}
.em-modal__head p {
  margin: .35rem 0 0;
  color: var(--em-muted);
  font-size: .92rem;
}
.em-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--em-line);
  font-size: 1.25rem;
  color: #475569;
}

.em-biz-options {
  display: grid;
  gap: .55rem;
  margin-bottom: 1rem;
}
.em-biz-option {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  text-align: start;
  padding: .85rem .9rem;
  border-radius: 14px;
  border: 1.5px solid var(--em-line);
  background: #fff;
  font-weight: 700;
  color: var(--em-navy-deep);
  transition: border-color .15s ease, background .15s ease;
}
.em-biz-option:hover { border-color: #fdba74; background: var(--em-orange-soft); }
.em-biz-option.is-selected {
  border-color: var(--em-orange);
  background: var(--em-orange-soft);
  box-shadow: inset 0 0 0 1px var(--em-orange);
}
.em-biz-option__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  flex: 0 0 auto;
  position: relative;
}
.em-biz-option.is-selected .em-biz-option__radio {
  border-color: var(--em-orange);
}
.em-biz-option.is-selected .em-biz-option__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--em-orange);
}

.em-modal__continue { width: 100%; }

/* Footer */
.em-footer {
  padding: 2.5rem 0 5.5rem;
  background: var(--em-navy-deep);
  color: #cbd5e1;
}
.em-footer__grid {
  display: grid;
  gap: 1.5rem;
}
.em-footer a:hover { color: #fdba74; }
.em-footer__brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: .65rem;
}
.em-footer__brand img { width: 40px; height: 40px; object-fit: contain; }
.em-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.25rem;
  font-weight: 600;
}
.em-footer__copy {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: .9rem;
}

/* Floating desktop WA (optional complement to sticky) */
.em-float-wa {
  display: none;
}

@media (min-width: 640px) {
  .em-trust { grid-template-columns: repeat(4, 1fr); }
  .em-split { grid-template-columns: 1fr 1fr; }
  .em-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .em-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .em-steps { grid-template-columns: repeat(2, 1fr); }
  .em-modal { place-items: center; }
  .em-modal__sheet {
    border-radius: 22px;
    margin: 1rem;
  }
}

@media (min-width: 960px) {
  .em-nav { display: flex; }
  .em-nav-toggle { display: none; }
  .em-login-link { display: inline-flex; }
  .em-header .em-btn--wa { display: inline-flex; }
  .em-hero {
    padding: 4rem 0 5rem;
    min-height: calc(100vh - var(--em-header-h));
    display: flex;
    align-items: center;
  }
  .em-hero__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
  }
  .em-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .em-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .em-steps { grid-template-columns: repeat(5, 1fr); }
  .em-footer__grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
  .em-sticky-wa { display: none; }
  .em-float-wa {
    display: inline-flex;
    position: fixed;
    bottom: 1.35rem;
    left: 1.35rem;
    z-index: 90;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  }
  .em-footer { padding-bottom: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .em-phone,
  .em-hero__chip,
  .em-reveal,
  .em-modal__sheet {
    animation: none !important;
    transition: none !important;
  }
  .em-reveal { opacity: 1; transform: none; }
}
