
/* Hero */
/* =========================
   HERO — Simple Curved Path
   ========================= */

.sHero--path{
  padding: 58px 0;
  background:
    radial-gradient(1100px 560px at 12% 18%, rgba(16,97,238,.18), transparent 60%),
    radial-gradient(900px 520px at 88% 70%, rgba(27,123,233,.12), transparent 62%),
    linear-gradient(135deg, rgba(11,16,32,.02), rgba(16,97,238,.05));
  border-bottom: 1px solid rgba(16,97,238,.10);
  overflow: clip;
}

.sHero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: start;
}

.sHero__visual{ display:flex; align-items:stretch; }

/* Card */
.pathCard{
  position:relative;
  width:100%;
  min-height: 480px;
  border-radius: 30px;
  border: 1px solid rgba(16,97,238,.18);
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(16,97,238,.14), transparent 60%),
    radial-gradient(700px 360px at 80% 75%, rgba(8,62,231,.08), transparent 62%),
    rgba(255,255,255,.86);
  box-shadow: 0 28px 90px rgba(6,44,170,.14);
  overflow:hidden;
  padding: 16px;
  isolation:isolate;
}

/* SVG line */
.pathSvg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:0;
}
.pathLine{
  fill:none;
  stroke: rgba(16,97,238,.22);
  stroke-width: 10;
  stroke-linecap: round;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.10));
}
.pathLine::after{}

/* Moving dot */
.pathDot{
  position:absolute;
  left:-999px;
  top:-999px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid rgba(16,97,238,.85);
  box-shadow: 0 16px 40px rgba(6,44,170,.22);
  z-index:2;
  transform: translate(-50%, -50%);
}

/* Stops container */
.pathStops{
  position:absolute;
  inset:0;
  z-index:1;
  margin:0;
  padding:0;
  list-style:none;
}

