/* ===== إعدادات عامة ===== */
:root{
  --brand-primary:#0f766e;
  --brand-primary-dark:#0b5a54;
  --brand-accent:#25d366; /* لون واتساب */
  --bg:#ffffff;
  --bg-soft:#f5f7f7;
  --text:#0f1a1a;
  --text-muted:#5b6b6a;
  --border:#e3e9e8;
  --radius:16px;
  --shadow:0 8px 30px rgba(15,23,23,.08);
  --font:'Cairo', 'Tajawal', sans-serif;
}

*{box-sizing:border-box; margin:0; padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  line-height:1.7;
  direction:rtl;
  text-align:right;
}

img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
.container{max-width:1140px; margin:0 auto; padding:0 20px;}

/* ===== الهيدر ===== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.logo{font-weight:800; font-size:1.3rem; color:var(--brand-primary-dark);}
.nav-links{display:flex; gap:28px;}
.nav-links a{font-weight:600; color:var(--text-muted);}
.nav-links a:hover{color:var(--brand-primary);}
.header-cta{
  background:var(--brand-accent); color:#fff; padding:10px 20px;
  border-radius:999px; font-weight:700; font-size:.95rem;
}
.nav-toggle{display:none; background:none; border:none; font-size:1.6rem; cursor:pointer;}

/* ===== الهيرو ===== */
.hero{
  padding:72px 0 56px;
  background:linear-gradient(180deg, var(--bg-soft), #fff);
}
.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  background:#eafbf6; color:var(--brand-primary-dark);
  padding:8px 16px; border-radius:999px; font-size:.85rem; font-weight:700;
  margin-bottom:20px;
}
.hero h1{
  font-size:clamp(2rem, 4vw, 3.2rem);
  font-weight:800; line-height:1.3; max-width:820px;
  margin-bottom:18px;
}
.hero h1 .highlight{color:var(--brand-primary);}
.hero p.lead{
  font-size:1.15rem; color:var(--text-muted); max-width:640px; margin-bottom:32px;
}
.hero-actions{display:flex; flex-wrap:wrap; gap:16px; align-items:center;}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:16px 30px; border-radius:14px; font-weight:800; font-size:1.05rem;
  border:none; cursor:pointer; transition:.2s transform, .2s box-shadow;
}
.btn-primary{background:var(--brand-accent); color:#fff; box-shadow:0 10px 24px rgba(37,211,102,.35);}
.btn-primary:hover{transform:translateY(-2px);}
.btn-secondary{background:#fff; color:var(--brand-primary-dark); border:1.5px solid var(--border);}
.hero-note{font-size:.85rem; color:var(--text-muted); margin-top:14px;}

/* ===== خطوات "كيف يعمل" ===== */
.steps{padding:64px 0; background:#fff;}
.section-title{
  font-size:clamp(1.6rem, 3vw, 2.2rem); font-weight:800; text-align:center; margin-bottom:12px;
}
.section-sub{text-align:center; color:var(--text-muted); max-width:600px; margin:0 auto 44px;}

.steps-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:20px;
}
.step-card{
  background:var(--bg-soft); border-radius:var(--radius); padding:26px 20px;
  position:relative; border:1px solid var(--border);
}
.step-num{
  width:36px; height:36px; border-radius:50%; background:var(--brand-primary);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-weight:800; margin-bottom:16px;
}
.step-card h3{font-size:1.05rem; margin-bottom:8px;}
.step-card p{font-size:.92rem; color:var(--text-muted);}

/* ===== قسم القطاع (مشاكل/حلول) ===== */
.sector-fit{padding:64px 0; background:var(--bg-soft);}
.fit-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start;}
.fit-col h3{font-size:1.2rem; margin-bottom:18px;}
.fit-list li{
  display:flex; gap:12px; align-items:flex-start; margin-bottom:14px;
  background:#fff; padding:14px 16px; border-radius:12px; border:1px solid var(--border);
}
.fit-list.pain li{border-inline-start:4px solid #e0574c;}
.fit-list.gain li{border-inline-start:4px solid var(--brand-primary);}

/* ===== الأسعار ===== */
.pricing{padding:64px 0;}
.pricing-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.price-card{
  border:1px solid var(--border); border-radius:var(--radius); padding:32px 24px;
  text-align:center; background:#fff;
}
.price-card.featured{border:2px solid var(--brand-primary); box-shadow:var(--shadow); transform:scale(1.03);}
.price-card h3{font-size:1.1rem; margin-bottom:8px;}
.price-amount{font-size:2.1rem; font-weight:800; color:var(--brand-primary-dark); margin:14px 0;}
.price-amount span{font-size:.95rem; font-weight:600; color:var(--text-muted);}
.price-card ul{margin:18px 0; text-align:right;}
.price-card ul li{padding:6px 0; color:var(--text-muted); font-size:.92rem;}
/* ===== الأسئلة الشائعة ===== */
.faq{padding:64px 0; background:var(--bg-soft);}
.faq-item{
  background:#fff; border:1px solid var(--border); border-radius:12px;
  padding:18px 20px; margin-bottom:14px;
}
.faq-item h4{font-size:1rem; margin-bottom:8px;}
.faq-item p{color:var(--text-muted); font-size:.92rem;}

/* ===== صفحات قانونية ===== */
.legal{padding:56px 0 72px;}
.legal-head{
  border-bottom:1px solid var(--border); padding-bottom:24px; margin-bottom:36px;
}
.legal-head h1{font-size:clamp(1.6rem,3vw,2.3rem); font-weight:800; margin-bottom:10px;}
.legal-head .updated{color:var(--text-muted); font-size:.9rem;}
.legal-body{max-width:820px;}
.legal-body > p.intro{
  font-size:1.05rem; color:var(--text-muted); margin-bottom:32px;
  background:var(--bg-soft); padding:20px 22px; border-radius:var(--radius);
  border-inline-start:4px solid var(--brand-primary);
}
.legal-body section{margin-bottom:30px;}
.legal-body h2{
  font-size:1.15rem; font-weight:800; color:var(--brand-primary-dark);
  margin-bottom:10px; display:flex; align-items:center; gap:10px;
}
.legal-body h2::before{
  content:''; width:8px; height:8px; border-radius:50%;
  background:var(--brand-primary); flex-shrink:0;
}
.legal-body p{color:var(--text); line-height:1.9;}
.legal-contact{
  margin-top:44px; padding:24px; background:var(--bg-soft);
  border:1px solid var(--border); border-radius:var(--radius);
}
.legal-contact h3{font-size:1.05rem; margin-bottom:8px;}
.legal-contact p{color:var(--text-muted); font-size:.95rem;}
.legal-contact a{color:var(--brand-primary); font-weight:700;}

/* ===== فوتر ===== */
.site-footer{
  background:#0b1615; color:#c9d6d5; padding:40px 0; text-align:center; font-size:.9rem;
}
.site-footer a{color:#8fe9c9;}
.footer-links{margin-bottom:12px;}
.footer-links a{font-weight:600;}
.footer-links span{opacity:.5; margin:0 10px;}

/* ===== استجابة الجوال ===== */
@media (max-width:860px){
  .nav-links{display:none;}
  .nav-links.open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:72px; inset-inline:0;
    background:#fff; border-bottom:1px solid var(--border);
    box-shadow:var(--shadow); padding:8px 20px 16px;
  }
  .nav-links.open a{padding:12px 0; border-bottom:1px solid var(--border);}
  .nav-links.open a:last-child{border-bottom:none;}
  .nav-toggle{display:block;}
  .steps-grid{grid-template-columns:1fr 1fr;}
  .fit-grid{grid-template-columns:1fr;}
  .pricing-grid{grid-template-columns:1fr;}
  .price-card.featured{transform:none;}
}
