:root {
  --jo-green: #007a3d;
  --jo-red: #ce1126;
  --jo-black: #111;
  --jo-gold: #c9a227;
  --bg: #fafbfc;
  --text: #1a1a1a;
  --muted: #5f6368;
  --font: "IBM Plex Sans Arabic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8eaed;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.15rem; }
.nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.nav a:hover { color: var(--jo-green); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--jo-green); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline { border-color: #d0d7de; color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--jo-green); color: var(--jo-green); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #eef7f1 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.badge { display: inline-block; background: #fff; border: 1px solid #dce8e0; padding: 6px 14px; border-radius: 999px; font-size: .85rem; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.25; margin-bottom: 16px; }
.grad { background: linear-gradient(135deg, var(--jo-green), var(--jo-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 560px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.4rem; color: var(--jo-green); }
.hero-stats span { font-size: .82rem; color: var(--muted); }

.hero-card { background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.08); border: 1px solid #e8eaed; }
.chat-demo { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: .95rem; }
.bubble.user { align-self: flex-end; background: var(--jo-green); color: #fff; border-bottom-left-radius: 4px; }
.bubble.bot { align-self: flex-start; background: #f0f4f9; border-bottom-right-radius: 4px; }

.section { padding: 64px 0; }
.section.alt { background: #fff; }
.section h2 { font-size: 1.8rem; margin-bottom: 10px; text-align: center; }
.section-lead { text-align: center; color: var(--muted); margin-bottom: 36px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card { background: #fff; border: 1px solid #e8eaed; border-radius: 18px; padding: 24px; }
.feature-card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { color: var(--muted); font-size: .92rem; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.check-list { list-style: none; margin-top: 16px; }
.check-list li { padding: 8px 0; padding-right: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; right: 0; color: var(--jo-green); font-weight: 700; }
.story-visual { background: #0d3b2e; color: #fff; border-radius: 20px; padding: 32px; text-align: center; }
.flag-bar { height: 12px; border-radius: 6px; margin-bottom: 20px; background: linear-gradient(180deg, #000 33%, #fff 33% 66%, var(--jo-green) 66%); }
.quote { font-size: 1.3rem; font-weight: 600; }

.compare-table { max-width: 720px; margin: 0 auto; border: 1px solid #e8eaed; border-radius: 16px; overflow: hidden; background: #fff; }
.compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; padding: 14px 18px; border-bottom: 1px solid #eef0f2; font-size: .92rem; }
.compare-row.head { background: #f6f8fa; font-weight: 700; }
.compare-row .yes { color: var(--jo-green); font-weight: 700; }
.compare-row .no { color: var(--jo-red); }
.compare-row .partial { color: var(--jo-gold); }

.cta { padding: 56px 0; background: linear-gradient(135deg, #007a3d, #0a5c32); color: #fff; text-align: center; }
.cta-inner h2 { margin-bottom: 8px; }
.cta-inner p { opacity: .9; margin-bottom: 20px; }
.cta .btn-primary { background: #fff; color: var(--jo-green); }
.cta .cta-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 800px) {
  .hero-grid, .story-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
  }
  .nav.open { display: flex; }
  .nav a.btn { text-align: center; }
  .header-inner { flex-wrap: wrap; }
}

.site-footer { padding: 24px 0; border-top: 1px solid #e8eaed; background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: var(--muted); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--jo-green); }
