/*
 Theme Name: Neve Child
 Template: neve
*/

/* ============== المتغيرات العامة ============== */

:root{
  --max:1200px;
  --dark:#0b1f33;
  --muted:#667085;
  --primary:#22a3ff; /* سماء */
  --accent:#7a53ff;  /* بنفسجي */
  --green:#6dbf3a;   /* أشجار */
  --orange:#ffa21a;  /* عنوان */
  --soft:#f5f7fb;
  --radius:18px;
  --shadow:0 20px 50px rgba(11,31,51,.14);
}

html[lang="ar"] body{direction:rtl}
*{box-sizing:border-box}
body{
  font-family:'Cairo',system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:#101828;
  line-height:1.6;
  background:#fff;
}
img{max-width:100%; display:block}
.container{max-width:var(--max); margin-inline:auto; padding-inline:16px}
.nv-content-wrap{padding:0}

/* ============== أزرار ============== */

.x-btn{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:12px 22px;
  border-radius:14px;
  text-decoration:none;
  cursor:pointer;
  transition:.25s;
  font-weight:800;
}
.x-btn--primary{
  background:linear-gradient(135deg, var(--primary), var(--accent));
  color:#fff;
  box-shadow:0 10px 24px rgba(34,163,255,.25);
}
.x-btn--primary:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(34,163,255,.32);
}
.x-btn--ghost{
  border:1px solid rgba(255,255,255,.88);
  color:#fff;
}
.x-btn--ghost:hover{background:rgba(255,255,255,.14)}
.x-shine{position:relative; overflow:hidden}
.x-shine:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.45) 50%, transparent 100%);
  transform:translateX(-120%);
  transition:transform .9s;
}
.x-shine:hover:before{transform:translateX(120%)}

/* ============== HERO ============== */

.x-hero{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:flex-end;
  color:#fff;
  overflow:hidden;
}
.x-hero__bg{
  position:absolute;
  inset:0;
  transform:translate(var(--parx,0), var(--pary,0));
  transition:transform .08s linear;
}
.x-hero__media{
  width:100%;
  height:100%;
  object-fit:cover;
}
.x-hero__media--image{
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
}
.x-hero__media--fallback{
  width:100%;
  height:100%;
  background:radial-gradient(1100px 600px at 70% 20%, #39b7ff, #0c1f33);
}
.x-hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(12,31,51,.15) 0%,
    rgba(12,31,51,.55) 70%,
    rgba(12,31,51,.75) 100%
  );
}

