@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');
@import url('assets/css/all.min.css');

:root {
  --font-arabic: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Cairo", "Tajawal", sans-serif;
  --bg-top: #e8f7f8;
  --bg-mid: #f3fbfd;
  --bg-bottom: #fff;
  --foreground: #1a3340;
  --muted: #6b8490;
  --teal: #0d8a8a;
  --teal-dark: #0a6e6e;
  --teal-soft: #d8f3f3;
  --orange: #ff7a2f;
  --orange-dark: #e8651c;
  --orange-soft: #ffe8d6;
  --sky: #3aa8d0;
  --sky-soft: #dff3fb;
  --card: #fff;
  --border: #d7ecee;
  --shadow: 0 10px 30px #0d5a6414;
  --radius-xl: clamp(1.1rem, 2vw, 1.75rem);
  --radius-lg: clamp(.9rem, 1.6vw, 1.25rem);
  --radius-md: clamp(.7rem, 1.2vw, .875rem);
  --page-pad: clamp(.85rem, 2.2vw, 2rem);
  --fs-xs: clamp(.7rem, .65rem + .2vw, .8rem);
  --fs-sm: clamp(.8rem, .75rem + .25vw, .9rem);
  --fs-base: clamp(.9rem, .85rem + .3vw, 1rem);
  --fs-lg: clamp(1.05rem, .95rem + .45vw, 1.25rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-arabic);
  font-size: var(--fs-base);
  line-height: 1.55;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #c9f0f2 0, transparent 55%),
    linear-gradient(180deg, var(--bg-top) 0, var(--bg-mid) 40%, var(--bg-bottom) 100%);
}
a { color: inherit; }
button, select { font: inherit; }
h1, h2, h3, .font-display { font-family: var(--font-display), var(--font-arabic), sans-serif; }