/* Stop card */
.stop{
  position:absolute;

  /* JS هيحط left/top + --ox/--oy */
  left: 0;
  top: 0;

  transform: translate(-50%, -50%) translate(var(--ox, 0px), var(--oy, 0px));

  width: min(240px, 82%);
  max-width: 240px;

  display:flex;
  align-items:center;
  gap:12px;
  padding: 12px 14px;
  border-radius: 22px;

  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;

  cursor:pointer;
  user-select:none;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.stop:hover{
  transform: translate(-50%, -50%) translate(var(--ox, 0px), calc(var(--oy, 0px) - 2px)) scale(1.01);
  box-shadow: 0 26px 85px rgba(0,0,0,.12);
  border-color: rgba(16,97,238,.22);
}
/* Number */
.stop__n{
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight: 950;
  color: rgba(11,16,32,.92);
  background: rgba(16,97,238,.10);
  border: 1px solid rgba(16,97,238,.16);
  flex: 0 0 auto;
}

.stop__t strong{
  display:block;
  font-size: 14px;
  letter-spacing: -.1px;
  color: rgba(11,16,32,.92);
}
.stop__t span{
  display:block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 850;
  color: rgba(11,16,32,.62);
}

/* Active stop */
.stop.is-active{
  border-color: rgba(16,97,238,.30);
  box-shadow: 0 26px 95px rgba(6,44,170,.18);
}
.stop.is-active .stop__n{
  color:#fff;
  background: linear-gradient(135deg, var(--p), var(--s));
  border-color: rgba(255,255,255,.30);
}

/* Hint */
.pathHint{
  position:absolute;
  right: 14px;
  bottom: 14px;
  z-index:3;
  font-size: 12px;
  font-weight: 900;
  color: rgba(11,16,32,.70);
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(16,97,238,.12);
  border-radius: 999px;
  padding: 8px 10px;
  backdrop-filter: blur(8px);
}

/* Responsive */
@media (max-width: 980px){
  .sHero__grid{ grid-template-columns: 1fr; }
  .sHero__visual{ margin-top: 14px; }
  .pathCard{ min-height: 440px; }
}


/* ماذا ستحصل عليه  base) */

.kpis{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.kpi{
  background:#fff;
  border:1px solid var(--br);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 12px 40px rgba(6,44,170,.06);
  text-align:center;
}
.kpi strong{ display:block; font-size: 14px; color: var(--b); }
.kpi span{ display:block; margin-top:4px; font-size: 12px; color: var(--mut); font-weight: 700; }

/* Right mock */
.sHero__card{
  border-radius: 28px;
  border: 1px solid var(--br);
  background:
    radial-gradient(700px 320px at 30% 25%, rgba(16,97,238,.16), transparent 60%),
    radial-gradient(600px 320px at 70% 70%, rgba(8,62,231,.12), transparent 62%),
    #fff;
  box-shadow: var(--shadow);
  padding: 16px;
  overflow:hidden;
}
.mockTop{display:flex; align-items:center; gap: 8px; margin-bottom: 14px;}
.dot{width:10px; height:10px; border-radius:999px; background: rgba(16,97,238,.22); border: 1px solid rgba(16,97,238,.18);}
.mockTitle{margin-inline-start:auto; font-weight: 900; color: rgba(11,16,32,.86); font-size: 13px;}
.mockGrid{display:grid; grid-template-columns: 1fr 1fr; gap: 12px;}
.mockBox{
  background: rgba(255,255,255,.75);
  border:1px solid rgba(16,97,238,.14);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 40px rgba(6,44,170,.06);
  min-height: 80px;
}
.mockBox strong{ display:block; font-size: 13px; color: var(--b); }
.mockBox span{ display:block; margin-top:6px; color: var(--mut); font-weight: 700; font-size: 12px; }
.mockBox.wide{ grid-column: 1 / -1; }

/* Cards */
.cards3{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card{
  background:#fff;
  border:1px solid var(--br);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(6,44,170,.06);
}
.card h3{ margin:0 0 10px; font-size: 16px; }
.card ul{ margin:0; padding:0 18px 0 0; color: rgba(11,16,32,.72); line-height: 1.9; font-weight: 650; }
.card li{ margin: 6px 0; }

/* =========================
   Process Steps (Pro)
   - Desktop: Horizontal stepper
   - Mobile: Vertical timeline (RTL-friendly)
   ========================= */

.psteps{
  --dot: 54px;
  --lineH: 2px;

  list-style: none;
  margin: 18px 0 0;
  padding: 18px 0 0;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;

  position: relative;
}

/* الخط الرئيسي خلف الدوائر (Desktop) */
.psteps::before{
  content:"";
  position:absolute;
  top: calc(18px + (var(--dot) / 2));
  left: 7%;
  right: 7%;
  height: var(--lineH);
  background: linear-gradient(90deg,
    rgba(16,97,238,0),
    rgba(16,97,238,.45),
    rgba(8,62,231,.35),
    rgba(16,97,238,.45),
    rgba(16,97,238,0)
  );
  opacity:.55;
  pointer-events:none;
}

/* كل خطوة */
.pstep{
  position: relative;
  display: grid;
  grid-template-rows: var(--dot) 1fr;
  gap: 12px;

  /* reveal animation hook */
  opacity: 1;
  transform: none;
}

/* دائرة الرقم */
.pstep__dot{
  width: var(--dot);
  height: var(--dot);
  border-radius: 999px;

  margin-inline: auto;
  display: grid;
  place-items: center;

  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.72) 55%, rgba(255,255,255,.55) 100%),
    linear-gradient(135deg, rgba(16,97,238,.16), rgba(8,62,231,.10));
  border: 1px solid rgba(16,97,238,.20);
  box-shadow:
    0 18px 50px rgba(6,44,170,.12),
    inset 0 0 0 6px rgba(16,97,238,.08);

  position: relative;
  z-index: 2;
}

.pstep__dot span{
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: grid;
  place-items: center;

  background: linear-gradient(135deg, var(--p), var(--s));
  color: #fff;
  font-weight: 950;
  font-size: 14px;

  box-shadow: 0 14px 40px rgba(6,44,170,.20);
}

/* الكارت */
.pstep__card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(16,97,238,.14);
  border-radius: 24px;
  padding: 16px;

  box-shadow: 0 18px 60px rgba(6,44,170,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;

  position: relative;
  overflow: hidden;
}

/* لمعان خفيف داخل الكارت */
.pstep__card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(280px 180px at 20% 20%, rgba(16,97,238,.18), transparent 60%),
    radial-gradient(260px 180px at 80% 70%, rgba(27,123,233,.12), transparent 62%);
  filter: blur(18px);
  opacity:.55;
  pointer-events:none;
}