/* Blobs + Particles */
.x-blob{
  position:absolute;
  filter:blur(40px);
  opacity:.35;
  mix-blend:screen;
}
.x-blob--a{
  width:380px;
  height:380px;
  border-radius:50%;
  background:#2e9bff;
  left:-120px;
  top:10%;
  animation:blobA 14s ease-in-out infinite;
}
.x-blob--b{
  width:300px;
  height:300px;
  border-radius:50%;
  background:#7a53ff;
  right:-100px;
  bottom:10%;
  animation:blobB 16s ease-in-out infinite;
}
@keyframes blobA{
  0%,100%{transform:translate(0,0)}
  50%{transform:translate(120px,40px) scale(1.06)}
}
@keyframes blobB{
  0%,100%{transform:translate(0,0)}
  50%{transform:translate(-110px,-30px) scale(1.07)}
}
.x-particles{
  position:absolute;
  inset:0;
  background:
    radial-gradient(2px 2px at 20% 30%, #ffffffaa 40%, transparent 42%),
    radial-gradient(2px 2px at 80% 20%, #ffffffaa 40%, transparent 42%),
    radial-gradient(1.5px 1.5px at 60% 70%, #ffffffaa 40%, transparent 42%),
    radial-gradient(1.5px 1.5px at 35% 60%, #ffffffaa 40%, transparent 42%);
  opacity:.22;
  animation:twinkle 6s linear infinite;
}
@keyframes twinkle{
  0%,100%{opacity:.22}
  50%{opacity:.42}
}

/* محتوى الهيرو */
.x-hero__content{
  position:relative;
  z-index:2;
  width:100%;
}
.x-hero__content--low{
  padding:26px 16px 42px;
}
.x-badge{
  display:inline-flex;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(12,31,51,.72);
  font-size:12px;
  margin-bottom:8px;
}
.x-title-min{
  font-size:clamp(22px,3.8vw,38px);
  margin:0 0 10px;
  line-height:1.1;
  text-shadow:0 6px 22px rgba(0,0,0,.35);
}
.x-hero-sub{
  margin:0 0 12px;
  max-width:520px;
}
.x-cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.x-guarantee-min{
  margin-top:8px;
  font-size:14px;
  opacity:.9;
}

/* ============== رسومات الخلفية ============== */

.bg-doodles{position:absolute; inset:0; pointer-events:none}
.bg-doodles .d{
  position:absolute;
  width:18px;
  height:18px;
  border-radius:50%;
}
.d-1{background:#fff8; left:8%;  top:20%;  animation:float 7s ease-in-out infinite}
.d-2{background:#ffa21a88; left:35%; top:12%; animation:float 10s ease-in-out infinite .5s}
.d-3{background:#22a3ff88; left:70%; top:18%; animation:float 8s ease-in-out infinite .2s}
.d-4{background:#6dbf3a88; left:15%; bottom:18%; animation:float 9s ease-in-out infinite}
.d-5{background:#7a53ff88; left:55%; bottom:12%; animation:float 11s ease-in-out infinite .3s}
.d-6{background:#fff8; right:6%; top:35%; width:12px; height:12px; animation:float 6s ease-in-out infinite .7s}
@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-14px)}
}

/* فواصل موجية */
.wave-sep{
  position:relative;
  height:44px;
  background:
    radial-gradient(60px 22px at 10% 0, #fff 48%, transparent 50%),
    radial-gradient(60px 22px at 30% 0, #fff 48%, transparent 50%),
    radial-gradient(60px 22px at 50% 0, #fff 48%, transparent 50%),
    radial-gradient(60px 22px at 70% 0, #fff 48%, transparent 50%),
    radial-gradient(60px 22px at 90% 0, #fff 48%, transparent 50%);
  opacity:.95;
}
.wave-sep--light{
  background:
    radial-gradient(60px 22px at 10% 0, #f7fbff 48%, transparent 50%),
    radial-gradient(60px 22px at 30% 0, #f7fbff 48%, transparent 50%),
    radial-gradient(60px 22px at 50% 0, #f7fbff 48%, transparent 50%),
    radial-gradient(60px 22px at 70% 0, #f7fbff 48%, transparent 50%),
    radial-gradient(60px 22px at 90% 0, #f7fbff 48%, transparent 50%);
}

/* خطوط خلفية متحركة */
.with-lines{
  position:relative;
  overflow:hidden;
}
.with-lines:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:repeating-linear-gradient(
    115deg,
    rgba(34,163,255,.08) 0 14px,
    transparent 14px 34px
  );
  transform:translateX(0);
  animation:lines 18s linear infinite;
  pointer-events:none;
}
@keyframes lines{
  0%{transform:translateX(0)}
  100%{transform:translateX(60px)}
}

/* نقاط ديكورية */
.deco-dots{position:relative}
.deco-dots:after{
  content:"";
  position:absolute;
  inset:auto 8% 8% auto;
  width:140px;
  height:140px;
  background:
    radial-gradient(3px 3px at 14px 16px, rgba(34,163,255,.22) 50%, transparent 52%),
    radial-gradient(3px 3px at 54px 56px, rgba(122,83,255,.22) 50%, transparent 52%),
    radial-gradient(3px 3px at 94px 26px, rgba(255,162,26,.24) 50%, transparent 52%);
  filter:blur(.2px);
  opacity:.7;
}

/* ============== WHY (مميّزات القصة) ============== */

.x-why{
  background:#fff;
  padding:60px 0;
}
.x-center{text-align:center}
.x-section-sub{
  margin:2px 0 20px;
  color:var(--muted);
}
.x-why__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:18px;
}
.x-card{
  position:relative;
  background:radial-gradient(220% 200% at 0% 0%, #f7fbff 0, #ffffff 45%, #f9fafb 100%);
  border-radius:18px;
  padding:18px 16px 18px;
  box-shadow:0 18px 45px rgba(15,35,52,.12);
  overflow:hidden;
  transform:translateY(16px) scale(.98);
  opacity:0;
  transition:.5s cubic-bezier(.19,.7,.23,1), box-shadow .3s;
  border-top:3px solid rgba(34,163,255,.55);
}
.x-reveal.in .x-card{
  opacity:1;
  transform:translateY(0) scale(1);
}
.x-card:nth-child(2){transition-delay:.08s}
.x-card:nth-child(3){transition-delay:.16s}
.x-card:before{
  content:"";
  position:absolute;
  inset:-40% auto auto -40%;
  width:180px;
  height:180px;
  border-radius:999px;
  background:radial-gradient(circle at 30% 30%, rgba(34,163,255,.16), transparent 60%);
  opacity:.7;
}
.x-card:hover{
  box-shadow:0 26px 60px rgba(10,35,70,.22);
  transform:translateY(-4px) scale(1.01);
}
.x-ico{
  position:relative;
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
  background:conic-gradient(from 180deg, #22a3ff, #7a53ff, #ffa21a, #22a3ff);
  box-shadow:0 10px 24px rgba(34,163,255,.25);
  color:#fff;
  font-size:22px;
}
.x-card h3{
  position:relative;
  margin:0 0 6px;
  color:#0f2b44;
}
.x-card p{
  position:relative;
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* ============== INSIDE BOOK ============== */

.x-inside{padding:60px 0; background:#fdfdfd}
.x-inside__wrap{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:center;
}
.x-inside__text h2{margin:0 0 10px; color:var(--dark)}
.x-note-quiet{margin-top:8px; color:var(--muted); font-size:14px}

/* صور المنتج / البلايسهولدر */

.x-product-figure{
  margin:0;
  max-width:480px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
  position:relative;
}
.x-product-figure img{
  width:100%;
  display:block;
  transform:translateY(0);
  transition:transform .4s ease;
}
.x-product-figure:hover img{transform:translateY(-6px)}
.x-product-figure:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:40%;
  background:radial-gradient(80% 80% at 50% 100%, rgba(0,0,0,.18), transparent 70%);
  opacity:.35;
}
.x-product-figure--tilt{
  transform:rotate(-3deg);
}
.x-product-figure--tilt:hover{
  transform:rotate(-1deg);
}
.x-product-placeholder{
  max-width:420px;
  border-radius:18px;
  border:2px dashed #cbd2e0;
  padding:40px 20px;
  text-align:center;
  color:var(--muted);
  font-size:15px;
}

/* ============== STEPS (كيف تستخدم القصة) ============== */

.x-steps{
  padding:56px 0;
  background:linear-gradient(180deg,#f7fbff,#ffffff);
}
.x-steps__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:18px;
}
.x-step{
  position:relative;
  background:#fff;
  border-radius:18px;
  padding:18px 16px 18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.x-step__num{
  width:32px;
  height:32px;
  border-radius:50%;
  background:#0b1f33;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  margin-bottom:8px;
}
.x-step h3{
  margin:0 0 6px;
  color:#0f2b44;
}
.x-step p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* ============== PRODUCT ============== */

.x-product{
  background:linear-gradient(180deg,#f7fbff,#eaf4ff);
  padding:60px 0;
}
.x-product__wrap{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:center;
}
.x-product__text h2{margin:0 0 10px; color:var(--dark)}
.x-sublead{margin:0 0 10px; color:var(--muted)}
.x-bullets{
  margin:8px 0 16px;
  padding:0 18px 0 0;
  list-style:disc;
}
.x-bullets li{margin:6px 0}
.x-bullets i{margin-left:4px; color:var(--primary)}
.x-trust{margin-top:12px; color:var(--muted); font-size:14px}

/* ============== TESTIMONIALS (سلايدر تلقائي) ============== */

.x-testimonials{
  padding:60px 0;
  background:#fff;
}
.x-test__strip{
  position:relative;
  max-width:520px;
  margin:16px auto 0;
  min-height:180px;
}
.x-test__card{
  position:absolute;
  inset:0;
  opacity:0;
  transform:translateY(10px) scale(.98);
  transition:.45s ease;
  background:#fff;
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:16px 18px 18px;
}
.x-test__card.active{
  opacity:1;
  transform:translateY(0) scale(1);
  z-index:2;
}
.x-stars{
  color:#ffc32a;
  margin-bottom:6px;
  font-size:13px;
}
.x-test__card p{
  margin:0 0 10px;
  color:#111827;
}
.x-test__name{
  font-size:13px;
  color:var(--muted);
}

/* ============== FAQ ============== */

.x-faq{padding:56px 0; background:#fff}
.faq-teaser{margin:2px 0 16px; color:var(--muted)}
.x-acc__item{
  background:#fff;
  border-radius:14px;
  box-shadow:var(--shadow);
  margin-bottom:10px;
  overflow:hidden;
}
.x-acc__q{
  width:100%;
  text-align:inherit;
  padding:14px 16px;
  background:#fff;
  border:0;
  font-weight:800;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.x-acc__q .chev{transition:transform .2s}
.x-acc__q.open .chev{transform:rotate(180deg)}
.x-acc__a{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
}
.x-acc__a p{
  padding:0 16px 14px;
  margin:0;
  color:var(--muted);
}

/* ============== CTA ============== */

.x-cta{
  padding:56px 0;
  background:linear-gradient(180deg,#f7fbff,#eaf4ff);
}
.x-note{margin-top:6px; color:var(--muted)}

/* ============== FOOTER BAR ============== */

.x-footerbar{
  background:#0c1f33;
  color:#cfe7ff;
  padding:14px 0;
}
.x-footerbar__wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.x-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  opacity:.9;
  transition:.2s;
  text-decoration:none;
  margin-inline:4px;
}
.x-social a:hover{
  background:rgba(255,255,255,.12);
  transform:translateY(-2px);
}
.x-rights{font-size:14px}

/* ============== Reveal scroll animation ============== */

.x-reveal{
  opacity:0;
  transform:translateY(22px);
  transition:.55s cubic-bezier(.2,.6,.2,1);
}
.x-reveal.in{
  opacity:1;
  transform:translateY(0);
}

/* ============== Responsive ============== */

@media (max-width:980px){
  .x-why__grid{grid-template-columns:1fr 1fr}
  .x-inside__wrap,
  .x-product__wrap{grid-template-columns:1fr}
  .x-steps__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .x-why__grid{grid-template-columns:1fr}
  .x-steps__grid{grid-template-columns:1fr}
  .x-hero{min-height:64vh}
  .x-footerbar__wrap{
    flex-direction:column;
    text-align:center;
  }
}


/* ========== ULTIMATE LANDING TWEAKS (ضعه في آخر الملف) ========== */

/* why section – كروت احترافية مع أنيميشن */
.x-why{
  background:#fff;
  padding:70px 0 60px;
}
.x-why__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:22px;
  margin-top:26px;
}
.x-card{
  position:relative;
  background:radial-gradient(140% 170% at 0% 0%, #f7fbff 0, #ffffff 45%, #f9fafb 100%);
  border-radius:22px;
  padding:22px 18px 22px;
  box-shadow:0 24px 70px rgba(15,35,52,.16);
  border-top:3px solid rgba(34,163,255,.65);
  overflow:hidden;
  opacity:0;
  transform:translateY(24px) scale(.96);
  animation:xFadeUp .7s ease-out forwards;
}
.x-card:nth-child(2){animation-delay:.15s}
.x-card:nth-child(3){animation-delay:.3s}
.x-card:before{
  content:"";
  position:absolute;
  inset:-40% auto auto -40%;
  width:190px;
  height:190px;
  border-radius:999px;
  background:radial-gradient(circle at 30% 30%, rgba(34,163,255,.2), transparent 60%);
  opacity:.7;
}
.x-card:hover{
  transform:translateY(-4px) scale(1.01);
  box-shadow:0 30px 80px rgba(10,35,70,.22);
}
.x-ico{
  position:relative;
  width:46px;
  height:46px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
  background:conic-gradient(from 180deg,#22a3ff,#7a53ff,#ffa21a,#22a3ff);
  box-shadow:0 10px 26px rgba(34,163,255,.25);
  color:#fff;
  font-size:24px;
}
.x-card h3{
  position:relative;
  margin:0 0 6px;
  color:#0f2b44;
}
.x-card p{
  position:relative;
  margin:0;
  color:#667085;
  font-size:14px;
}

/* inside section – ترتيب الصورة + النص */
.x-inside{
  padding:70px 0 60px;
  background:#fdfdfd;
}
.x-inside__wrap{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:26px;
  align-items:center;
}
.x-inside__media{
  display:flex;
  justify-content:center;
}
.x-product-figure{
  margin:0;
  max-width:520px;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 26px 70px rgba(15,35,52,.18);
}
.x-product-figure img{
  width:100%;
  transform:translateY(0);
  transition:transform .45s ease;
}
.x-product-figure:hover img{
  transform:translateY(-8px);
}

/* steps – نخليها كروت مع أنيميشن مثل الـ why */
.x-steps{
  padding:70px 0 60px;
  background:linear-gradient(180deg,#f7fbff,#ffffff);
}
.x-steps__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:20px;
  margin-top:24px;
}
.x-step{
  position:relative;
  background:#ffffff;
  border-radius:20px;
  padding:20px 18px 20px;
  box-shadow:0 22px 60px rgba(15,35,52,.12);
  overflow:hidden;
  opacity:0;
  transform:translateY(24px) scale(.96);
  animation:xFadeUp .7s ease-out forwards;
}
.x-step:nth-child(2){animation-delay:.15s}
.x-step:nth-child(3){animation-delay:.3s}
.x-step__num{
  width:34px;
  height:34px;
  border-radius:50%;
  background:#0b1f33;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  margin-bottom:8px;
}
.x-step h3{
  margin:0 0 6px;
  color:#0f2b44;
}
.x-step p{
  margin:0;
  color:#667085;
  font-size:14px;
}

/* testimonials – سلايدر أوتوماتيك بـ CSS فقط */
.x-testimonials{
  padding:70px 0 70px;
  background:#fff;
}
.x-test__strip{
  position:relative;
  max-width:540px;
  margin:26px auto 0;
  min-height:190px;
}
.x-test__card{
  position:absolute;
  inset:0;
  background:#ffffff;
  border-radius:20px;
  padding:18px 18px 20px;
  box-shadow:0 24px 70px rgba(15,35,52,.16);
  opacity:0;
  transform:translateY(22px) scale(.96);
  animation:xTestCycle 20s infinite;
}
.x-test__card:nth-child(1){animation-delay:0s}
.x-test__card:nth-child(2){animation-delay:5s}
.x-test__card:nth-child(3){animation-delay:10s}
.x-test__card:nth-child(4){animation-delay:15s}
.x-test__card:only-child{
  position:relative;
  animation:none;
  opacity:1;
  transform:none;
}
.x-stars{
  color:#ffc32a;
  margin-bottom:6px;
  font-size:13px;
}
.x-test__card p{
  margin:0 0 10px;
  color:#111827;
}
.x-test__name{
  font-size:13px;
  color:#667085;
}

/* FAQ – لمسات بسيطة */
.x-faq{
  padding:70px 0 60px;
}
.x-acc__item{
  border-radius:18px;
}

/* CTA الأخير */
.x-cta{
  padding:70px 0 70px;
}

/* footerbar – شوية تعديل شكل */
.x-footerbar{
  padding:16px 0;
}
.x-footerbar__wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.x-rights{font-size:14px}

/* أنيميشن عام */
@keyframes xFadeUp{
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}
/* دوران تلقائي للتستيمونيال */
@keyframes xTestCycle{
  0%,10%{
    opacity:0;
    transform:translateY(18px) scale(.96);
  }
  15%,35%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
  40%,100%{
    opacity:0;
    transform:translateY(-10px) scale(.98);
  }
}

/* ريسبونسيف */
@media(max-width:980px){
  .x-inside__wrap,
  .x-product__wrap{
    grid-template-columns:1fr;
  }
}
@media(max-width:600px){
  .x-why__grid,
  .x-steps__grid{
    grid-template-columns:1fr;
  }
}