.app-shell { width: 100%; min-height: 100dvh; overflow-x: clip; position: relative; }
.hero-wrap {
  position: relative;
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 1.5rem) 1.5rem;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: clamp(1.25rem, 4vw, 2rem);
}
.logo {
  font-family: var(--font-display), sans-serif;
  font-weight: 900;
  color: var(--teal-dark);
  text-decoration: none;
  font-size: clamp(.95rem, 2vw, 1.05rem);
  white-space: nowrap;
}
.logo span { color: var(--orange); }
.main-nav { display: none; align-items: center; gap: .15rem; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.nav-link {
  font-size: var(--fs-xs);
  color: var(--muted);
  border-radius: 999px;
  padding: .4rem .7rem;
  font-weight: 800;
  text-decoration: none;
}
.nav-link:hover { color: var(--teal-dark); background: #d8f3f3a6; }
.header-actions { display: flex; align-items: center; gap: .5rem; }

.pill {
  font-weight: 700;
  font-size: var(--fs-sm);
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: .45rem;
  padding: .45rem clamp(.7rem, 2vw, 1.1rem);
  display: inline-flex;
  text-decoration: none;
}
.pill-soft { color: var(--teal-dark); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.pill-teal { background: var(--teal-dark); color: #fff; box-shadow: 0 8px 18px #0a6e6e40; }
.pill-xs { font-size: 10px; padding: .25rem .65rem; width: fit-content; }

.btn-ghost, .btn-orange {
  font-weight: 800;
  font-size: var(--fs-sm);
  white-space: nowrap;
  cursor: pointer;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .7rem 1.35rem;
  text-decoration: none;
  display: inline-flex;
  border: none;
}
.btn-orange {
  color: #fff;
  background: linear-gradient(180deg, #ff8a45 0, var(--orange) 100%);
  box-shadow: 0 10px 24px #ff7a2f59;
}
.btn-ghost { color: var(--teal-dark); border: 1px solid var(--border); background: #fff; }
.btn-sm { min-height: 2.25rem; padding: .5rem .9rem; font-size: 12px; }
@media (hover: hover) and (pointer: fine) {
  .btn-orange:hover { filter: brightness(1.03); transform: translateY(-1px); }
}

.hero-copy { text-align: center; margin-bottom: clamp(1.25rem, 4vw, 2rem); }
.hero-kicker { color: var(--teal); font-weight: 700; margin: 0 0 .5rem; letter-spacing: .02em; font-size: clamp(.85rem, 2.5vw, 1rem); }
.hero-copy h1 {
  color: var(--teal-dark);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 6vw, 3.75rem);
}
.hero-copy p {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
  font-size: clamp(.95rem, 2.5vw, 1.125rem);
}

.grid-fluid-3 { display: grid; gap: clamp(.75rem, 2vw, 1.25rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-bottom: 1.5rem; flex: 1; }
.mode-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  text-align: right;
  border: 2px solid transparent;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  width: 100%;
}
.mode-card.active { border-color: var(--teal); box-shadow: 0 14px 34px #0d8a8a2e; }
@media (hover: hover) and (pointer: fine) {
  .mode-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px #0d5a641f; }
}
.mode-card .row { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.mode-card h3 { margin: 0 0 .4rem; font-size: clamp(1.05rem, 2.5vw, 1.25rem); font-weight: 800; }
.mode-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; }
.icon-badge { border-radius: .875rem; place-items: center; width: 2.6rem; height: 2.6rem; font-size: 1.15rem; display: grid; flex-shrink: 0; }
.icon-badge.teal { background: var(--teal-soft); }
.icon-badge.orange { background: var(--orange-soft); }
.icon-badge.sky { background: var(--sky-soft); }
.steps-row { display: flex; flex-wrap: wrap; color: var(--teal); font-size: var(--fs-xs); gap: .5rem .65rem; margin-top: 1rem; font-weight: 700; }
.corner-blob {
  opacity: .55;
  pointer-events: none;
  border-radius: 40% 60% 55% 45%;
  width: 90px;
  height: 90px;
  position: absolute;
  bottom: -22px;
  left: -18px;
}

.action-bar {
  position: sticky;
  bottom: 1rem;
  z-index: 20;
  background: #fff;
  border: 1px solid #d7eceecc;
  border-radius: clamp(1.25rem, 4vw, 999px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .75rem;
  padding: .75rem;
  box-shadow: 0 12px 40px #0d5a641f;
}
.action-bar .bar-side { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.action-bar label { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.select-field {
  appearance: none;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: #f7fcfc;
  font-weight: 700;
  padding: .7rem 1rem;
  min-width: 0;
  flex: 1;
  outline: none;
}
.select-field:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #0d8a8a1f; }
@media (min-width: 640px) {
  .action-bar { flex-direction: row; align-items: center; justify-content: space-between; }
  .action-bar .btn-orange { width: auto; }
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem 1.25rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.landing-container { width: min(100% - 2 * var(--page-pad), 72rem); margin-inline: auto; }
.landing-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.landing-kicker { color: var(--teal); font-weight: 800; font-size: var(--fs-sm); margin: 0 0 .5rem; }
.landing-title { color: var(--teal-dark); margin: 0 0 .75rem; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.35rem); font-weight: 900; line-height: 1.25; }
.landing-lead { color: var(--muted); max-width: 40rem; margin: 0 0 2rem; font-size: clamp(.95rem, .9rem + .35vw, 1.1rem); line-height: 1.7; }
.landing-band { border-block: 1px solid var(--border); background: linear-gradient(#d8f3f38c, #ffffff59); }

.outcome-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
@media (min-width: 768px) { .outcome-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.outcome-item { text-align: center; }
.outcome-value { font-family: var(--font-display), sans-serif; color: var(--teal-dark); margin: 0 0 .35rem; font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 900; }
.outcome-label { color: var(--muted); font-size: var(--fs-xs); margin: 0; font-weight: 700; }

.flow-steps { counter-reset: flow; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.flow-step:before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-display), sans-serif;
  color: var(--orange);
  display: block;
  margin-bottom: .65rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
}
.flow-step h3 { color: var(--teal-dark); font-weight: 800; font-size: var(--fs-lg); margin: 0 0 .4rem; }
.flow-step p, .feature-item p, .audience-item p, .trust-grid p { color: var(--muted); font-size: var(--fs-sm); margin: 0; line-height: 1.65; }

.product-stage { border-radius: var(--radius-xl); border: 1px solid var(--border); background: linear-gradient(#fffffff2, #e8f7f8e6); overflow: hidden; box-shadow: 0 20px 50px #0d5a641f; }
.product-stage-bar { border-bottom: 1px solid var(--border); font-size: var(--fs-xs); color: var(--teal-dark); background: #fffc; display: flex; align-items: center; gap: .65rem; padding: .85rem 1.1rem; font-weight: 800; }
.product-dot { background: var(--orange); border-radius: 999px; width: .45rem; height: .45rem; box-shadow: 0 0 0 4px #ff7a2f2e; animation: pulse-dot 1.8s infinite; }
.product-stage-body { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); min-height: min(22rem, 55dvh); }
@media (max-width: 699px) { .product-list { display: none; } .product-stage-body { grid-template-columns: 1fr; } }
.product-list { border-inline-end: 1px solid var(--border); background: #fff; padding: .5rem; display: flex; flex-direction: column; gap: .35rem; }
.product-thread { border-radius: var(--radius-md); padding: .7rem .75rem; display: flex; flex-direction: column; gap: .2rem; }
.product-thread strong { font-size: var(--fs-xs); color: var(--teal-dark); }
.product-thread span { color: var(--muted); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-thread.is-active { background: var(--teal-soft); }
.product-chat { background: radial-gradient(60% 40% at 100% 0, #ffe0c859, transparent 55%), #d8f3f359; display: flex; flex-direction: column; gap: .65rem; padding: 1.1rem; }
.bubble { max-width: min(92%, 26rem); font-size: var(--fs-sm); border-radius: 1.1rem; padding: .7rem .9rem; line-height: 1.55; }
.bubble.in { border: 1px solid var(--border); background: #fff; align-self: flex-end; border-bottom-left-radius: .35rem; }
.bubble.out { background: var(--teal); color: #fff; align-self: flex-start; border-bottom-right-radius: .35rem; }
.bubble.out em { display: block; opacity: .75; font-size: .65rem; font-style: normal; font-weight: 800; margin-bottom: .15rem; }

.feature-rail, .audience-grid, .quotes-grid, .trust-grid, .pricing-grid {
  display: grid;
  gap: clamp(.85rem, 2vw, 1.5rem);
}
.feature-rail { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
.feature-item { border-top: 2px solid var(--teal-soft); padding: 1.1rem 0; }
.feature-mark { color: var(--orange); font-weight: 900; font-size: var(--fs-sm); letter-spacing: .04em; margin-bottom: .35rem; display: block; }
.feature-item h3, .audience-item h3, .trust-grid h3 { color: var(--teal-dark); font-weight: 800; font-size: var(--fs-lg); margin: 0 0 .45rem; }
.audience-grid, .trust-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.audience-item, .quote-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 1.25rem;
}
.quotes-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.quote-item { display: flex; flex-direction: column; gap: 1rem; border-radius: var(--radius-xl); }
.quote-item p { margin: 0; font-weight: 600; line-height: 1.75; }
.quote-item footer { display: flex; flex-direction: column; gap: .15rem; }
.quote-item strong { color: var(--teal-dark); font-size: var(--fs-sm); }
.quote-item span { color: var(--muted); font-size: var(--fs-xs); }
.trust-grid a { color: var(--teal); font-weight: 800; text-decoration: none; }

.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.price-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.4rem;
  cursor: pointer;
  text-align: right;
}
.price-card.is-popular, .price-card.is-selected { border-color: var(--teal); }
.price-card.is-popular { box-shadow: 0 16px 40px #0d8a8a29; }
.price-card h3 { margin: 0; color: var(--teal-dark); font-size: 1.25rem; }
.price-card .blurb { margin: .35rem 0 0; color: var(--muted); font-size: var(--fs-sm); }
.price-tag { font-family: var(--font-display), sans-serif; color: var(--teal-dark); font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 900; margin: 0; }
.price-tag span { font-size: var(--fs-sm); color: var(--muted); font-weight: 700; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.price-card li { font-size: var(--fs-sm); padding-inline-start: 1.1rem; position: relative; }
.price-card li:before { content: "✔"; color: var(--teal); font-size: .75rem; font-weight: 800; position: absolute; inset-inline-start: 0; }
.price-note { text-align: center; color: var(--muted); font-size: var(--fs-xs); margin: 1.5rem 0 0; }
.price-note a { color: var(--teal); font-weight: 800; text-decoration: none; }

.faq-list { display: flex; flex-direction: column; gap: .65rem; max-width: 48rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; overflow: hidden; }
.faq-item summary { cursor: pointer; color: var(--teal-dark); display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; color: var(--orange); font-size: 1.25rem; font-weight: 900; }
.faq-item[open] summary:after { content: "−"; }
.faq-body { color: var(--muted); font-size: var(--fs-sm); padding: 0 1.15rem 1.15rem; line-height: 1.7; }

.cta-panel {
  background: linear-gradient(135deg, var(--teal-dark) 0, var(--teal) 55%, #149494 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 18px 44px #0a6e6e47;
}
.cta-panel h2 { margin: 0 0 .4rem; font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 900; }
.cta-panel p { opacity: .9; max-width: 32rem; margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.cta-panel .btn-orange { background: var(--orange); box-shadow: 0 10px 24px #0000002e; }
.cta-ghost { background: #ffffff26 !important; color: #fff !important; border: 1px solid #ffffff4d !important; }

.site-footer { color: #ffffffd1; padding: clamp(2rem, 5vw, 3.25rem) var(--page-pad) 1.5rem; background: #0a3d42; margin-top: clamp(2rem, 5vw, 3.5rem); }
.site-footer a { color: #ffffffd1; text-decoration: none; }
.site-footer a:hover { color: #ffe0c8; }
.footer-grid { width: min(100%, 72rem); margin: 0 auto 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 900px) { .footer-brand { grid-column: span 2; } }
.footer-brand .logo { color: #fff; display: inline-block; margin-bottom: .65rem; font-size: 1.35rem; }
.footer-brand p { font-size: var(--fs-sm); max-width: 24rem; margin: 0; line-height: 1.7; }
.footer-cta-mini { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1rem; }
.footer-cta-mini a[href^="mailto"] { color: #ffe0c8; font-weight: 800; }
.footer-col h4 { color: #fff; font-weight: 800; font-size: var(--fs-sm); margin: 0 0 .85rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; font-size: var(--fs-sm); }
.footer-bottom {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-top: 1.15rem;
  border-top: 1px solid #ffffff1f;
  color: #ffffff8c;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  font-size: var(--fs-xs);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
  gap: .75rem;
  margin-bottom: 2rem;
}
.platform-chip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 1rem .6rem;
}
.platform-chip i { font-size: 1.35rem; color: var(--teal-dark); display: block; margin-bottom: .4rem; }
.platform-chip strong { display: block; font-size: var(--fs-sm); color: var(--teal-dark); }
.platform-chip span { display: block; color: var(--muted); font-size: var(--fs-xs); margin-top: .2rem; }
.publish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: clamp(.85rem, 2vw, 1.25rem);
}
.publish-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.publish-card h3 { margin: .55rem 0 .4rem; color: var(--teal-dark); font-size: var(--fs-lg); }
.publish-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; }
.publish-card ol { margin: .75rem 0 0; padding-inline-start: 1.15rem; color: var(--foreground); font-size: var(--fs-sm); line-height: 1.7; }

.review-en { max-width: 48rem; margin: 0 auto; color: #ffffff8c; font-size: 12px; line-height: 1.7; direction: ltr; text-align: left; font-family: Arial, sans-serif; }
.review-en a { color: #ffe0c8; }

@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 8px #ff7a2f14; } }
.animate-rise { animation: rise-in .4s both; }
.d1 { animation-delay: 80ms; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .animate-rise, .product-dot { animation: none !important; }
}