.pstep__card h3{
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.2px;
  color: rgba(11,16,32,.92);
  position: relative;
}

.pstep__card p{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  font-weight: 650;
  color: rgba(11,16,32,.68);
  position: relative;
}

/* Hover/Focus */
.pstep:hover .pstep__card,
.pstep:focus-within .pstep__card{
  transform: translateY(-3px);
  border-color: rgba(16,97,238,.26);
  box-shadow: 0 26px 86px rgba(6,44,170,.12);
}

/* Active state (اختياري من JS) */
.pstep.is-active .pstep__card{
  border-color: rgba(16,97,238,.34);
  box-shadow: 0 34px 110px rgba(6,44,170,.16);
}

.pstep.is-active .pstep__dot{
  box-shadow:
    0 24px 70px rgba(6,44,170,.18),
    inset 0 0 0 6px rgba(16,97,238,.10);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .psteps{
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    margin-top: 14px;
  }

  /* خط رأسي (يمين لأن RTL) */
  .psteps::before{
    top: 0;
    bottom: 0;
    left: auto;
    right: calc((var(--dot) / 2) - 1px);
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,
      rgba(16,97,238,0),
      rgba(16,97,238,.40),
      rgba(8,62,231,.28),
      rgba(16,97,238,.40),
      rgba(16,97,238,0)
    );
    opacity:.45;
  }

  .pstep{
    grid-template-rows: none;
    grid-template-columns: var(--dot) 1fr;
    align-items: start;
    gap: 12px;
  }

  .pstep__dot{
    margin-inline: 0;
  }
}

/* Reduced motion احترامًا لتفضيل المستخدم */
@media (prefers-reduced-motion: reduce){
  .pstep__card{ transition: none !important; }
  .pstep:hover .pstep__card,
  .pstep:focus-within .pstep__card{ transform: none !important; }
}



/* Pricing */
.pricing{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.priceCard{
  background:#fff;
  border:1px solid var(--br);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow2);
}
.priceCard h3{ margin:0 0 6px; font-size: 18px; }
.priceCard .tag{ margin:0 0 12px; color: var(--mut); font-weight: 800; font-size: 12.5px; }
.priceCard ul{ margin:0 0 14px; padding:0 18px 0 0; color: rgba(11,16,32,.72); line-height: 1.9; font-weight: 650; }
.priceCard.featured{
  border-color: rgba(16,97,238,.28);
  box-shadow: 0 22px 80px rgba(6,44,170,.14);
}

/* FAQ */
.faq{ margin-top: 16px; display:grid; gap: 10px; }
.faqItem{
  background:#fff;
  border:1px solid var(--br);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 12px 40px rgba(6,44,170,.06);
}
.faqItem summary{ cursor:pointer; font-weight: 900; color: rgba(11,16,32,.88); }
.faqItem p{ margin: 10px 0 0; color: rgba(11,16,32,.72); line-height: 1.9; font-weight: 650; }

/* CTA */
.sCta{
  padding: 64px 0;
  background:
    radial-gradient(900px 320px at 70% 20%, rgba(27,123,233,.22), transparent 60%),
    linear-gradient(135deg, rgba(16,97,238,.10), rgba(8,62,231,.06));
  border-top:1px solid rgba(16,97,238,.10);
}
.sCta__box{
  background:#fff;
  border:1px solid var(--br);
  border-radius:32px;
  padding:28px;
  box-shadow:var(--shadow);
  text-align:center;
}
.sCta__box h2{ margin:0 0 8px; }
.sCta__box p{ margin:0 0 16px; color:var(--mut); line-height:1.9; font-weight:650; }

/* Footer */
.footer{ border-top: 1px solid rgba(16,97,238,.10); padding: 18px 0; }
.footer__row{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: rgba(11,16,32,.70);
  font-weight: 700;
  font-size: 13px;
}
.footer__links{ display:flex; gap: 12px; }
.footer__links a:hover{ text-decoration: underline; }

/* Responsive */
@media (max-width: 980px){
  .sHero__grid{ grid-template-columns: 1fr; }
  .kpis{ grid-template-columns: 1fr; }
  .cards3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .sHero__copy h1{ font-size: 30px; }
}
