:root{
  --primary:#0A5AA8;
  --primary-2:#0B4C8C;
  --light:#F6F9FF;
  --text:#0f172a;
  --muted:#64748b;
  --radius:18px;

  --shadow: 0 14px 38px rgba(2,6,23,.08);
  --shadow-soft: 0 10px 25px rgba(2,6,23,.06);
  --border: 1px solid rgba(2,6,23,.08);
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}

/* ✅ تقليل الحجم والـ bold العام */
body{
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.85;
  direction: rtl;
  color: var(--text);
  background: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto; display:block}
.muted{color: var(--muted)}
::selection{background: rgba(10,90,168,.18)}
.container{max-width: 1120px}

/* ------------- BRAND LOGO ------------- */
.brand-logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 10px 20px rgba(2,6,23,.06);
}
.brand-title{
  font-weight: 800;
  font-size: 16px;
}

/* ---------------- NAV ---------------- */
.navbar{
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(2,6,23,.06);
}
.navbar .nav-link{
  font-weight: 700;             /* ✅ أقل */
  font-size: 14.5px;            /* ✅ أقل */
  color: rgba(15,23,42,.82);
  border-radius: 12px;
  padding: 10px 12px;
}
.navbar .nav-link:hover{color: var(--primary)}
.navbar .nav-link.active{
  color: var(--primary);
  background: rgba(10,90,168,.08);
  border: 1px solid rgba(10,90,168,.14);
}
.nav-right{justify-content:flex-start}

/* dropdown */
.dropdown-menu{
  border-radius: 16px;
  border: var(--border);
  box-shadow: var(--shadow-soft);
  padding: 10px;
}
.dropdown-item{
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;  /* ✅ أقل */
}
.dropdown-item:hover{background: rgba(10,90,168,.08)}

/* dropdown hover (desktop only) */
@media (min-width: 992px){
  .navbar .dropdown:hover > .dropdown-menu{
    display:block;
    margin-top: 0;
    animation: dropIn .18s ease;
  }
  .navbar .dropdown:hover > .nav-link{
    color: var(--primary);
  }
}
@keyframes dropIn{
  from{opacity:0; transform: translateY(6px)}
  to{opacity:1; transform: translateY(0)}
}

/* ---------------- BUTTONS ---------------- */
.btn{
  border-radius: 14px !important;
  padding: 10px 16px !important;
  font-weight: 700 !important;  /* ✅ أقل */
}
.btn-primary{
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 10px 22px rgba(10,90,168,.20);
}
.btn-primary:hover{
  background: var(--primary-2) !important;
  border-color: var(--primary-2) !important;
  transform: translateY(-1px);
}
.btn-outline-primary{
  border-color: rgba(10,90,168,.35) !important;
  color: var(--primary) !important;
}
.btn-outline-primary:hover{background: rgba(10,90,168,.08) !important;}
.btn-login{
  background: #0b1220;
  border: 1px solid rgba(11,18,32,.18);
  color:#fff;
  box-shadow: 0 10px 22px rgba(2,6,23,.14);
}
.btn-login:hover{
  color:#fff;
  transform: translateY(-1px);
  opacity:.95;
}
.btn-outline-light-custom{
  border-color: rgba(255,255,255,.55) !important;
  color:#fff !important;
}
.btn-outline-light-custom:hover{
  background: rgba(255,255,255,.14) !important;
}

/* ---------------- HERO ---------------- */
.hero{
  position:relative;
  padding: 64px 0 36px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 15% 0%, rgba(10,90,168,.12), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(10,90,168,.14), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  z-index:-3;
}
.hero-curve{
  position:absolute;
  left:-40%;
  bottom:-190px;
  width:180%;
  height:420px;
  background: var(--primary);
  border-radius: 0 0 60% 60%;
  transform: rotate(-2deg);
  z-index:-2;
  opacity:.98;
  animation: floatCurve 8s ease-in-out infinite;
}
@keyframes floatCurve{
  0%,100%{transform: rotate(-2deg) translateY(0)}
  50%{transform: rotate(-2deg) translateY(10px)}
}

.hero-card{
  background: rgba(255,255,255,.92);
  border:1px solid rgba(2,6,23,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

/* ✅ قللنا الـ Black شوية */
.fw-black{font-weight: 800 !important}
.text-primary2{color: var(--primary)}

.badge-soft{
  background: rgba(10,90,168,.10);
  color: var(--primary);
  border:1px solid rgba(10,90,168,.15);
  padding: 8px 12px;
  border-radius: 999px;
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-weight:700;
}

.kpi{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 14px 16px;
  height:100%;
}
.kpi-light{
  background:#f7fbff;
  border-color: rgba(10,90,168,.14);
}

.hero-img{
  border-radius: var(--radius);
  width:100%;
  max-height: 380px;
  object-fit: cover;
  border: 1px solid rgba(2,6,23,.06);
  box-shadow: var(--shadow-soft);
}

/* ---------------- SECTIONS ---------------- */
.section{padding: 78px 0}
.section-blue{
  background: var(--primary);
  color: #fff;
  position:relative;
  overflow:hidden;
}
.section-blue::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 15% 15%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(800px 520px at 85% 0%, rgba(255,255,255,.10), transparent 62%);
  opacity:.9;
  pointer-events:none;
}
.section-blue .muted{color: rgba(255,255,255,.78)}
.section-blue .kpi{background: rgba(255,255,255,.12)}
.section-blue .feature-item{border-bottom-color: rgba(255,255,255,.25)}

.section-img{
  width:100%;
  border-radius: var(--radius);
  border:1px solid rgba(2,6,23,.06);
  box-shadow: var(--shadow-soft);
}

/* ---------------- FEATURES LIST ---------------- */
.feature-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,.25);
}
.feature-item:last-child{border-bottom:0}
.feature-icon{
  width:42px;height:42px;
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

/* ---------------- FOOTER ---------------- */
.footer{
  background:#0b1220;
  color:#cbd5e1;
  padding: 52px 0 26px;
}
.footer a{color:#cbd5e1}
.footer a:hover{color:#fff}
.small-muted{color:#94a3b8}

/* ---------------- ANIMATIONS (Reveal) ---------------- */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.show{
  opacity:1;
  transform: translateY(0);
}

/* ---------------- WhatsApp Floating ---------------- */
.whatsapp-float{
  position:fixed;
  right:18px;     /* ✅ يمين */
  left:auto;
  bottom:18px;
  width:56px;
  height:56px;
  border-radius: 18px;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 30px rgba(2,6,23,.22);
  z-index:99999;
  transition: transform .2s ease, opacity .2s ease;
}
.whatsapp-float:hover{
  transform: translateY(-2px);
  opacity: .95;
}
.whatsapp-float svg{
  width:28px;
  height:28px;
  fill:#fff;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991px){
  .hero{padding-top:28px}
  .hero-curve{bottom:-240px;height:460px}
  .section{padding: 58px 0}
  .hero-img{max-height: 320px}
  .nav-actions .btn{width:100%}
}
@media (max-width: 575px){
  .hero-card{padding: 18px}
  .btn{width: 100%}
}

/* Force Cairo */
body { font-family: "Cairo", sans-serif !important; }
